Chrome App fails to communicate with native host on windows Chrome App fails to communicate with native host on windows google-chrome google-chrome

Chrome App fails to communicate with native host on windows


To debug errors that do not give meaningful messages in JS context, you can try using Chrome logging; this can give more information (which helped in your case).


The name of host is to long. Delete current host from registry and recreate it with shorter name. E.g.:REG ADD "HKCU\Software\Google\Chrome\NativeMessagingHosts\com.chrome.example" /ve /t REG_SZ /d "%~dp0com.google.chrome.example.echo-win.json" /f