-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Timeout or not connected to KeePassXC ( firefox 59 & OpenBSD) #102
Comments
Check out this guide for troubleshooting. |
Ok, checked the file "/home/tmy/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json" exists and has correct path.
But even then the reload button does nothing. |
Does that temporary path exist? Have you tried to set XDG_RUNTIME_DIR? |
Yes, the directory exists:
I tried to set the dir to point under my home dir but that didn't help. |
What does the browser debug console say when doing reload? |
|
Nothing else? That error is a non-issue. |
Didn't see anything else regarding keepassxc. Nor does clicking and waiting connect... or it takes longer than minute to connect. |
I wonder if there's some kind of mixup going on. Does |
So the proxy uses /tmp/runtime-tmy and keepassxc uses /tmp?
|
Both KeePassXC and the proxy should use the same socket. Just making sure if there's something strange going on. Have you tried if connection works without the proxy? KeePassXC should be closed, then restart the browser and KeePassXC should open. |
Same problem here, on Fedora 27. |
I have a strange occurrence to report in this same vein. I have two computers, both with up-to-date Debian Sid + Firefox. On the first computer, the browser extension manages to connect to keepassxc out of the box, no problem. On the second computer, replicating the exact same steps, it does not work, giving the error message Also, in the extension menu, the KeePassXC version shows correctly as 2.3.1 on the first computer, but on computer 2 it shows as 'unknown', even though they have the exact same package from the Debian Sid repo. I made sure that org.keepassxc.keepassxc_browser.json points to the correct path So I went to the debug menu for the extension, and found messages such as this:
I dug into the keepass.js file and it seems to me like |
|
This PR might help a little to the issue: keepassxreboot/keepassxc#1818 |
I closed the keepassxc process and tried the firefox extension still reports the same timeout message. So it won't work without proxy either. |
Well that's strange. Did the binary change from keepassxc-proxy to keepassxc in the json script? |
What is that you need to make sure they are the same bug? |
@mircsicz Did you check the troubleshooting guide? |
Just checked on my Mac:
the only thing that suprise's me is that I've two allowed origins, rest should be fine... |
@mircsicz That looks fine. Any help using the official migration guide? |
Been there done that, it works after unlocking the DB and clicking Reload in the Browser extension. |
So what else could be done to solve the issue? |
Please try out 2.3.3 when we release it in the evening. I had some problems with the connection as well, but the new builds seem to solve them. |
@mircsicz I'm sorry if I don't understand but what's exactly the issue if using Reload in the browser extension works? Database needs to be open. In the next browser extension release reloading will be made automatically. |
I expected it to ask me to unlock the DB as I’ve set that checkbox…
Besides that no big issue just a little inconvenient ;-)
Greetz
Mirco
… Am 09.05.2018 um 13:13 schrieb Sami Vänttinen ***@***.***>:
@mircsicz <https://github.com/mircsicz> I'm sorry if I don't understand but what's exactly the issue if using Reload in the browser extension works? Database needs to be open. In the next browser extension release reloading will be made automatically.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#102 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AHDjocfuzZk_3iqTQaF7u-ANgeIopE69ks5tws9ogaJpZM4TCu54>.
|
@mircsicz It should. The next browser extension release fixes this also, and there's already a PR for KeePassXC 2.4.0 which uses the same unlock dialog with AutoType so it will work even better :) |
Just tried again after updating to keepassxc-2.3.3 and keepassxc-browser-1.1.3 but same result, "Timeout or not connected to Keepassxc" persists. |
Console shows following:
|
I really cannot find a reason why Firefox doesn't work and Chrome works. Maybe I need to install OpenBSD VM and try it myself. |
I have exactly the same issue (Firefox / Linux). And I hqave found that "Firefox" checkbox is always unticked each time I close KeepassXC database (before, I have clicked on Apply and OK button). |
@prog-amateur Could you check if a location |
@zmyrgel I have problems debugging the extension from Firefox in OpenBSD. When clicking |
@varjolintu thank you for your help, I confirm that location |
@prog-amateur Clicking the Firefox checkbox should create that directory and the JSON script. And it should also show warning if it didn't succeed. Of course you can try to create the file manually. |
There is neither folder nor warning. I have made a folder called native-messaging-hosts and tried to reload without success. I use the flatpack version, do you think it has any consequence ? |
@varjolintu yeah, same issue when hitting debug. I was wondering if thats how it was supposed to function but apparently it should give some feedback when the debug is enabled. |
@zmyrgel It should open a separate window for debugging purposes. When that doesn't work the options are quite limited.. there's no other way to debug the background scripts. |
Firefox Quantum 60.0.1 Clean install of the application (Archlinux -current) following the steps in the install guide exactly. Same error. |
@caseyjp11 Did troubleshooting guide help? |
I have also been having problems with KeePassXC connecting to Firefox, intermittently, for a few weeks. For instance, it worked fine yesterday but today the browser extension will not connect to KeePassXC. Chromium connects fine. KeePassXC was started before either browser, after a fresh boot. KeePassXC - 2.3.3 installed via deb package from the official PPA (not flatpack or snap) Symptom: The extension was working OK yesterday. In days previous, sometimes it would ask to form a new connection to the database (and I had to verify that I wanted to overwrite the existing one). Previously I had tried removing the connection & re-saving, but that only worked temporarily as you can see. From the troubleshooting guide: Path to keepassxc-proxy is correct:ag path ~/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json ❯ file /usr/bin/keepassxc-proxy Proxy is running:❯ pgrep -la keepassxc Debugging output after clicking the extension icon: 08:12:16.658 [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMessageSender.sendAsyncMessage]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 533" data: no] (unknown)
08:12:17.382 Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:12869
08:12:18.378 Error: Promised response from onMessage listener went out of scope background.js:8:1517636
08:12:18.383 Error: Promised response from onMessage listener went out of scope background.js:11378:1
08:12:18.383 Error: Promised response from onMessage listener went out of scope background.js:8:1517636
08:12:18.635 Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:12869 I'm happy to assist in troubleshooting further, time permitting. |
@TraceyC77 If you open the |
Here are the contents of that file {
"allowed_extensions": [
"[email protected]"
],
"description": "KeePassXC integration with native messaging support",
"name": "org.keepassxc.keepassxc_browser",
"path": "/usr/bin/keepassxc-proxy",
"type": "stdio"
} The file exists ❯ ll /usr/bin/keepassxc-proxy [09:39:50]
-rwxr-xr-x 1 root root 23K May 9 12:57 /usr/bin/keepassxc-proxy* |
I had the same error (kubuntu 18.04, FF dev edition 62) until I found that the proxy wasn't automatically launched. |
Hello, I can't get the firefox addon to connect to my -otherwise working fine- KeePassXC installation. I get all the time the "Timeout or not connected to KeePassXC" message. I installed KeePassXC on my linux mint machine via the software manager. My debug info is as follows:
The contents of my
The path
but I'm not sure where this path should point to. Files like I've tried checking the "Update native messaging manifest files at startup" setting too, to no avail. Please advise what I can do to get my browser talking to KPXC. Thanks |
Further to @Christos11's comment, I found a work around. The addon expects the flatpak to be installed in My work around until a fix can be found is to modify
|
FYI, for everyone following: I have found a working around involving some manual steps you need to do though for KeePassXC<->Firefox communication, if Firefox is flatpaked/sandboxed (works if KeePassXC is sandboxed or not). Read the full write-up/tutorial here. |
Keepassxc-browser does not connect at all with Firefox.
Expected Behavior
The plugin shows "Timeout or not connected to KeePassXC" and doesn't change when I hit "reload" button. I'd expect it to connect to the keepassxc database.
Current Behavior
Doesn't connect at all
Possible Solution
Not known, tested the same steps on chromium and it worked just fine.
Steps to Reproduce (for bugs)
Debug info
Error: Promised response from onMessage listener at @moz-extension://202a47ac-4270-4cdc-b3cb-88c3d4333ee8/background/init.js:77:1 went out of scope keepassxc-browser.js:1244:17
KeePassXC - 2.3.1
keepassxc-browser - 1.0.1
Operating system: Mac/Win/Linux
Browser: Firefox
Proxy used: yes
The text was updated successfully, but these errors were encountered: