keepassxc-browser icon indicating copy to clipboard operation
keepassxc-browser copied to clipboard

Have to Keep Connecting to Database

Open ThePapaw opened this issue 2 months ago • 24 comments

Have you searched for an existing issue?

  • [x] Yes, I tried searching and reviewed the pinned issues

Brief Summary

Using portable version. After updating to latest version (v1.9.11), I am continuously having to re-connect to database in the Chromium based browsers. Tried bot Brave and Helium

Expected Versus Actual Behavior

No response

Steps to Reproduce

Install extension in Helium browser

KeePassXC-Browser Debug Information

KeePassXC - 2.7.11
KeePassXC-Browser - 1.9.11
Operating system: Win64
Browser: Chrome/Chromium 142.0.0.0

ThePapaw avatar Nov 30 '25 13:11 ThePapaw

Please add any log messages from both content and background scripts.

varjolintu avatar Nov 30 '25 13:11 varjolintu

I have the same problem, where can I find the logs?

cube79 avatar Dec 01 '25 05:12 cube79

https://github.com/keepassxreboot/keepassxc-browser/wiki/HowTo:-Special-situations-and-debugging

varjolintu avatar Dec 01 '25 08:12 varjolintu

I found my issue, it was a (new maybe?) setting under Security: "Lock database after inactivity"

ThePapaw avatar Dec 01 '25 09:12 ThePapaw

I'm locking my databases o locksreen, and I would like to keep it that way. @varjolintu attached you will find the log from the console. If you need something, could you be more specific what shall I get out of there?

console-1764583408598.log

cube79 avatar Dec 01 '25 10:12 cube79

It's a known issue on KeePassXC side: https://github.com/keepassxreboot/keepassxc/issues/9880

varjolintu avatar Dec 01 '25 10:12 varjolintu

Are you sure this is the same? I cannot Connect the database again in the browser. After Vivialdi restart it comes back

Image

cube79 avatar Dec 01 '25 10:12 cube79

Hmm. Maybe it's not the same then. Gotta test this myself.

varjolintu avatar Dec 01 '25 11:12 varjolintu

if you need any more info/logs, don't hesitate to ask. I'll do my best to help :-D

cube79 avatar Dec 01 '25 20:12 cube79

@cube79 So you are not using similar settings with the OP?

varjolintu avatar Dec 02 '25 04:12 varjolintu

This problem only occurs for me with the last update to 2.7.11. After reverting to 2.7.10 it's again working fine. I haven't changed any config settings. The only unusual factor is that I run multiple FireFox profiles, all connected to KeePassXC.

This bug renders the product almost unusable for me. I very much hope a fix will be forthcoming.

Pavarottii avatar Dec 02 '25 18:12 Pavarottii

@Pavarottii Anything in the logs?

varjolintu avatar Dec 02 '25 18:12 varjolintu

I was not even aware that KeePassXC logged events. Please tell me where to find this (on Windows 10), assuming that my delete/reinstall to 2.7.10 wouldn't have erased them.

Pavarottii avatar Dec 02 '25 18:12 Pavarottii

I was not even aware that KeePassXC logged events. Please tell me where to find this (on Windows 10), assuming that my delete/reinstall to 2.7.10 wouldn't have erased them.

Just look at the previous messages. https://github.com/keepassxreboot/keepassxc-browser/issues/2785#issuecomment-3595200663

varjolintu avatar Dec 02 '25 18:12 varjolintu

I very much appreciate your post, but I don't see how looking at an arbitrary FireFox tab today could help shed light on a problem from last week, using a since-removed version.

In any case, it seems from ThePapaw that there's been a change in the way the "Lock database after inactivity" setting is interpreted. I can assure you that it never used to trigger, and that it does so repeatedly under 2.7.11.

Pavarottii avatar Dec 02 '25 19:12 Pavarottii

Go into application settings, security tab, disable auto locking if you dont want it enabled. Simple.

droidmonkey avatar Dec 02 '25 19:12 droidmonkey

Thank you, droidmonkey. I can confirm that this setting is not checked when I use 7.2.10. I don't have the opportunity right now to update to 7.2.11 again, but there's now growing evidence that updating to 7.2.11 either introduces a problem with this setting, or turns it on uninvited. That should be enough for any developer to work with. IMHO.

Pavarottii avatar Dec 02 '25 19:12 Pavarottii

It was intentional to make it on by default. It is a common finding in security audits conducted on our software.

droidmonkey avatar Dec 02 '25 19:12 droidmonkey

So it was done on purpose? I guess that would be ok, as long as it was clearly documented in the release notes. I'm afraid that I didn't see that mentioned.

If I was responsible for any product with a user base the size of KeePassXC, I certainly wouldn't be making changes like this without giving a whole lot more thought to how users would handle the change. Disappointed that you guys don't have a bit more respect for your users' time.

Pavarottii avatar Dec 02 '25 19:12 Pavarottii

Screenshot_20251202_150332_GitHub.png

There is absolutely no need to be rude.

droidmonkey avatar Dec 02 '25 20:12 droidmonkey

You think that was rude? There I was thinking that I was being polite.

Allow me to rephrase. 900 seconds default is Completely Fucking Stupid.

And shows contempt for your users.

Better?

Pavarottii avatar Dec 02 '25 20:12 Pavarottii

@cube79 So you are not using similar settings with the OP?

What do you mean by OP?

I have check the following checkboxes in the security tab:

  • clear clipboard after 10s
  • lock databases after 900s
  • enable databases quick unlock with windows hello
  • lock databases when session is locked.

I'm thinking about unchecking the 900s, usually I'm by the computer and if I go away I lock it by standard.

I'm currently at hospital, so likely i'll be rather not very responsive....

cube79 avatar Dec 02 '25 21:12 cube79

@cube79 And does this setting have anything to do with the dialog with the Connect button?

varjolintu avatar Dec 03 '25 04:12 varjolintu

@cube79 And does this setting have anything to do with the dialog with the Connect button? I've been in the hospital. I'm slowly recovering and will let you know when I can work more on the computer.

cube79 avatar Dec 08 '25 21:12 cube79