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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
New browser - Firefox plugin forgets connection, reconnects and then errors. #49
Comments
Does the extension settings show a paired key in the Connected Databases tab when this situation is seen? |
Yes it does. There is always one key connected and working when it forgets. When you reconnect using the same name is suggests replacing the old one, but I end up with 2 valid keys with the same name in the list. |
Can you confirm that the entry KeepassXC-Browser Settings in your database has the same keys? |
There is only one key in the database against that identifier and it is the old key that should have been replaced already. The newer key (with the same identifier) in the list of keys in the plugin is not listed against KeepassXC-Browser Settings in the database at all. |
So am I correct that the following situation happens:
Can you confirm this is the exact sequence? |
Yes thank you for articulating better than I did. When 4. occurs it says it needs to be configured and I configure it again with the same identifier and it appears not to replace the old key in the db with the new one, but leaves the old one in place and works again. |
That's really strange. But I remember I've seen the same situation too many months ago, with an Ubuntu LTS release. I need to do some testing on my Arch box and try to reproduce this. |
Ok thanks. It also doesn't sound right that when the plugin suggests replacing the old key with the same id, that it just adds the new key to the list, with the old key, so there are two valid keys? |
This is not exclusive to Firefox, it happens in Chrome as well, both in Windows and Linux. From my post in #55:
OS: Windows 10 Home 1709 EDIT: Sigh, upgrading Chrome seemed to have solved the issue somehow. EDIT 1: Update: #59 has the same issue. On Linux (Fedora 27, Firefox 58.0.2 64-bit, KeepassXC 2.3.1 AppImage, KeepassXC-Browser 1.0.1) I see the error Both browser's database keys match with the one in the database. But they don't seem to be able to communicate with the application. |
@dnlsrl Can you check if keepassxc-proxy.exe quits when this error happens? |
Hi! I'm seeing similar issues:
Symptoms:
Hopefully this helps with the issue. |
@mook-as Does the same happen with the latest Firefox release? I suppose you are using ESR. |
@varjolintu I'm using Firefox 59 and see the same behaviour. |
Please check the troubleshooting guide. |
@varjolintu Already did. What exactly should I do? |
Does it help if you remove the keys from the extension and from KeePassXC both and then try reconnect? |
No, nothing changed. |
Can confirm that killing keepassxc-proxy and reconnecting fixes the issue. Am on Firefox 59.0.2 on Arch Linux |
Please test if this still happens with KeePassXC 2.3.3 and KeePassXC-Browser 1.1.3. |
Seems to be better today as I didn't have to kill the proxy application. Had to do that a lot before the latest release(s). |
@varjolintu this can be closed now I think? |
@z3ntu You have something really strange going on there.. Could you try to delete all databases from the browser extension's settings and also delete KeePassXC-Browser Settings entry from your database so there's a clean slate. Then try to connect and associate your browser again. |
Did that and it works now again (without manually killing keepassxc-proxy). I'll tell you when it's broken again ;) |
I am also still getting disconnections, but am trying to isolate where the problem is for the moment.... |
@mannp Have you upgraded to KeePassXC 2.3.3 and KeePassXC-Browser 1.1.3? |
@varjolintu Yes I have, I am on the latest git from arch AUS and 1.1.3. I have resorted to leaving the 'plugins' tab open on firefox, so I can disable and reenable the plugin when it happens. That seems to resolve the issue for me, but its a pain, until the team have time to look further. |
@mannp Is keepassxc-proxy running when this situation happens? |
@varjolintu good question, not exactly sure, except I do have the option enabled to use a proxy application in the advanced settings. I assume that would be keepassxc-proxy as I have not setup any other. |
@mannp Yes, that means |
@varjolintu would disabling and reenabling the browser extension restart the proxy, as restarting the extension always seem to get me going again. |
@mannp It should do a restart, yes. But if the keepassxc-proxy quits for some reason, that behaviour is not good and we should solve why it happens. |
I have the same/a similar issue. I hope this is appropriate to add here:
Steps to reproduce:
Extra remark: on my work laptop I do not have this issue. (also Ubuntu 18.04, I expect all other versions also the same but I should double check tomorrow) |
@Humphreybas Try the same with 2.3.4. |
I also had problems with forgotten connections under Ubuntu 18.04 with Firefox. |
yeah that fixed it, I followed these steps: https://keepassxc.org/blog/2017-10-25-ubuntu-ppa/ after the ppa comment of pstorch |
@Humphreybas That is fixed in 2.4.0. The checkbox for disabling scheme match is broken in 2.3.4. You can use a newer snapshot build if you like. |
I believe this issue can be closed. |
Firstly, great job with the plugin 馃憤
Error message from keepassxc on pressing the plugin icon.
Pressing the 'Reload' button gives me the following error;
Expected Behavior
Connection is made and never forgotten until the connection is deleted by the user.
After being asked if I want to replace the connection with the same name, I should still only have one active connection showing in the connections section of the plugin.
I have two showing as active with the same name?
Current Behavior
I have successfully made a connection between keepassxc and the new plugin but after a while the plugin asks again to connect to keepassxc, even though the current one still exists.
I create another connection using the same connection name and it correct asks me if I want to overwite the previous one, to which I say yes.
I start using again, all is well until again it appears to lose connection and give me the above error.
Debug
Firefox Plugin:
KeePassXC-Browser Version: 1.0.1
KeePassXC Version: unknown
KeePassXC - Version 2.3.0-snapshot
Build Type: Snapshot
Revision: a06e85f
Libraries:
Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 4.15.6-1-ARCH
Enabled extensions:
The text was updated successfully, but these errors were encountered: