question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception: Proxy Authentication required

See original GitHub issue

KeePass Version 2.48.1 KeeAnyWhere Version 2.0.0.0

I am sitting behind a proxy server which actually requires no authentication. I have set up KeePass to use the manual proxy configuration, entered everything and chose No credentials as authentication method. This works for KeePass itself, for example when checking for updates.

Trying to continue using my KeeAnywhere profile from version 1 something, it tells me to reauthenticate:

---------------------------
KeePass
---------------------------
Connecting to this account failed!

Error loading discovery document: Error connecting to https://login.microsoftonline.com/consumers/v2.0/.well-known/openid-configuration. Fehler beim Senden der Anforderung..

Try to re-authorize in next step.
---------------------------
OK   
---------------------------

Then the “Authorize to OneDrive” dialog opens and immediately shows the exception dialog:

************** Ausnahmetext **************
System.Net.WebException: Der Remoteserver hat einen Fehler zurückgegeben: (407) Proxyauthentifizierung erforderlich.
   bei System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   bei System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)


************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4250.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll.
----------------------------------------
KeePass
    Assembly-Version: 2.48.1.16933.
    Win32-Version: 2.48.1.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass.exe.
----------------------------------------
System
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4200.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4250.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Configuration
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4190.0 built by: NET48REL1LAST_B.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Core
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4220.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Xml
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
KeeAnywhere
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.0.0.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/5k9JTH8JKGjIlgvBIPiB/KeeAnywhere.dll.
----------------------------------------
System.Net.Http.Primitives
    Assembly-Version: 4.2.29.0.
    Win32-Version: 4.2.29.0.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/5k9JTH8JKGjIlgvBIPiB/System.Net.Http.Primitives.DLL.
----------------------------------------
Newtonsoft.Json
    Assembly-Version: 12.0.0.0.
    Win32-Version: 12.0.3.23909.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/5k9JTH8JKGjIlgvBIPiB/Newtonsoft.Json.DLL.
----------------------------------------
Microsoft.Graph.Core
    Assembly-Version: 1.24.0.0.
    Win32-Version: 1.24.0.0.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/5k9JTH8JKGjIlgvBIPiB/Microsoft.Graph.Core.DLL.
----------------------------------------
System.Numerics
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll.
----------------------------------------
System.Runtime.Serialization
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4250.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll.
----------------------------------------
System.Data
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4261.0 built by: NET48REL1LAST_B.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll.
----------------------------------------
System.Security
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4261.0 built by: NET48REL1LAST_B.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll.
----------------------------------------
YetAnotherFaviconDownloader
    Assembly-Version: 1.2.4.0.
    Win32-Version: 1.2.4.0.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/ToHNccthBPp2SGkv8aIu/YetAnotherFaviconDownloader.dll.
----------------------------------------
KeePass.XmlSerializers
    Assembly-Version: 2.48.1.16933.
    Win32-Version: 2.48.1.16933.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass.XmlSerializers.DLL.
----------------------------------------
mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
Microsoft.Graph
    Assembly-Version: 3.24.0.0.
    Win32-Version: 3.24.0.0.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/5k9JTH8JKGjIlgvBIPiB/Microsoft.Graph.DLL.
----------------------------------------
System.Net.Http
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll.
----------------------------------------
IdentityModel.OidcClient
    Assembly-Version: 3.0.0.0.
    Win32-Version: 3.1.2.0.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/5k9JTH8JKGjIlgvBIPiB/IdentityModel.OidcClient.DLL.
----------------------------------------
IdentityModel
    Assembly-Version: 4.1.0.0.
    Win32-Version: 4.1.0.0.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/5k9JTH8JKGjIlgvBIPiB/IdentityModel.DLL.
----------------------------------------
Microsoft.Extensions.Logging
    Assembly-Version: 2.1.0.0.
    Win32-Version: 2.1.0.18136.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/5k9JTH8JKGjIlgvBIPiB/Microsoft.Extensions.Logging.DLL.
----------------------------------------
netstandard
    Assembly-Version: 2.0.0.0.
    Win32-Version: 4.8.4084.0.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll.
----------------------------------------
Microsoft.Extensions.Logging.Abstractions
    Assembly-Version: 2.1.0.0.
    Win32-Version: 2.1.0.18136.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/5k9JTH8JKGjIlgvBIPiB/Microsoft.Extensions.Logging.Abstractions.DLL.
----------------------------------------
Microsoft.Extensions.Options
    Assembly-Version: 2.1.0.0.
    Win32-Version: 2.1.0.18136.
    CodeBase: file:///C:/Users/deg3210/AppData/Local/KeePass/PluginCache/5k9JTH8JKGjIlgvBIPiB/Microsoft.Extensions.Options.DLL.
----------------------------------------
System.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
System.Net.Http.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http.resources/v4.0_4.0.0.0_de_b03f5f7f11d50a3a/System.Net.Http.resources.dll.
----------------------------------------

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
xwittycommented, May 18, 2021

I can confirm, that something changed in the way, KeeAnywhere uses the proxy configured in KeePass.

As with my company’s VPN activated, I am not allowed to access dropbox, I have a local proxy running accessing dropbox via my local infrastructure. Syncing with dropbox worked until upgrading to v2.0.0. After the upgrade, I still see “some” requests on my proxy, but obviously not all the traffic is routed through the proxy, as the connection to dropbox is no longer working 😦

1reaction
onclethomascommented, May 20, 2021

Hi guys,

been quiet a while, had no time to test. I tested latest build 2.0.1 right now. Had to remove my OneDrive profile and add it again. It works for me now! Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix HTTP Error 407 "Proxy Authentication Required"
The “407 Proxy Authentication Required” error occurs when the server is unable to complete a request. This happens due to a lack of ......
Read more >
What is a 407 Proxy Authentication Required
The 407 Proxy Authentication Required is an HTTP response status code indicating that the server is unable to complete the request because ...
Read more >
407 Proxy Authentication Required - HTTP status code ...
The 407 Proxy Authentication Required status code is used to indicate the authorization is required to access the requested resource through a ...
Read more >
The remote server returned an error: (407) Proxy ...
Proxy.Credentials = System.Net.CredentialCache. ... Had to to set the Credentials in two locations to get past the 407 error:
Read more >
How do I fix HTTP Error 407? [Step By Step]
Step 1: Check Proxy Settings. Open your web browser and go to the settings menu. · Step 2: Provide Authentication Credentials · Step...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found