Reolink E1 Outdoor 401 Unauthorized
-
I was very excited to find Monocle to help solve the issue of the stream on my Echo Show becoming more and more out of sync using the Reolink skill. I have hit a brick wall during set up however and I am getting a 401 (Unauthorized)] <cseq=2> when trying to connect.
Camera: Reolink E1 Outdoor
Echo Show 8 2nd gen
Monocle Gateway on x64 Windows 11 PC------------------------------------------------- MONOCLE RUNTIME ENVIRONMENT ------------------------------------------------- VERSION = 0.0.4 OS/ARCH = win32\x64 PROCESS = monocle-gateway (PID=24420) TIMESTAMP = 2021-12-18T13:01:47.474Z ------------------------------------------------- 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=34072) [RTSP Server Listening] 0.0.0.0:8554 (PROXY) [RTSP Server Started] [Monocle Connected] [RTSP Server Registered] ------------------------------------------------- MONOCLE RTSP SERVICE - INITIALIZED ------------------------------------------------- FQDN = (mynumbers).mproxy.io HOST = 192.168.0.2 PORT = 443 -------------------------------------------------
Alexa tries 3 times and says “camera not responding”:
------------------------------------------------- INITIALIZE RTSP STREAM: Front Gate ------------------------------------------------- - NAME : Front Gate - LABEL : PRIMARY - URL : rtsp://192.168.0.149:554/h264Preview_01_sub - UUID : STREAM:(my numbers) - SESS : 8a20cb7f-1ccd-42bc-be44-73d7fd6000fc - MODIF : Sat Dec 18 2021 22:48:53 GMT+1000 (E. Australia Standard Time) - TAGS : @tunnel ------------------------------------------------- 2021-12-18T13:17:04.859Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP CLIENT SOCKET CONNECTED 2021-12-18T13:17:04.984Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP CLIENT ATTACHED TO STREAM: Front Gate (STREAM:83a795a1-c6c7-4fda-9fb5-52bb1ef8c25f) 2021-12-18T13:17:04.999Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP ENDPOINT SOCKET CONNECTED {192.168.0.149:554} 2021-12-18T13:17:04.999Z [DEBUG] [192.168.0.132:42482 <rktUJPi5Y>] [CLIENT REQUEST] --> [DESCRIBE] rtsp://(mynumbers).mproxy.io:443/STREAM:83a795a1-c6c7-4fda-9fb5-52bb1ef8c25f?session=8a20cb7f-1ccd-42bc-be44-73d7fd6000fc 2021-12-18T13:17:04.999Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [CLIENT REQUEST] --> [HEADERS] { "accept": "application/sdp", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "1" } 2021-12-18T13:17:04.999Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP ENDPOINT ATTEMPTING AUTHENTICATION: BASIC 2021-12-18T13:17:04.999Z [DEBUG] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://192.168.0.149:554/h264Preview_01_sub 2021-12-18T13:17:04.999Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT REQUEST] --> [HEADERS] { "accept": "application/sdp", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "1", "authorization": "Basic YWRtaW46Q2F0c2NhdHMxMg==" } 2021-12-18T13:17:10.382Z [DEBUG] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT RESPONSE] <-- [401 (Unauthorized)] <cseq=1> (session=undefined) 2021-12-18T13:17:10.384Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT RESPONSE] <-- [HEADERS] { "cseq": "1", "date": "Sat, Dec 18 2021 13:17:02 GMT", "www-authenticate": "Digest realm=\"LIVE555 Streaming Media\", nonce=\"414a40b198a47f5bd1acc2d7061c202e\"" } 2021-12-18T13:17:10.384Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP ENDPOINT REQUIRES AUTHENTICATION: Digest realm="LIVE555 Streaming Media", nonce="414a40b198a47f5bd1acc2d7061c202e" 2021-12-18T13:17:10.385Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP ENDPOINT ATTEMPTING AUTHENTICATION: DIGEST 2021-12-18T13:17:10.386Z [DEBUG] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://192.168.0.149:554/h264Preview_01_sub 2021-12-18T13:17:10.386Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT REQUEST] --> [HEADERS] { "accept": "application/sdp", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "1", "authorization": "Digest username=\"admin\", realm=\"LIVE555 Streaming Media\", nonce=\"414a40b198a47f5bd1acc2d7061c202e\", uri=\"rtsp://192.168.0.149:554/h264Preview_01_sub\", response=\"cfbc1623dacbf06213418c2a3ac2baae\"" } 2021-12-18T13:17:10.451Z [DEBUG] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) 2021-12-18T13:17:10.451Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT RESPONSE] <-- [HEADERS] { "cseq": "1", "date": "Sat, Dec 18 2021 13:17:08 GMT", "content-base": "rtsp://192.168.0.149/h264Preview_01_sub/", "content-type": "application/sdp", "content-length": "697" } 2021-12-18T13:17:10.451Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT RESPONSE] <-- [BODY] v=0 o=- 1639829427921953 1 IN IP4 192.168.0.149 s=Session streamed by "preview" i=h264Preview_01_sub t=0 0 a=tool:LIVE555 Streaming Media v2020.08.12 a=type:broadcast a=control:* a=range:npt=0- a=x-qt-text-nam:Session streamed by "preview" a=x-qt-text-inf:h264Preview_01_sub m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 b=AS:500 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=640033;sprop-parameter-sets=Z2QAM6wVFKCgPZA=,aO48sA== a=control:track1 m=audio 0 RTP/AVP 97 c=IN IP4 0.0.0.0 b=AS:256 a=rtpmap:97 MPEG4-GENERIC/16000 a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408 a=control:track2 2021-12-18T13:17:10.451Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP ENDPOINT AUTHENTICATION SUCCESSFUL: DIGEST 2021-12-18T13:17:10.451Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP ENDPOINT SDP APPLIED NTP=NOW- 2021-12-18T13:17:10.451Z [DEBUG] [192.168.0.132:42482 <rktUJPi5Y>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) 2021-12-18T13:17:10.451Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [CLIENT RESPONSE] <-- [HEADERS] { "cseq": "1", "date": "Sat, Dec 18 2021 13:17:08 GMT", "content-base": "rtsp://192.168.0.149/h264Preview_01_sub/", "content-type": "application/sdp", "content-length": "693" } 2021-12-18T13:17:10.451Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [CLIENT RESPONSE] <-- [BODY] v=0 o=- 1639829427921953 1 IN IP4 192.168.0.149 s=Session streamed by "preview" i=h264Preview_01_sub t=0 0 a=control:* a=tool:LIVE555 Streaming Media v2020.08.12 a=type:broadcast a=npt=now- a=x-qt-text-nam:Session streamed by "preview" a=x-qt-text-inf:h264Preview_01_sub m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 b=AS:500 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=640033;sprop-parameter-sets=Z2QAM6wVFKCgPZA=,aO48sA== a=control:track1 m=audio 0 RTP/AVP 97 c=IN IP4 0.0.0.0 b=AS:256 a=rtpmap:97 MPEG4-GENERIC/16000 a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408 a=control:track2 2021-12-18T13:17:10.467Z [DEBUG] [192.168.0.132:42482 <rktUJPi5Y>] [CLIENT REQUEST] --> [SETUP] rtsp://192.168.0.149/h264Preview_01_sub/track1 2021-12-18T13:17:10.467Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [CLIENT REQUEST] --> [HEADERS] { "transport": "RTP/AVP/TCP;interleaved=0-1", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "2" } 2021-12-18T13:17:10.467Z [DEBUG] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT REQUEST] --> [SETUP] rtsp://192.168.0.149/h264Preview_01_sub/track1 2021-12-18T13:17:10.467Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT REQUEST] --> [HEADERS] { "transport": "RTP/AVP/TCP;interleaved=0-1", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "2", "authorization": "Digest username=\"admin\", realm=\"LIVE555 Streaming Media\", nonce=\"414a40b198a47f5bd1acc2d7061c202e\", uri=\"rtsp://192.168.0.149:554/h264Preview_01_sub\", response=\"cfbc1623dacbf06213418c2a3ac2baae\"" } 2021-12-18T13:17:10.543Z [DEBUG] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT RESPONSE] <-- [401 (Unauthorized)] <cseq=2> (session=undefined) 2021-12-18T13:17:10.544Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [ENDPOINT RESPONSE] <-- [HEADERS] { "cseq": "2", "date": "Sat, Dec 18 2021 13:17:08 GMT", "www-authenticate": "Digest realm=\"LIVE555 Streaming Media\", nonce=\"1c0101c30b30f2f75407a645a198087c\"" } 2021-12-18T13:17:10.544Z [WARN] [192.168.0.132:42482 <rktUJPi5Y>] RTSP ENDPOINT RESPONSE ERROR: [SETUP] = 401 (Unauthorized) 2021-12-18T13:17:10.545Z [DEBUG] [192.168.0.132:42482 <rktUJPi5Y>] [CLIENT RESPONSE] <-- [401 (Unauthorized)] <cseq=2> (session=undefined) 2021-12-18T13:17:10.546Z [TRACE] [192.168.0.132:42482 <rktUJPi5Y>] [CLIENT RESPONSE] <-- [HEADERS] { "cseq": "2", "date": "Sat, Dec 18 2021 13:17:08 GMT", "www-authenticate": "Digest realm=\"LIVE555 Streaming Media\", nonce=\"1c0101c30b30f2f75407a645a198087c\"" } 2021-12-18T13:17:10.591Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP CLIENT SOCKET CLOSED 2021-12-18T13:17:10.591Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP CLIENT DETACHED FROM STREAM: Front Gate (STREAM:83a795a1-c6c7-4fda-9fb5-52bb1ef8c25f) 2021-12-18T13:17:10.591Z [INFO] [192.168.0.132:42482 <rktUJPi5Y>] RTSP ENDPOINT SOCKET CLOSED [192.168.0.132:42482 <rktUJPi5Y>]
I have tried:
- Basic and Digest
- double checking the username/password
- Checking DNS rebinding (when pinging from another computer on the network it resolves the IP but ping times out, suspect due to firewall)
- disabling firewall (bitdefender)
- main and sub stream (I cannot set the main stream to be 1080p or less, 2048*1536 is smallest selectable resolution)
- streaming via VLC (works) * interestingly but probably unrelated, if I stream ‘main’ without user/pass in the URL it will prompt and I can enter details, if I stream ‘sub’ it will not prompt and time out.
I am unsure what else to try from here?
-
my web set up:
-
No ideas anyone?