Hello! I am trying to use the “Progressive Web Apps for Firefox” extension in Firefox on Mantic. It uses native messaging. I have installed it on three different computers, all running Mantic x86_64, all with up-to-date debs and snaps, including Firefox. On two of the computers this extension works just fine, but on the third the native messaging is failing. When I load the development version of the extension as a temporary extension in Firefox, I see that sendNativeMessage
is returning an exception with the string An unexpected error occurred
and no other explanation for the error.
I created a wrapper script which captures the input and output of the actual native messaging connector executable, installed that wrapper on one of the computers on which the extension is working, and confirmed that the connector is being executed by Firefox, getting expected inputs and generating expected outputs. I installed the same wrapper exactly the same way on the computer where things aren’t working, and it’s never getting called, so whatever is going wrong appears to be inside Firefox.
I looked at the output of snap connections firefox
on both one of the computers where it’s working and the computer where it isn’t, and they’re identical.
On the computer where this extension isn’t working, https://extensions.gnome.org/ shows me locally installed extensions, so appears that native messaging is working for at least that extension.
Rebooting the computer where the extension that’s not working didn’t help.
I’ve double-checked that the Firefox snap version is the same on both computers. I also tested the newer beta Firefox release and it didn’t solve the problem.
I’m at a loss to troubleshoot this further. Any advice would be appreciated.