404 Error from Echo Show 8 on stream from Raspberry Pi running v4l2rtspserver
-
I have a Raspberry Pi (Zero W) with a camera module (From Pimoroni - https://shop.pimoroni.com/products/raspberry-pi-zero-camera-module?variant=40236918090) running v4l2rtspserver and Monocle Gateway. I can view the stream from v4l2rtspserver on other devices using VLC no problem.
I have tried all the suggested troubleshooting options (@proxy, @noaudio etc.), but to no avail.
The logs from Monocle Gateway suggest that the Echo Show 8 is returning a 404 error. I assume this is the Echo not liking the RTSP stream - or is it an indicator that it just can’t connect to it somehow (all devices are on the same network, but it is possible there is a connectivity issue I suppose)?
Any suggestions on how to debug or investigate this any further?
Logs below:
May 12 19:32:44 rabbie5w monocle-gateway[7630]: ------------------------------------------------- May 12 19:32:44 rabbie5w monocle-gateway[7630]: INITIALIZE RTSP STREAM: Edith May 12 19:32:44 rabbie5w monocle-gateway[7630]: ------------------------------------------------- May 12 19:32:44 rabbie5w monocle-gateway[7630]: - NAME : Edith May 12 19:32:44 rabbie5w monocle-gateway[7630]: - LABEL : PRIMARY May 12 19:32:44 rabbie5w monocle-gateway[7630]: - URL : rtsp://192.168.2.117:8554/unicast May 12 19:32:44 rabbie5w monocle-gateway[7630]: - UUID : STREAM:49877d20-fd8d-436f-8b93-60bc66fc0a31 May 12 19:32:44 rabbie5w monocle-gateway[7630]: - SESS : 362eff63-a9c9-4ed6-9d43-2092dcb4e2fd May 12 19:32:44 rabbie5w monocle-gateway[7630]: - MODIF : Tue May 12 2020 01:11:32 GMT+0100 (BST) May 12 19:32:44 rabbie5w monocle-gateway[7630]: - TAGS : @noaudio,@proxy May 12 19:32:44 rabbie5w monocle-gateway[7630]: ------------------------------------------------- May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.151Z [INFO] [192.168.2.118:36064 <HyrRsD_5I>] RTSP CLIENT SOCKET CONNECTED May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.268Z [INFO] [192.168.2.118:36064 <HyrRsD_5I>] RTSP CLIENT ATTACHED TO STREAM: Edith (STREAM:49877d20-fd8d-436f-8b93-60bc66fc0a31) May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.279Z [INFO] [192.168.2.118:36064 <HyrRsD_5I>] RTSP ENDPOINT SOCKET CONNECTED {127.0.0.1:8554} May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.284Z [DEBUG] [192.168.2.118:36064 <HyrRsD_5I>] [CLIENT REQUEST] --> [DESCRIBE] rtsp://c2fba89f-ed95-4806-a3af-ad8a56606356.mproxy.io:443/STREAM:49877d20-fd8d-436f-8b93-60bc66fc0a31?session=362eff63-a9c9-4ed6-9 d43-2092dcb4e2fd May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.287Z [TRACE] [192.168.2.118:36064 <HyrRsD_5I>] [CLIENT REQUEST] --> [HEADERS] { May 12 19:32:45 rabbie5w monocle-gateway[7630]: "accept": "application/sdp", May 12 19:32:45 rabbie5w monocle-gateway[7630]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", May 12 19:32:45 rabbie5w monocle-gateway[7630]: "cseq": "1" May 12 19:32:45 rabbie5w monocle-gateway[7630]: } May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.303Z [DEBUG] [192.168.2.118:36064 <HyrRsD_5I>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://c2fba89f-ed95-4806-a3af-ad8a56606356.mproxy.io:443/STREAM:49877d20-fd8d-436f-8b93-60bc66fc0a31 May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.306Z [TRACE] [192.168.2.118:36064 <HyrRsD_5I>] [ENDPOINT REQUEST] --> [HEADERS] { May 12 19:32:45 rabbie5w monocle-gateway[7630]: "accept": "application/sdp", May 12 19:32:45 rabbie5w monocle-gateway[7630]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", May 12 19:32:45 rabbie5w monocle-gateway[7630]: "cseq": "1" May 12 19:32:45 rabbie5w monocle-gateway[7630]: } May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.318Z [DEBUG] [192.168.2.118:36064 <HyrRsD_5I>] [ENDPOINT RESPONSE] <-- [404 (Stream Not Found)] <cseq=1> (session=undefined) May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.323Z [TRACE] [192.168.2.118:36064 <HyrRsD_5I>] [ENDPOINT RESPONSE] <-- [HEADERS] { May 12 19:32:45 rabbie5w monocle-gateway[7630]: "cseq": "1", May 12 19:32:45 rabbie5w monocle-gateway[7630]: "date": "Tue, May 12 2020 18:32:45 GMT", May 12 19:32:45 rabbie5w monocle-gateway[7630]: "content-length": "8" May 12 19:32:45 rabbie5w monocle-gateway[7630]: } May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.332Z [TRACE] [192.168.2.118:36064 <HyrRsD_5I>] [ENDPOINT RESPONSE] <-- [BODY] May 12 19:32:45 rabbie5w monocle-gateway[7630]: unicast May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.333Z [WARN] [192.168.2.118:36064 <HyrRsD_5I>] RTSP ENDPOINT RESPONSE ERROR: [DESCRIBE] = 404 (Stream Not Found) May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.348Z [DEBUG] [192.168.2.118:36064 <HyrRsD_5I>] [CLIENT RESPONSE] <-- [404 (Stream Not Found)] <cseq=1> (session=undefined) May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.351Z [TRACE] [192.168.2.118:36064 <HyrRsD_5I>] [CLIENT RESPONSE] <-- [HEADERS] { May 12 19:32:45 rabbie5w monocle-gateway[7630]: "cseq": "1", May 12 19:32:45 rabbie5w monocle-gateway[7630]: "date": "Tue, May 12 2020 18:32:45 GMT", May 12 19:32:45 rabbie5w monocle-gateway[7630]: "content-length": "8" May 12 19:32:45 rabbie5w monocle-gateway[7630]: } May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.361Z [TRACE] [192.168.2.118:36064 <HyrRsD_5I>] [CLIENT RESPONSE] <-- [B ODY] May 12 19:32:45 rabbie5w monocle-gateway[7630]: unicast May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.370Z [INFO] [192.168.2.118:36064 <HyrRsD_5I>] RTSP ENDPOINT SOCKET CLO SED [192.168.2.118:36064 <HyrRsD_5I>] May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.377Z [INFO] [192.168.2.118:36064 <HyrRsD_5I>] RTSP CLIENT SO CKET CLOSED May 12 19:32:45 rabbie5w monocle-gateway[7630]: 2020-05-12T18:32:45.381Z [INFO] [192.168.2.118:36064 <HyrRsD_5I>] RTSP CLIENT DETACHED FRO M STREAM: Edith (STREAM:49877d20-fd8d-436f-8b93-60bc66fc0a31) May 12 19:33:25 rabbie5w monocle-gateway[7630]: 2020-05-12T18:33:25.246Z [INFO] [RTSP PROXY] STREAM [Edith/PRIMARY] WILL BE DE-REGISTERED IN 4 MINUTES May 12 19:34:25 rabbie5w monocle-gateway[7630]: 2020-05-12T18:34:25.265Z [INFO] [RTSP PROXY] STREAM [Edith/PRIMARY] WILL BE DE-REGISTERED IN 3 MINUTES
-
It’s the other way around. The Alexa device is attempting to connect to the RTSP stream and performing a
DESCRIBE
requests as part of the RTSP protocol. It’s the RTSP server (v4l2rtspserver) that is giving the404
error in response to theDESCRIBE
request.This would typically mean the RTSP URL is wrong, but it could also mean the RTSP server did not accept how we (Monocle Gateway) formed the request.
Is there any way you can temporarily host this stream and allow us to connect to it from here across the Internet. We can perform some additional tests. Is so, you can PM me the connection details.
Thanks, Robert