I've been trying to get the official Native Messaging example running on my Debian linux, but when I click the connect button, the connection to the host is not made and the error "Specified native messaging host not found." is returned.
From other people who have the same problem I learnt that it's probably an error in my native app manifest, but I can't find it for hours now. It is located at ~/.config/google-chrome/NativeMessagingHosts/com.google.chrome.example.echo.json and reads:
{
"name": "com.google.chrome.example.echo",
"description": "Chrome Native Messaging API Example Host",
"path": "/path/to/my/home/Desktop/native.py",
"type": "stdio",
"allowed_origins": [
"chrome-extension://mcmmilohkmnlhdododggiegdjholjfan/"
]
}
The only thing's I've changed is the chrome extension id and the path, which I checked (when running it from my shell the app launches and behaves correctly). Its code is taken from the aforementioned example.
Any idea what might be wrong? I'm stumped.