dhaven / ProtonDriveSync

A keepass extension for storing Database files on ProtonDrive
30 stars 2 forks source link

Unable to initialize user keys: Value cannot be null. #3

Closed ghost closed 5 months ago

ghost commented 1 year ago

Hi, so whenever i log in it spits out this error and i cannot open files on drive. Screenshot 2023-09-27 070605

Extended error report shows this:

Unable to initialize user keys: Value cannot be null. Parameter name: source ProtonDriveSync at ProtonDriveSync.StorageProvider.ProtonAPI.d8.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 ProtonDriveSync.StorageProvider.ProtonDriveStorageProvider.d3.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 ProtonDriveSync.ProtonDriveSyncExt.d__8.MoveNext() Void MoveNext()

Thank you in advance for looking into this.

gerald2545 commented 1 year ago

Same error here with keepass 2.55 and last version of protondrivesync on Windows 10 pro

Unable to initialize user keys: La valeur ne peut pas être null.
Nom du paramètre : source
ProtonDriveSync
   à ProtonDriveSync.StorageProvider.ProtonAPI.<InitUserKeys>d__8.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à ProtonDriveSync.StorageProvider.ProtonDriveStorageProvider.<Init>d__3.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à ProtonDriveSync.ProtonDriveSyncExt.<OnShowSetting>d__8.MoveNext()
Void MoveNext()
minogon commented 8 months ago

Same error here with keepass 2.56 and last version 0.1.3 of ProtonDriveSync on Windows 11 pro 23H2

image

Unable to initialize user keys: Unable to refresh session: API response contains an error (10013) : Invalid refresh token

Cyb3544 commented 8 months ago

Same error here with keepass 2.56 and last version 0.1.3 on windows 10 22H2

image

retiredBob49 commented 7 months ago

Hi Guys, I ran into the same problem detailed by grenmel, and found that although proton will allow you to login with just your username, this plugin didn't work until I specified my full email address - username@protonmail.com, not just username. Works fine now.

dhaven commented 5 months ago

This has been fixed with release 0.1.4. You can now login with username or email address.