multi-account-containers: VPN not detected on linux
Actual behavior
On linux (arch), the web extension does not find the running mozillavpn, even though it is on and all browser traffic goes through it. There are no visible errors.
The extension displays the classic UI when the VPN is not present.
All permissions are given to the extension.
Expected behavior
It should find the (mozilla) VPN, as it is running, and allow normal usage of the multi-account-container VPN features
Steps to reproduce
- install linux (arch)
- install
firefox-developer-edition(pacman), andmozillavpn(aur/yay) - install web extension multi-account-container
- restart computer, activate vpn
- browse a site and use the web extension -> the VPN seems not to be installed
Notes
I am not so sure on how to debug more, let me know if I can provide additional output or test steps.
Also, I realize opening a new “private window”, also shows the “get the VPN banner”; so it might be more generally an issue with Firefox not detecting mozillavpn?
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 7
- Comments: 16
I came across this same issue.
As a test of firefox’s native messaging detection, I tried to call
connectNative("mozillavpn")directly from the addon’s debug console, but got the “No such native application” error.This made me suspect that the manifest search paths were wrong.
The from-source install of https://github.com/mozilla-mobile/mozilla-vpn-client/ added
/usr/lib64/mozilla/native-messaging-hosts/mozillavpn.json, and since on my system,/usr/libis not a symlink to/usr/lib64, I suspected that firefox is only checking/usr/lib64/mozilla/native-messaging-hosts/Anyway, after running
sudo ln -s /usr/lib64/mozilla /usr/lib/mozillaand restarting the browser, everything seems to be working now.Possible bug in how firefox searches the manifest locations?
Hello, for me this issues still exists.
I am running arch and both files also exist on my system.
/usr/lib/mozilla/native-messaging-hosts/mozillavpn.json/usr/lib/mozillavpn/mozillavpnnpAlso
/usr/lib64is a symlink to/usr/libon my system.Has a solution been found?
Update:
I fixed my issues by
You have to click throught the setup, until the “hey, do you want to try out mozillavpn with your container addon” page comes up. Click yes. The plugin will then ask for more permissions. Grant it and it should work.
I think I had an older version of the plugin or the config was old, since only reinstalling it without disabling the syncing of addons didn’t change anything.
@user-09876 does it also work for you on the latest Firefox version?
Hi @bakulf I can confirm the bug:
The contain of the mozillavpn package is:
something is missing? I’m the maintainer of the package MozillaVpn in AUR repo.
Thanks for your help.
Hi there, I do have the same issue. None of the files mentioned exist on my system either. I am also using the package from the AUR.
A few questions:
/usr/lib/mozilla/native-messaging-hosts/mozillavpn.jsonand/usr/lib/mozillavpn/mozillavpnnp?Thanks!