Open eplinux opened 1 year ago
This sounds very strange. The connection keys are still stored in your database after unlocking it again, and those match with the extension? Also, registry entries are intact etc? Are you using portable KeePassXC?
Hey @varjolintu , I'm using the normal version not the portable one. registry entry is intact, just checked again. the connection keys are always stored in the database and they match with the extension
And the .json script file is located at the path registry points to? This might have something to do with anti-virus or anti-malware software that prevents launching a new proxy or connecting to a new pipe.
Yes, it is
What happens if you start it manually? If you restart just your browser when the problem occurs, what happens?
I will try next time it occurs and then I'll let you know. If I remember correctly, I once restarted the browser and it started working again. Usually I restart Keepass, though.
That indicates that something may kill the keepassxc-proxy.exe
process. That causes the connection to fail. Next time when the problem occurs, see if that process is still running. Restarting the browser will also start a new proxy process.
You were right, @varjolintu . It is indeed the proxy that gets terminated at some point. After restart, it reappears as subprocess of firefox. In terms of antivirus software, I only use the built in Microsoft Defender, so quite ordinary. I don't know much about windows' process handling, but might it just be terminated after a while when it's been sitting idle for too long? or is this a firefox problem?
It shouldn't stop or terminate, unless Firefox does it for some reason. You are not sleeping or hibernating the computer? Could you verify if the process gets terminated when the auto-lock hits after timeout? Or does it happen randomly?
It seems to happen randomly but I feel like it mostly occurs after the computer went to sleep. I do use hibernation, though. However, in the last case, it occured after the computer went to energy saving mode (although that isn't always the case, yesterday it just worked fine throughout the day with several energy saving phases inbetween)
Sleep/Hibernation is a known issue in Windows. Somehow it disturbs the proxy and makes restarting it mandatory.
Update: Restarting Firefox doesn't work. I have to restart KeepassXC for the proxy to restart
That indicates the pipe KeePassXC creates doesn't stay active.
Hi, I had the same issue the last days, and today it was "magically" fixed.
I checked lot of places and traced the problem why the proxy was not starting.
One thing I did before I run the following steps: I deleted the .json
file for the tor browser. The debugger told me there was an issue finding it, but it was actually in the right place.
Afterwards following steps did the trick:
This worked for me.
I always shut down my PC, no hibernating/sleep, so it might be the order on when the applications start running from Windows boot.
Update: Problem still persisting even without hibernation. I became accustomed to manually restarting Keepass several times per day but it is quite an annoying bug.
Expected Behavior
After a while, KeepassXC locks the database automatically. Once I then reopen the database, the firefox addon should be able to reconnect to the database and provide login credentials.
Current Behavior
After a while, KeepassXC locks the database automatically. Once I then reopen the database, the firefox addon cannot connect to the database anymore. Sometimes it says that the key exchange was not possible. When I toggle the browser integration in the settings, the addon can reconnect again but does not fill in the credentials. Only solution is a restart of KeepassXC.
Possible Solution
Steps to Reproduce (for bugs)
Debug info
KeePassXC - 2.7.3 KeePassXC-Browser - 1.8.5.1 Operating system: Win/L Browser: Firefox