Thank you all for your help.
I don't think my GLIBC is the problem. As I posted in the original post, my version is 2.34 and the CoApp is designed to work on 2.31 and above.
With Firefox returning such a general error message "An unexpected error occurred", it's almost impossible to troubleshoot it without the help of the developer. It would be nice if someone can point me to any kind of log files that I can check for clues.
I did some research on Chrome's error "Specified native messaging host not found."
- Specified native messaging host not found.
- Is the name spelled correctly in the extension and in the manifest file?
- Is the manifest put in the right directory and with the correct name? See native messaging host location for the expected formats.
- Is the manifest file in the correct format? In particular, is the JSON syntax correct and do the values match the definition of a native messaging host manifest?
- Does the file specified in path exist? On Windows, paths may be relative, but on OS X and Linux, the paths must be absolute.
Based on the above, I checked everything and it appears to be correct.
$ sudo vim /etc/opt/chrome/native-messaging-hosts/net.downloadhelper.coapp.json
{
"name": "net.downloadhelper.coapp",
"description": "Video DownloadHelper companion app",
"path": "/usr/local/net.downloadhelper.coapp-1.6.3/bin/net.downloadhelper.coapp-linux-64",
"type": "stdio",
"allowed_origins": [
"chrome-extension://lmjnegcaeklhafolokijcfjliaokphfk/"
]
}
The name is correct, the path is correct, the format is correct, everything's correct.
Here's Firefox's JSON file:
$ sudo vim /usr/lib/mozilla/native-messaging-hosts/net.downloadhelper.coapp.json
{
"name": "net.downloadhelper.coapp",
"description": "Video DownloadHelper companion app",
"path": "/usr/local/net.downloadhelper.coapp-1.6.3/bin/net.downloadhelper.coapp-linux-64",
"type": "stdio",
"allowed_extensions": [
"weh-nat...@downloadhelper.net",
"{b9db16a4-6edc-47ec-a1f4-b86292ed211d}"
]
}
Everything seems to be fine here, too. The IDs are correct...
Hopefully, with the new information someone of you will come up with a new idea :)