-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Error! Not connected to KeepassXC #2385
Comments
I have requested help in the following places with this matter, and neither has produced a fix: https://www.reddit.com/r/KeePass/comments/1gqcg3u/error_not_connected_to_keepassxc/ https://sourceforge.net/p/keepass/discussion/329221/thread/f63544b5d5/?limit=25#119a/1b62 |
I only have one DB, and I've just tested it now with only one browser window and a single tab, and it still does it. |
Remove all connection from both databases (from the extension side as well), go to Database Settings -> Browser integration, and create a new Root Group UUID for both databases. Then make connections to the extension again. Please note that the extension does not ask for a hostname, but an identification for the connection. This can be for example "Chrome home". |
These are not official support channels. This one is. Please refer to these guides and report your findings: "It does not work" is not helpful enough for us. |
I'm finding this a bit confusing to be honest. Is this something that can be fixed by completely unintsalling everything to do with KPXC and reinstalling it, and if so, how? |
@SurebrecUK That depends what kind of problem you are having. Basic steps:
|
Ok, so I've been able to figure out how to get to debugging and it's returning this: KeePassXC-Browser: Connecting to native messaging host org.keepassxc.keepassxc_browser client.js:383:13 |
More info is needed. Please see step 2. |
I am now down to this point: "The registry entry should have an org.keepassxc.keepassxc_browser subfolder which has a (Default) variable pointing to the actual JSON script path." There wasn't a subfolder with that name, so I manually added one, which leads me to have to having to link to the JSON script path. (~/.mozilla/native-messaging-hosts) Where is this located? |
There is no such path if you are using Windows. Are you sure you have enabled Browser Integration in KeePassXC settings and Firefox for it? There should be a JSON script file at the path where the registry points. Usually it's under |
Yes. They both seem to be enabled. The JSON script contains "{ It seems to be pointing to the correct location, though the keepassxc-proxy.exe file isn't running. |
What happens if you start the |
When I start it manually, it just opens what appears to be an empty command prompt window. Even when doing that, it shows it as running in task manager, but it still doesn't work. I can't understand why my antivirus should stop it running, as nothing has changes since this started happening. |
Starting it manually does not work with the browser. It's just a step to ensure the executable actually starts without any issues. Btw, does any other browser work? Does downgrading Firefox work? Have you checked the last steps in the guide? If anything else doesn't work, you'll have to use https://learn.microsoft.com/en-us/sysinternals/downloads/procmon to check why the keepassxc-proxy.exe does not start. |
Yeah, finally tried that, still no luck. I tested it on Chrome and it doesn't work there either. |
If it doesn't work with any browser, there must be something wrong in your Windows system. Test the Process Monitor and see if it reports anything related to keepassxc-proxy.exe. |
I see the same issue in Chrome. |
Sorry for the late response, but life has kind of got in the way over the last week, as it often tends to do, so I haven't had time to chase after my issue since. I have tried to use Processor Monitor, but I'm stuck on the filters I need to set for it to just show info for my issue. I have searched on Youtube for help, but it just seems to give a general overview, and nothing specific to KeepassXC or keepassxc-proxy.exe. What should I be setting in the filter? |
Just look for keepassxc-proxy.exe. |
Ok, done that, but it says there are 729 results. Do I need to be more specific than just the name? |
Probably there are a lot of results, but some of those should show a reason why the process cannot be found or started. |
This is like trying to find a particular needle in a big box full of needles. Is there no way to categorise them by result and then copy and paste them? |
There's always another alternative: If you can save the recording and send it to me by email, I can take a look. It must contain events from a time when you press the Reload button in the extension popup so I could see that the connection is at least tried. |
That's very kind of you. I'll see if I can get that for you. To the email on your profile? |
Yes. That's the one. I cannot say when I have the time to look at it, but I will eventually. |
Ok, I think I managed to do what you requested and sent. Thanks, whatever the outcome is. |
Overview
Steps to Reproduce
Expected Behavior
I expect the app to fill out username and passwords field.
Actual Behavior
I am getting the following message:
"Error! Not connected to KeepassXC"
Context
I am using Firefox Ver. 132.0.2 (64-bit) with the latest browser plugin.
Windows 10 Pro 64bit, 22H2 OS Build 19045.5131
KeePassXC - VERSION 2.7.9
Revision: REVISION 8f6dd13
Operating System: Windows/Linux/macOS
Desktop Env: Gnome/KDE/XFCE/Mate/Cinnamon
Windowing System: X11/Wayland
The text was updated successfully, but these errors were encountered: