Can't manage to make Monocle work in Echo Show 15
-
Hello, Friends!
I’m trying to set monocle to monitor my cameras with a Echo Show 15.
Devices:
8ch Intelbras DVR
ISP Router- Huawei (used as a modem)
TP Link - Deco M5 (used as a main router)
TP Link - TL-SG1016D Switch
Mini PC Runinng Monocle Gateway on Windows 10
Whats works:Alexa detects the cameras
I can see the camera on VLC
I managed to fix a bug when running the monocle proxy file, by moving this file: msvcr100.dll to the folder
All devices are in the same network with the same IP address range
What happens when I ask Alexa to see the cameras:The Mini PC shows this message:
****************************************************************** * __ __ ___ _ _ ___ ___ _ ___ * * | \/ |/ _ \| \| |/ _ \ / __| | | __| * * | |\/| | (_) | .` | (_) | (__| |__| _| * * |_| |_|\___/|_|\_|\___/ \___|____|___| * * * ****************************************************************** ------------------------------------------------- MONOCLE RUNTIME ENVIRONMENT ------------------------------------------------- VERSION = 0.0.6 OS/ARCH = win32\x64 PROCESS = monocle-gateway (PID=7008) TIMESTAMP = 2023-12-04T18:48:07.856Z ------------------------------------------------- MONOCLE GATEWAY SERVICE (Version: 0.0.6) ------------------------------------------------- [Monocle Starting] [Monocle Connecting] [Monocle Started] [RTSP Server Starting] [RTSP Server Listening] 0.0.0.0:8555 (RTSP) [RTSP Server Listening] 0.0.0.0:443 (RTSP-TLS) [RTSP Proxy Started] (PID=1068) [RTSP Server Listening] 0.0.0.0:8554 (PROXY) [RTSP Server Started] 2023-12-04T18:48:07.934Z [ERROR] [PROXY SERVER ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8555 [ '[PROXY SERVER ERROR]', Error: listen EADDRINUSE: address already in use 0.0.0.0:8555 at Server.setupListenHandle [as _listen2] (node:net:1319:16) at listenInCluster (node:net:1367:12) at doListen (node:net:1505:7) at processTicksAndRejections (node:internal/process/task_queues:84:21) at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:65:3) at Function.runMain (pkg/prelude/bootstrap.js:1848:13) at node:internal/main/run_main_module:17:47 { code: 'EADDRINUSE', errno: -4091, syscall: 'listen', address: '0.0.0.0', port: 8555 } ] 2023-12-04T18:48:07.943Z [ERROR] [RTSP Server Error] listen EADDRINUSE: address already in use 0.0.0.0:8555 [ '[RTSP Server Error]', 'listen EADDRINUSE: address already in use 0.0.0.0:8555' ] 2023-12-04T18:48:07.943Z [ERROR] [PROXY SERVER ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:443 [ '[PROXY SERVER ERROR]', Error: listen EADDRINUSE: address already in use 0.0.0.0:443 at Server.setupListenHandle [as _listen2] (node:net:1319:16) at listenInCluster (node:net:1367:12) at doListen (node:net:1505:7) at processTicksAndRejections (node:internal/process/task_queues:84:21) at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:65:3) at Function.runMain (pkg/prelude/bootstrap.js:1848:13) at node:internal/main/run_main_module:17:47 { code: 'EADDRINUSE', errno: -4091, syscall: 'listen', address: '0.0.0.0', port: 443 } ] 2023-12-04T18:48:07.944Z [ERROR] [RTSP Server Error] listen EADDRINUSE: address already in use 0.0.0.0:443 [ '[RTSP Server Error]', 'listen EADDRINUSE: address already in use 0.0.0.0:443' ] [Monocle Connected] [RTSP Server Registered] ------------------------------------------------- MONOCLE RTSP SERVICE - INITIALIZED ------------------------------------------------- FQDN = d9c3139b-67a1-4f59-9a92-57a6f4d42497.mproxy.io HOST = 192.168.68.104 PORT = 443 ------------------------------------------------- ************************************************************************************ WARNING GATEWAY INSTANCE PROMOTED! ************************************************************************************ Another gateway instance has detached from your user account! This could cause problems, please make sure that only one instance of Monocle Gateway is running on your network and associated with your account. >>>> THIS GATEWAY INSTANCE [192.168.68.104] IS NOW THE ACTIVE GATEWAY FOR THIS ACCOUNT. ************************************************************************************ ************************************************************************************ WARNING MULTIPLE GATEWAY INSTANCES DETECTED; GATEWAY INSTANCE DEMOTED! ************************************************************************************ There are multiple gateways attached to your user account! This could cause problems, please make sure that only one instance of Monocle Gateway is running on your network and associated with your account. >>>> THIS GATEWAY INSTANCE [192.168.68.104] IS NO LONGER THE ACTIVE GATEWAY FOR THIS ACCOUNT. >>>> GATEWAY INSTANCE [192.168.68.104] IS THE ACTIVE GATEWAY FOR THIS ACCOUNT. ************************************************************************************ ************************************************************************************ WARNING GATEWAY INSTANCE PROMOTED! ************************************************************************************ Another gateway instance has detached from your user account! This could cause problems, please make sure that only one instance of Monocle Gateway is running on your network and associated with your account. >>>> THIS GATEWAY INSTANCE [192.168.68.104] IS NOW THE ACTIVE GATEWAY FOR THIS ACCOUNT. ************************************************************************************ ************************************************************************************ WARNING MULTIPLE GATEWAY INSTANCES DETECTED; GATEWAY INSTANCE DEMOTED! ************************************************************************************ There are multiple gateways attached to your user account! This could cause problems, please make sure that only one instance of Monocle Gateway is running on your network and associated with your account. >>>> THIS GATEWAY INSTANCE [192.168.68.104] IS NO LONGER THE ACTIVE GATEWAY FOR THIS ACCOUNT. >>>> GATEWAY INSTANCE [192.168.68.104] IS THE ACTIVE GATEWAY FOR THIS ACCOUNT. ************************************************************************************ ************************************************************************************ WARNING GATEWAY INSTANCE PROMOTED! ************************************************************************************ Another gateway instance has detached from your user account! This could cause problems, please make sure that only one instance of Monocle Gateway is running on your network and associated with your account. >>>> THIS GATEWAY INSTANCE [192.168.68.104] IS NOW THE ACTIVE GATEWAY FOR THIS ACCOUNT. ************************************************************************************ [Monocle Disconnected] [Monocle Reconnecting] ... in 6 seconds (attempt #1) [Monocle Connecting] 2023-12-04T19:07:21.743Z [ERROR] [Monocle Error] getaddrinfo ENOTFOUND api.monoclecam.com [ '[Monocle Error]', 'getaddrinfo ENOTFOUND api.monoclecam.com' ] [Monocle Disconnected] [Monocle Reconnecting] ... in 14 seconds (attempt #2) [Monocle Connecting] 2023-12-04T19:07:35.762Z [ERROR] [Monocle Error] getaddrinfo ENOTFOUND api.monoclecam.com [ '[Monocle Error]', 'getaddrinfo ENOTFOUND api.monoclecam.com' ] [Monocle Disconnected] [Monocle Reconnecting] ... in 18 seconds (attempt #3) [Monocle Connecting] 2023-12-04T19:08:05.833Z [ERROR] [Monocle Error] getaddrinfo ENOTFOUND api.monoclecam.com [ '[Monocle Error]', 'getaddrinfo ENOTFOUND api.monoclecam.com' ] [Monocle Disconnected] [Monocle Reconnecting] ... in 20 seconds (attempt #4) [RTSP Server Stopping] [RTSP Server Stopped] [Monocle Stopping] [Monocle Stopped] [RTSP Proxy Stopped] CODE=3221225786; SIGNAL=null
-
I notice two issues in the log file.
1.) It looks like there is another instance of Monocle Gateway running and is already using the ports 8555 and 443. This is probably because you have the Windows Service for Monocle Gateway running in the background. (see: https://monoclecam.com/monocle-gateway/install/windows#windows-service).
Try stopping the service before running the Monocle Gateway executable in your command shell.2.) The second error :
[ERROR] [Monocle Error] getaddrinfo ENOTFOUND api.monoclecam.com
is suggesting that the computer can’t communicate to the Internet or at least is not able to resolve the addressapi.monoclecam.com
via a DNS server.Thanks, Robert