I tried to get an official Native Messaging example that works on my Debian Linux server, but when I click the connect button, the connection to the host is not made and the error "The specified host for the messaging was not found." coming back.
From other people who have the same problem, I found out that this is probably a mistake in my explicit manifestation of the application, but I cannot find it for hours. It is located in ~/.config/google-chrome/NativeMessagingHosts/com.google.chrome.example.echo.jsonand 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 that I changed was the chrome extension identifier and the path I checked (when I launch it from my shell, the application starts up and behaves correctly). Its code is taken from the above example.
Any idea what could be wrong? I'm at a dead end.