keepassxreboot / keepassxc-browser

KeePassXC Browser Extension
GNU General Public License v3.0
1.78k stars 188 forks source link

KeePassXC-Browser extension can't connect to KeepassXC database. #2338

Closed hopeholdings closed 2 months ago

hopeholdings commented 2 months ago

KeePassXC set up on desktop. Installed KeypassXC-Browser extension https://chromewebstore.google.com/detail/keepassxc-browser/oboonakemofpalcgghocfoadofidjkkk but it will not connect to database. Tried reinstalling several times, restarting Brave but still will not connect. Works in another Chromium based browser, albeit it slightly spotty autofills and usually requires closing and reopening browser but mostly works.

image

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Debug info

KeePassXC - {2.7.9}

KeePassXC-Browser - {1.9.3} Operating system: Linux with PopOS Browser: Brave

varjolintu commented 2 months ago

Make sure Brave is not installed as Flatpak, and enable Chrome and/or Chromium support in KeePassXC. This is a common issue, and many related ones should've be found using the search.

hopeholdings commented 2 months ago

I don't know what flatpack is and I am not going to bother looking. I installed Brave the same way I installed Vivaldi - from the Pop Shop. And Brave and Chromium and Vivaldi are all enabled, which you should've understood by my reporting that it works in Vivaldi. None of the things you listed are the cause unless for some reason Pop Shop loads brave differently than Vivaldi. Thanks anyway...

varjolintu commented 2 months ago

Yes.. But did you enable the support for Chrome and Chromium in KeePassXC? Sometimes Brave uses those configuration paths instead of its own ones.

I have no idea about Pop Shop, but according to this page there might be an option to install Flatpak or a .deb package: https://pop-os.github.io/docs/manage-apps/using-pop-shop.html

Flatpak browsers are sandboxed and probably won't work at all, so Debian packages are recommended.

hopeholdings commented 2 months ago

I enabled Chromium, brave doesn't use Chrome, right? And if you don't know what Pop Shop is maybe you should check it out and see how what they are using. It gave no option for flatpack or not, just said install.

Anyway, I don't care enough to discuss any longer.

hopeholdings commented 2 months ago

I did enable and "Google Chrome" in Keepass and same result. Doesn't work.

varjolintu commented 2 months ago

I enabled Chromium, brave doesn't use Chrome, right? And if you don't know what Pop Shop is maybe you should check it out and see how what they are using. It gave no option for flatpack or not, just said install.

I checked it out and gave a direct link to you.

Anyway, I don't care enough to discuss any longer.

I see.

droidmonkey commented 2 months ago

And Brave and Chromium and Vivaldi are all enabled, which you should've understood by my reporting that it works in Vivaldi.

Just to point out you didn't mention anything about Vivaldi in your original post. That's beside the point, you need to do work on your end to help us help you. That includes understanding your deployment environment enough to answer basic questions. Linux is not for beginners and there are plenty of resources to help you figure this out. There are also plenty of reports about brave on Linux you should read on this issue board, please search and find.