Firefox extension does not connect to Linux app
Dear support community,
I'm running into a weird issue and can't seem to resolve it.
I've got two machines with preferably the same configuration, but one is freshly installed, so it's not exactly the same (yet).
For one, the connection between the Linux app and the Firefox extension works fine, for the other it doesn't. I use the same firefox versions, the same 1Password versions, and the same Linux/Debian versions.
Do you have any pointers on what the issue might be? Cheers! Below you can find the different output for the two machines:
Good
INFO 2022-11-22T22:49:58.612 main(ThreadId(1)) [1P:native-messaging/op-browser-support/src/main.rs:163] Starting 1Password-BrowserSupport 8.9.10-9.BETA production build no. 80910009. INFO 2022-11-22T22:49:58.616 main(ThreadId(1)) [1P:native-messaging/op-browser-support/src/browser_verification/linux.rs:40] Verifying browser "/usr/lib/firefox-trunk/firefox-trunk" INFO 2022-11-22T22:49:58.616 main(ThreadId(1)) [1P:native-messaging/op-browser-support/src/browser_verification/linux.rs:54] Browser "/usr/lib/firefox-trunk/firefox-trunk" verified successfully INFO 2022-11-22T22:49:58.616 main(ThreadId(1)) [1P:native-messaging/op-browser-support-lib/src/communication_logic.rs:122] Starting SLS communication (attempting connection to desktop app) INFO 2022-11-22T22:49:58.616 main(ThreadId(1)) [1P:native-messaging/op-browser-support-lib/src/communication_logic.rs:187] Connected to the desktop app
Bad
INFO 2022-11-22T23:43:14.208 main(ThreadId(1)) [1P:native-messaging/op-browser-support/src/main.rs:163] Starting 1Password-BrowserSupport 8.9.10-9.BETA production build no. 80910009. INFO 2022-11-22T23:43:14.212 main(ThreadId(1)) [1P:native-messaging/op-browser-support/src/browser_verification/linux.rs:40] Verifying browser "/usr/lib/firefox-trunk/firefox-trunk" ERROR 2022-11-22T23:43:14.218 main(ThreadId(1)) [1P:native-messaging/op-browser-support/src/main.rs:195] Browser support error: UnknownBrowser(/usr/lib/firefox-trunk/firefox-trunk), happene> Additional error context: /usr/lib/firefox-trunk/firefox-trunk isn't a supported browser
P.S. I'm hoping the Snap integration will work one day, I can imagine it would be more convenient.
Comments
-
Hi @tobiasvd,
Thanks for bringing this to our attention. There are other users reporting a similar issue and I would love to investigate into this issue further.
Could you send an email to support+linux@1Password.com?
With your email please include:
- A link to this thread: https://1password.community/discussion/135462/firefox-extension-does-not-connect-to-linux-app
- Your forum username:
tobiasvd
- A diagnostics report: https://support.1password.com/diagnostics/?linux
- An extension console log: https://support.1password.com/cs/extension-console-log/
We'll look forward to hearing from you.
0 -
Hi @FrankyO1P,
Thank you for your quick response, I have sent an email as requested and hope we can resolve the issue.
Cheers,
Tobias
0 -
Hey @tobiasvd, thanks for letting us know. It looks like @FrankyO1P has been working with you via email and has sent out a potential solution. We'll look forward to hearing how things go!
ref: QEQ-57117-868
0 -
Hey @AliH1P , we managed to resolve the issue! I had tried setting the custom_allowed_browsers file in /opt/1Password/resources/ , however, that seems to be not used. When I inserted 'firefox-trunk' in /etc/1password/new custom_allowerd_browsers , as per @FrankyO1P 's instructions, it resolved my issue.
Thanks for the quick response, everything works like a breeze again :)
0 -
@smoxy Of course!
FYI, I did not install Firefox via Snap. Importantly, I installed Firefox daily from a Ubuntu ppa, which has a binary name of firefox-trunk. Your binary name might be different, so this needs to be changed in the following.
I was sent the following by mail by a support employee:
- Ensure that browser integration is enabled from Settings → Browser.
- Close 1Password completely.
- Open a terminal, and run sudo mkdir /etc/1password (if you've done this already, you can skip it).
- Run cd /etc/1password.
- Run sudo gedit custom_allowed_browsers.
- Paste in the appropriate browser code - in this case firefox-trunk. (ie the binary name)
- Save the file.
- In the terminal, run sudo chown root:root /etc/1password/custom_allowed_browsers && sudo chmod 755 /etc/1password/custom_allowed_browsers
- Run 1Password - it will read the new config file and make the appropriate connections.
- Launch your browser!
Doing this resolved the issue for me!
Cheers,
Tobias1