kee-org / KeeFox

Legacy browser and XUL application integration with KeePass Password Safe. See https://github.com/kee-org/browser-addon for the new version for Firefox 57+
https://forum.kee.pm
418 stars 48 forks source link

KeeFox gets signed out of KeePass during database synchronization. #782

Closed darzur closed 7 years ago

darzur commented 7 years ago

Hi, It happened just today after computer restart due to W10 update. Now every time KeePass synchronizes local database with Dropbox account KeeFox gets logged out. I'm working on local database, but after every change it's synchronized with Dropbox. When I disable this synchronization everything seems to be working as usual.

darzur commented 7 years ago

Just checked and it happens not only when synchronizing with Dropbox, but during synchronization in general.

darzur commented 7 years ago

Still not resolved after update to 1.7.0. I'm wondering if I'm only one with this problem...

vanowm commented 7 years ago

Same issue with Google Sync plugin, if auto sync enabled, KeeFox doesn't see when KeePass is logged in, when auto sync disabled, KeeFox works fine until Google Sync manually run.

Windows 10 x64, Firefox/Waterfox 55.0.2 x64, KeePass 2.36, KeeFox 1.7.0/1.7.2b1 Debug logging doesn't show anything abnormal. Restarting browser doesn't change anything, therefor it seem the problem is in KeePassRPC plugin

vanowm commented 7 years ago

KeeFox v1.7.2 with KeePassRPC v1.7.3 seems to work fine now.

I'm not sure what exactly fixed it, but I did uninstall KeeFox and remove all left over settings. Updated KeePassRPC plugin from here Then I disabled auto sync in google sync configuration, restarted KeePass, made sure KeeFox worked, then enabled google auto sync and it still works fine.

darzur commented 7 years ago

Hi,

What do you mean by removing all leftover settings of KeeFox? I've uninstalled it and then installed again but it remembers all my setting so I guess I should delete something more...

darzur commented 7 years ago

Hi,

What do you mean by removing all leftover settings of KeeFox? I've uninstalled it and then installed again but it remembers all my setting so I guess I should delete something more...

vanowm commented 7 years ago

After uninstall of KeeFox, go to about:config and type in the filter field: keefox It should show you bunch of settings, right click on each one of them that has @ in it's name and select "Reset" (make sure you don't touch settings without the @ character!)

darzur commented 7 years ago

Did that but it didn't helped in my case. Every time KeePass syncs it's database KeeFox gets logged out.

vanowm commented 7 years ago

But did you disable auto sync in KeePass? (also which sync plugin do you use?)

darzur commented 7 years ago

Well, If I disable syncing then there is no point of this issue as it logs out only during syncing. BTW. I have auto syncing disabled, but occasionally have to sync manually and then it logs out. I don't use any sync plugin - my DB is synced with local OneDrive folder. Below is my sync config - it's pretty simple:

2017_09_16

vanowm commented 7 years ago

I just tested it on a fresh Windows, fresh Firefox and fresh KeePass/KeeFox (KeePassRPC was installed by KeeFox itself) with new database. Everything works fine. This suggests that it's probably something on KeePass end or in database settings even. At the moment I can't even reproduce this issue anymore...

darzur commented 7 years ago

Might be something with database as same thing happens on another (portable) instances of FF an KeePass. Will try to create new database for testing

darzur commented 7 years ago

And it's it. Created new database and everything works as it should. Is there any way to debug what might be a problem? I cant just delete this database and start over from scratch..

vanowm commented 7 years ago

You could try export it and then import.

darzur commented 7 years ago

Did that and everything is working again. :) Thanks for this tip. Its unbelievable that I was fighting with that for almost half year and solution was so close...

JoeSz commented 6 years ago

Same here! Thanks for the heads up 👍