@monocle said in Can't seem to get the gateway to work! [SOLVED]:
@TheCyberShocker
where am i wrong?
MONOCLE RUNTIME ENVIRONMENT
VERSION = 0.0.4
OS/ARCH = win32\x64
PROCESS = monocle-gateway (PID=2836)
TIMESTAMP = 2022-02-14T15:11:16.257Z
MONOCLE GATEWAY SERVICE (Version: 0.0.4)
[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=9692)
[RTSP Server Listening] 0.0.0.0:8554 (PROXY)
[RTSP Server Started]
2022-02-14T15:11:16.304Z [ERROR] [PROXY SERVER ERROR] Error: listen EADDRINUSE 0.0.0.0:8555
[ ‘[PROXY SERVER ERROR]’,
{ Error: listen EADDRINUSE 0.0.0.0:8555
at Object._errnoException (util.js:1031:13)
at _exceptionWithHostPort (util.js:1052:20)
at Server.setupListenHandle [as _listen2] (net.js:1367:14)
at listenInCluster (net.js:1408:12)
at doListen (net.js:1523:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (pkg/prelude/bootstrap.js:1299:13)
at startup (bootstrap_node.js:227:16)
at bootstrap_node.js:649:3
errno: ‘EADDRINUSE’,
code: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘0.0.0.0’,
port: 8555 } ]
2022-02-14T15:11:16.320Z [ERROR] [RTSP Server Error] listen EADDRINUSE 0.0.0.0:8555
[ ‘[RTSP Server Error]’, ‘listen EADDRINUSE 0.0.0.0:8555’ ]
2022-02-14T15:11:16.320Z [ERROR] [PROXY SERVER ERROR] Error: listen EADDRINUSE 0.0.0.0:443
[ ‘[PROXY SERVER ERROR]’,
{ Error: listen EADDRINUSE 0.0.0.0:443
at Object._errnoException (util.js:1031:13)
at _exceptionWithHostPort (util.js:1052:20)
at Server.setupListenHandle [as _listen2] (net.js:1367:14)
at listenInCluster (net.js:1408:12)
at doListen (net.js:1523:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (pkg/prelude/bootstrap.js:1299:13)
at startup (bootstrap_node.js:227:16)
at bootstrap_node.js:649:3
errno: ‘EADDRINUSE’,
code: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘0.0.0.0’,
port: 443 } ]
2022-02-14T15:11:16.320Z [ERROR] [RTSP Server Error] listen EADDRINUSE 0.0.0.0:443
[ ‘[RTSP Server Error]’, ‘listen EADDRINUSE 0.0.0.0:443’ ]
[Monocle Connected]
[RTSP Server Registered]
MONOCLE RTSP SERVICE - INITIALIZED
FQDN = 422ec86d-ec56-4595-8946-55b56e59a220.mproxy.io
HOST = 192.168.56.1
PORT = 443
INITIALIZE RTSP STREAM: camera da rua
NAME : camera da rua
LABEL : PRIMARY
URL : rtsp://192.168.0.153:554/cam/realmonitor?channel=1&subtype=0
UUID : STREAM:2dfbdabd-003d-48fc-8ca7-4e32e6052440
SESS : dd30da45-478b-4b46-af0d-098ab62f0cb7
MODIF : Mon Feb 14 2022 12:12:19 GMT-0300 (Hora oficial do Brasil)
TAGS : @fakefmtp,@proxy
RTSP STREAM MODIFIED: camera da rua
Any existing RTSP steams will be shut down
and a new stream instance will be registered.
2022-02-14T15:12:34.223Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [DEREGISTER] rtsp://192.168.0.153:554/cam/realmonitor?channel=1&subtype=0
2022-02-14T15:12:34.223Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] {
“cseq”: “1”,
“transport”: “reuse_connection=0;preferred_delivery_protocol=udp;proxy_url_suffix=STREAM:2dfbdabd-003d-48fc-8ca7-4e32e6052440”
}
2022-02-14T15:12:34.223Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined)
2022-02-14T15:12:34.223Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] {
“cseq”: “1”,
“date”: “Mon, Feb 14 2022 15:12:34 GMT”
}
2022-02-14T15:12:34.223Z [INFO] [RTSP PROXY] REGISTERING STREAM [camera da rua/PRIMARY]; (STREAM:2dfbdabd-003d-48fc-8ca7-4e32e6052440)
2022-02-14T15:12:34.239Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [REGISTER] rtsp://192.168.0.153:554/cam/realmonitor?channel=1&subtype=0
2022-02-14T15:12:34.239Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] {
“cseq”: “1”,
“transport”: “reuse_connection=0;preferred_delivery_protocol=udp;proxy_url_suffix=STREAM:2dfbdabd-003d-48fc-8ca7-4e32e6052440;username=admin;password=r2411l0604”
}
2022-02-14T15:12:34.239Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined)
2022-02-14T15:12:34.239Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] {
“cseq”: “1”,
“date”: “Mon, Feb 14 2022 15:12:34 GMT”
}
2022-02-14T15:13:16.294Z [INFO] [RTSP PROXY] STREAM [camera da rua/PRIMARY] WILL BE DE-REGISTERED IN 4 MINUTES
2022-02-14T15:14:16.329Z [INFO] [RTSP PROXY] STREAM [camera da rua/PRIMARY] WILL BE DE-REGISTERED IN 3 MINUTES