EHOSTUNREACH error connecting Synology Surveillance Station to Alexa via Monocle Gateway
-
I’ve managed to get the Monocle Gateway setup and responding correctly on my Synology NAS. Everything plays fine on VLC, but for some reason Alexa can’t resolve my NAS through the Monocle Gateway service: the logs give me the EHOSTUNREACH error.
To the best of my knowledge, there should not be anything blocking access on my internal network: The Synology firewall is not running, I’m not blocking any ports in my router (Netgear X9000), and DNS Redirect Blocking is not turned on.
Cameras are connected using Digest authentication, with camera settings matching the outputs of VLC. This failure to connect happens on my Echo Show 5 and both of my Echo Show 8’s, so I do not believe it to be a device issue.
Here is the log from my monocle-gateway:
2020-02-25T07:28:39.493Z [INFO] [192.168.1.13:57678 <rJbq2rz48>] RTSP CLIENT DETACHED FROM STREAM: Canal (STREAM:a3a88524-63de-4ad9-806e-a404d6b0e3f1)
2020-02-25T07:28:39.493Z [INFO] [192.168.1.13:57678 <rJbq2rz48>] RTSP CLIENT SOCKET CLOSED
2020-02-25T07:28:39.490Z [WARN] [192.168.1.13:57678 <rJbq2rz48>] RTSP CLIENT SOCKET TIMEOUT
port: 554 } ]
address: ‘192.168.1.26’,
syscall: ‘connect’,
code: ‘EHOSTUNREACH’,
errno: ‘EHOSTUNREACH’,
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1195:14)
at _exceptionWithHostPort (util.js:1052:20)
at Object._errnoException (util.js:1031:13)
2020-02-25T07:28:12.497Z [INFO] [192.168.1.13:57678 <rJbq2rz48>] RTSP ENDPOINT SOCKET CLOSED [192.168.1.13:57678 <rJbq2rz48>]
{ Error: connect EHOSTUNREACH 192.168.1.26:554
[ ‘PROXY ENDPOINT ERROR;’,
2020-02-25T07:28:12.496Z [ERROR] PROXY ENDPOINT ERROR; Error: connect EHOSTUNREACH 192.168.1.26:554
port: 554 } ]
address: ‘192.168.1.26’,
syscall: ‘connect’,
code: ‘EHOSTUNREACH’,
errno: ‘EHOSTUNREACH’,
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1195:14)
at _exceptionWithHostPort (util.js:1052:20)
at Object._errnoException (util.js:1031:13)
{ Error: connect EHOSTUNREACH 192.168.1.26:554
‘[192.168.1.13:57678 <rJbq2rz48>]’,
‘[RTSP ENDPOINT SOCKET ERROR]’,
[ ‘[192.168.1.13:57678 <rJbq2rz48>]’,
2020-02-25T07:28:12.496Z [ERROR] [192.168.1.13:57678 <rJbq2rz48>] [RTSP ENDPOINT SOCKET ERROR] [192.168.1.13:57678 <rJbq2rz48>] Error: connect EHOSTUNREACH 192.168.1.26:554
2020-02-25T07:28:09.489Z [INFO] [192.168.1.13:57678 <rJbq2rz48>] RTSP CLIENT ATTACHED TO STREAM: Canal (STREAM:a3a88524-63de-4ad9-806e-a404d6b0e3f1)
2020-02-25T07:28:09.340Z [INFO] [192.168.1.13:57678 <rJbq2rz48>] RTSP CLIENT SOCKET CONNECTED
- TAGS : @tunnel
- MODIF : Tue Feb 25 2020 06:22:30 GMT+0000 (UTC)
- SESS : 4f20869f-c199-4fc9-87da-3e19edc57ab4
- UUID : STREAM:a3a88524-63de-4ad9-806e-a404d6b0e3f1
- URL : rtsp://192.168.1.26:554/Sms=8.unicast
- LABEL : PRIMARY
- NAME : Canal
INITIALIZE RTSP STREAM: Canal
Thank you in advance for any help or insight you might provide!
-
Well, the Monocle Gateway is trying to connect to “192.168.1.26” however, it’s failing to connect.
It probably something to do with the networking settings of the docker instance since you are running it on Synology.
Can you try running it on another computer to verify you can get it working first – before trying to troubleshoot Synology & Docker?Thanks, Robert