Skip to content
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

Check connection fails for snap firefox on Ubuntu #116

Open
andre-ph opened this issue Oct 12, 2022 · 3 comments
Open

Check connection fails for snap firefox on Ubuntu #116

andre-ph opened this issue Oct 12, 2022 · 3 comments

Comments

@andre-ph
Copy link

I have followed the #108 and installed with the .zip provided there for snap Firefox.
The files are there in /home/user/snap/firefox/common/.mozilla/native-messaging-hosts
Howerver, the connection checks still fails, Im using Ubuntu 22.04, x64, firefox 105, and NodeJS v14.0

Here's what I got with the browser console :
image

Could you please tell me if you see something's wrong in my setup ?

@Filbuntu
Copy link

Same here 😞. Any workaround found?

@justfortherec
Copy link
Contributor

justfortherec commented Jan 6, 2023

This sounds like I just filed a duplicate of this issue in #118. The issue description also contains a workaround.

Sorry, I was wrong. The two issues are unrelated.

justfortherec added a commit to justfortherec/native-client that referenced this issue Jan 6, 2023
It appears that Firefox starts the native client from `$HOME` as the working directory.
That leads to the script resolving the relative path host.js as `$HOME/host.js`.

This fix prefixes the `host.js` filename with the directory of the run.sh file.
Now it works regardless of the working directory and regardless of the directory in which
`run.sh` and the JavaScript files are located (as long as they are in the same location).

Fix: andy-portmen#118, andy-portmen#116
@guest271314
Copy link

What happens when Nightly is downloaded and used instead of thesnap Firefox installation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants