Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with google drive #121

Closed
dariocdj opened this issue Feb 2, 2018 · 9 comments
Closed

Doesn't work with google drive #121

dariocdj opened this issue Feb 2, 2018 · 9 comments

Comments

@dariocdj
Copy link

dariocdj commented Feb 2, 2018

After giving permission it returns with "Authentication failed!"

@marcorichetta
Copy link

Can you specifiy where are you receiving that error?
I followed the steps here https://github.com/Kyrodan/KeeAnywhere/wiki/Getting-Started#usage and I was able to add my Google account and save my DB in GDrive.

@dariocdj
Copy link
Author

dariocdj commented Feb 7, 2018

"In this dialog click on Add... and chose your Cloud Provider from the drop-down list"...choosing google drive, putting the right password, keepass respond (and not gdrive) auth failed...

@ucerotk
Copy link

ucerotk commented Jun 4, 2018

Hi,

Look in the Plugins directory if you have a file called KeeAnywhere.dll. If you have it, close keepass, delete this file, and try again, opening Keepass and connecting to the google drive account.

Saludos

@Kyrodan
Copy link
Owner

Kyrodan commented Oct 19, 2018

Maybe a proxy issue? If you use a proxy, please check out https://github.com/Kyrodan/KeeAnywhere/wiki/Advanced-Topics#using-a-proxy

Please also try the recently released v1.5.1 which contains a fix for better handling slow connections/long running up-/downloads.

@iliyesku
Copy link

iliyesku commented Oct 19, 2018

image

Authentication failed!

An error occurred while sending the request.
Google.Apis.Core
   at Google.Apis.Http.ConfigurableMessageHandler.<SendAsync>d__59.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Google.Apis.Auth.OAuth2.Requests.TokenRequestExtenstions.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow.<FetchTokenAsync>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow.<ExchangeCodeForTokenAsync>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at KeeAnywhere.StorageProviders.GoogleDrive.GoogleDriveStorageConfigurator.<Claim>d__c.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at KeeAnywhere.OAuth2.OAuth2Form.<OnNavigated>d__3.MoveNext()
Void MoveNext()


Inner:
The remote server returned an error: (407) Proxy Authentication Required.
System
   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
System.IO.Stream EndGetRequestStream(System.IAsyncResult, System.Net.TransportContext ByRef)

but all works well on v1.4.1 kp2.39.1
using system/manual proxy settings does not solve this

@Kyrodan
Copy link
Owner

Kyrodan commented Oct 19, 2018

Hmm, interesting. I haven't change anything for Proxy-Settings in 1.5.x. If it works in 1.4.1 it should work in 1.5.0/.1, too.

Will double-check, whether Google-Api has changed (and/or KeePass itself).

@MrSnooze
Copy link

MrSnooze commented May 2, 2019

Hello I realized the same problem after updating from KeePass version 2.39.1 and KeeAnywhere-1.4.1.plgx to any newer version. Today I installed angain both mentioned versions and the opening / saving from GoogleDrive works fine again. I use the same proxy.

With KeePass-2.42 and KeeAnywhere-1.5.1 I get following msg:
Authentication failed!

Fehler beim Senden der Anforderung.
Google.Apis.Core
bei Google.Apis.Http.ConfigurableMessageHandler.d__59.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Google.Apis.Auth.OAuth2.Requests.TokenRequestExtenstions.d__0.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow.d__35.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow.d__30.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei KeeAnywhere.StorageProviders.GoogleDrive.GoogleDriveStorageConfigurator.d__c.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei KeeAnywhere.OAuth2.OAuth2Form.d__3.MoveNext()
Void MoveNext()

Please review.
Thanks René

@MrSnooze
Copy link

MrSnooze commented Aug 5, 2019

Hmm, interesting. I haven't change anything for Proxy-Settings in 1.5.x. If it works in 1.4.1 it should work in 1.5.0/.1, too.

Will double-check, whether Google-Api has changed (and/or KeePass itself).

Hello,

did you found time for double checking?
We still got the same problem.
With the new versions it shows the Authentication failed thing.

@Kyrodan
Copy link
Owner

Kyrodan commented Nov 29, 2019

Maybe duplicate of #123 .

@Kyrodan Kyrodan closed this as completed Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants