FQDN Not Resolving?
-
I’m running the gateway on a Raspberry pi, but it seems to have stopped working today because I can’t resolve the FQDN. Tried querying from both my local machine and a server outside my home network (so avoiding DNS filtering,etc)
Have tried changing the API key and restarting the server, but doesn’t appear to make any difference.
Is there any way to debug the activity of the gateway to see why this isn’t working?
-
Please try again. It looks like we hit a quota limit on AWS for DNS records. We have requested an increased limit for further growth but have clean off some old records to free up space in the meantime. Thanks!
-
Thanks - that helped a bit…
Now I’m getting :-
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: 2021-07-02T18:25:21.718Z [TRACE] [192.168.0.98:51758 <S1Kfc02h_>] [CLIENT RESPONSE] <-- [HEADERS] {
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: “cseq”: “3”,
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: “date”: “Fri, Jul 02 2021 18:25:21 GMT”,
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: “range”: “npt=0.000-”,
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: “session”: “5407FF95”,
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: “rtp-info”: “url=rtsp://127.0.0.1:8554/STREAM:5d9de8c1-c6c7-4d66-8cf9-55c34314faaa/track1;seq=33824;rtptime=404754411”
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: }
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: 2021-07-02T18:25:21.729Z [INFO] [192.168.0.98:51758 <S1Kfc02h_>] RTSP ENDPOINT PLAYING MEDIA STREAM: Driveway (STREAM:5d9de8c1-c6c7-4d66-8cf9-55c34314faaa)
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: 2021-07-02T18:25:21.739Z [INFO] [192.168.0.98:51758 <S1Kfc02h_>] RTSP CLIENT PLAYING MEDIA STREAM: Driveway (STREAM:5d9de8c1-c6c7-4d66-8cf9-55c34314faaa)
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: 2021-07-02T18:25:21.766Z [ERROR] Uncaught Exception Cannot read property ‘match’ of null
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: [ ‘Uncaught Exception’,
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: ‘Cannot read property ‘match’ of null’ ]
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: 2021-07-02T18:25:21.784Z [ERROR] TypeError: Cannot read property ‘match’ of null
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: [ TypeError: Cannot read property ‘match’ of null
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: at Object.exports.parse (/snapshot/monocle-gateway/node_modules/rtsp-stream/lib/request-line.js:12:20)
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: at new module.exports (/snapshot/monocle-gateway/node_modules/rtsp-stream/lib/incoming-message.js:26:24)
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: at module.exports.Decoder._writeHead (/snapshot/monocle-gateway/node_modules/rtsp-stream/decoder.js:83:15)
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: at module.exports.Decoder._writeOffset (/snapshot/monocle-gateway/node_modules/rtsp-stream/decoder.js:37:21)
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: at module.exports.Decoder._write (/snapshot/monocle-gateway/node_modules/rtsp-stream/decoder.js:27:8)
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: at doWrite (/snapshot/monocle-gateway/node_modules/readable-stream/lib/_stream_writable.js:428:64)
Jul 02 19:25:21
rpi-zero monocle-gateway[682]: at writeOrBuffer (/snapshot/monocle-gateway/node_modules/readable-stream/lib/_stream_writable.js:417:5)
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: at module.exports.Writable.write (/snapshot/monocle-gateway/node_modules/readable-stream/lib/_stream_writable.js:334:11)
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: at Socket.ondata (_stream_readable.js:642:20)
Jul 02 19:25:21 rpi-zero monocle-gateway[682]: at Socket.emit (events.js:159:13) ] -
Should add, it’s a Hikvision NVR via the gateway running on an Raspberry Pi Zero.
It was working a few days ago, but suddenly stopped.
-
Try re-starting the monocle gateway. It looks like it’s failing to load the SSL certificate.
-
Sorry for the delay, but restarting the gateway now gives:-
Jul 14 14:55:25 rpi-zero monocle-gateway[570]: 2021-07-14T13:55:25.295Z [INFO] [192.168.0.98:40130 <rkSA2w2p_>] RTSP CLIENT PLAYING MEDIA STREAM: Driveway (STREAM:5d9de8c1-c6c7-4d66-8cf9-55c34314faaa)
Jul 14 14:55:25 rpi-zero monocle-gateway[570]: 2021-07-14T13:55:25.308Z [ERROR] Uncaught Exception Invalid RTSP Request-Line: '\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u