-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Extension fails to connect to database after first successful connection #277
Comments
And all this time KeePassXC is open in the background? Could you check what happens to the keepassxc-proxy.exe when you close Firefox? Also, does upgrading to KeePassXC 2.3.4 help? |
Yes, KeePassXC is open in the background. It's also unlocked. Interesting thing is, I upgraded to KeePassXC 2.3.4 and it immediately worked. Connection was established, and the extension worked even after restarting Firefox multiple times. However, upon reboot of my computer, the extension ceased to work again. I checked the console, and the same 4 error messages from above keep appearing. |
This would need further debugging. Of course you can try to delete KeePassXC-Browser entry totally from the database, and remove all databases from the browser extension side too. Then try again. (I'm unable to test anything under Windows at this point, but I'll do it when I can) |
So I've found another weird behaviour accidentally.
If KeePassXC is running in the background before Firefox is opened, then the extension's connect button fails and unlocking the database in KeePassXC does nothing. "Cannot decrypt message" pops up in the extension if I try this. |
i find the same thing in windows 10 on chrome 69. |
@pcoombe |
This seems to have been fixed, and behaviour has been normal for the past few months. |
Expected Behavior
The extension connects to an unlocked database, and continues to do so even after the browser restarts or the computer restarts.
Current Behavior
The extension behaves as expected immediately following successful installation from the Mozilla add-ons page, but then breaks once the browser is closed. Upon a restart of the browser, the extension will be stuck saying that it has not been configured, even though it has been successfully configured already. The connect button has no effect.
Possible Solution
Since the extension works perfectly if the browser is not closed, perhaps it has something to do with how read and write or connection permissions are being handled.
The extension's settings page shows my database as connected, but the extension isn't recognizing that.
Perhaps it may also have something to do with the proxy application not establishing a connection or not starting properly?
Steps to Reproduce (for bugs)
Debug info
Console output:
Each time I open the extension's menu, I get:
If I click on "Connect", I get:
These error messages are repeated if I continue to click on the button or open the extension menu.
Toggling options inside KeepassXC such as browser integration on or off, or use a proxy on or off has no effect. I have also tried running the keepassxc-proxy.exe manually, but it opens a blank command prompt window and does nothing.
KeePassXC - 2.3.3
keepassxc-browser - 1.2.0
Operating system: Windows 10 1803
Browser: Firefox 62.0b20
No internet connection proxy is being used, but "use a proxy application" in KeepassXC is enabled.
The text was updated successfully, but these errors were encountered: