Giter Site home page Giter Site logo

Comments (14)

chriswendt1 avatar chriswendt1 commented on June 16, 2024 1

Excellent. @valilazarov, thanks for letting me know. I have checked in this change.
Your IT team can fix the problem by permitting the Azure domains in the proxy's firewall settings.

from documenttranslation.

chriswendt1 avatar chriswendt1 commented on June 16, 2024

Hi @valilazarov , thanks for the feedback. The VPN by itself should not do harm, but a firewall may be blocking access to the service URLs the client is using.
Can you add a description of what happened before the crash?

from documenttranslation.

valilazarov avatar valilazarov commented on June 16, 2024

The agent is just crashing without any logs or notification. I am running on Windows 11 and wanna give a second try on a different notebook. Is it possible to see any logs? Thanks for support!

from documenttranslation.

chriswendt1 avatar chriswendt1 commented on June 16, 2024

Log is in C:\Users\user\AppData\Roaming\Document Translation\doctrLog.txt
Can you enter and [Test] your credentials? Does the test pass?

from documenttranslation.

valilazarov avatar valilazarov commented on June 16, 2024

No logs available as file is not existing, the agent is crashing during testing...I suspect a VPN drop.

from documenttranslation.

chriswendt1 avatar chriswendt1 commented on June 16, 2024

Thanks.
Are you using Key Vault or entering complete credentials?
Please be as exact as possible:

  1. You enter your credentials (key vault or direct?) on the Settings page
    As far as you know, those are correct credentials.
  2. You press the [Test] button

App crashes.
Is that it?

from documenttranslation.

valilazarov avatar valilazarov commented on June 16, 2024

I am using the complete credentials - the correct one for sure. After pressing save and testing button the app crashes.

from documenttranslation.

chriswendt1 avatar chriswendt1 commented on June 16, 2024

@valilazarov Thanks. I'll have a look.

from documenttranslation.

chriswendt1 avatar chriswendt1 commented on June 16, 2024

Hi @valilazarov,

Can you run this command on the command line and see what happens?
doctr config test

image

I built an unsigned version that catches some additional exceptions in the test phase. Hopefully this will reveal something.
DocumentTranslationTest 1.0.2.1.zip

Let us know what you find.

from documenttranslation.

valilazarov avatar valilazarov commented on June 16, 2024

Hi @chriswendt1 - thanks a lot! The output is pointing to "Unhandled exception. System.Net.Http.HttpRequestException: The proxy tunnel request to proxy ...failed with status code '407'."" . My assumption was correct: the VPN is dropping the connections. I'll talk with the network team to allow the connections.

Thanks a lot for support!

from documenttranslation.

chriswendt1 avatar chriswendt1 commented on June 16, 2024

Thanks, @valilazarov . How did you find this? Did you have to run the updated Windows app, or was the command line enough to show you this message?

from documenttranslation.

valilazarov avatar valilazarov commented on June 16, 2024

@chriswendt1 , the command line was enough.

from documenttranslation.

chriswendt1 avatar chriswendt1 commented on June 16, 2024

Thanks a lot, @valilazarov .
Could you still do me a favor and run the above attached binary version 1.0.2.1 before you change the proxy?
I expect it to not crash and instead display the proxy failure 407 message in the status bar.

from documenttranslation.

valilazarov avatar valilazarov commented on June 16, 2024

Indeed. The proxy failure 407 is showned in the status bar after the update to 1.0.2.1. @chriswendt1, great job!

from documenttranslation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.