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

Persistent Error Message: Could not open from remote, using offline cached version #326

Open
Dellow1 opened this issue Jan 20, 2022 · 5 comments

Comments

@Dellow1
Copy link

Dellow1 commented Jan 20, 2022

I store my database files on Dropbox. I have no problem setting up credentials for KeeAnywhere with Dropbox, and when I press the connect button, it says it's successful. But when I start Keepass and enter my password, I always get the following error message:

KeeAnywhere Offline Cache:
Could not open from remote, using offline cached version:
dropbox:///G E/Apps/database.kdbx
The decryption operation failed, see inner exception.

This is truly frustrating as when I add new entries, they're just added to the cached version and not to the dropbox version that I access with multiple devices. Please help... otherwise a great plugin!

@Dellow1
Copy link
Author

Dellow1 commented Jan 20, 2022

With regard to the above comment, I have the latest version of the plugin and Keepass portable.

@leftdisconnected
Copy link

The configuration you describe appears to be correct. I also use Dropbox with a portable copy of KeePass and KeeAnywhere has worked reliably for me for years.

I've not seen the "The decryption operation failed, see inner exception" message before, but my searches suggest that this could be a .NET issue. Kyrodan or someone with expertise may need to help with this.

I found a similar issue mentioned in the KeePass Sourceforge discussions and quoting KeePass guru Paul's post here:

Have you tried ignoring certificate errors?

Tools > Options > Advanced
Scroll down to File Input/Output Connections
Select Accept invalid SSL certificates

I seriously doubt that this will solve your problem, but good luck. Please update with further details if possible, but I don't know how you could find more information about this failure.

@CanadianArtLee
Copy link

I get similar problems when trying to connect to my OneDrive stored kdbx files. Running KeePass 2.50 (64-bit) and KeeAnywhere 2.0.3. I can delete and add my cloud drive (OneDrive) successfully. However, when I go to open a file from it (File > Open > Open from Cloud Drive), I get an error message.
Error getting Root node. Exception: Object reference not set to an instance of an object.

@Dellow1
Copy link
Author

Dellow1 commented Jan 28, 2022 via email

@josfire18
Copy link

josfire18 commented Sep 8, 2022

I just wanted to add my experience:

I had the error "Object reference not set to an instance of an object" upon entering the password to my database (hosted on onedrive)

It would then say that it was unable to open the database file and was using a cached copy.

I went into KeeAnywhere settings and attempted to add another database, selecting the onedrive option.

It prompted for login and I authenticated.

It then said that there was already a onedrive account associated so it would just update account configuration.

Attempted to login afterwards, without error.

My assumption is my login became invalidated after so many months and it needed to be refreshed with a relogin. Password had not changed.

HTH!

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

4 participants