Monocle gateway showing a 404 not found error



  • I have a Hikvision NVR-7608 which provides a rtsp stream of all the cameras on it.

    I have a Firestick 4K that I want to show the cameras.

    So I’ve set up Monocle on the Alexa app, and set up my account with just one camera to begin with.

    I’ve set up a RPi 4 with the Monocle gateway and it seems to be running ok.

    When I call up a camera on the firestick, the gateway loads ok, but it then shows up a 404 (Not found) error.

    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]: -------------------------------------------------
    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]: INITIALIZE RTSP STREAM:  Back door
    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]: -------------------------------------------------
    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]:  - NAME  : Back door
    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]:  - LABEL : PRIMARY
    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]:  - URL   : rtsp://192.168.0.220:554/Streaming/Channels/601/
    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]:  - UUID  : STREAM:f5532d6e-0e2f-408c-964d-ee9e4e6bb566
    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]:  - SESS  : b42192a1-53dc-4157-a9af-531818a2afdc
    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]:  - MODIF : Mon Mar 23 2020 20:43:55 GMT+0000 (GMT)
    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]:  - TAGS  : @proxy,@tunnel
    Mar 23 21:21:37 raspberrypi monocle-gateway[17664]: -------------------------------------------------
    
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.301Z [INFO]  [192.168.0.103:44214 <Sk9DujU8I>] RTSP CLIENT SOCKET CONNECTED
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.425Z [INFO]  [192.168.0.103:44214 <Sk9DujU8I>] RTSP CLIENT ATTACHED TO STREAM: Back door (STREAM:f5532d6e-0e2f-408c-964d-ee9e4e6bb566)
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.436Z [INFO]  [192.168.0.103:44214 <Sk9DujU8I>] RTSP ENDPOINT SOCKET CONNECTED {192.168.0.220:554}
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.438Z [DEBUG] [192.168.0.103:44214 <Sk9DujU8I>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp://67031388-386e-45a0-a08c-b2142c8b48de.mproxy.io:443/STREAM:f5532d6e-0e2f-408c-964d-ee9e4e6bb566?session=b42192a1-53dc-4157-a9af-531818a2afdc
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.439Z [TRACE] [192.168.0.103:44214 <Sk9DujU8I>] [CLIENT REQUEST]  --> [HEADERS] {
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]:   "accept": "application/sdp",
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]:   "user-agent": "Fire OS/5.2.7.2 stagefright/1.2 (Linux;Android 5.1.1)",
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]:   "cseq": "1"
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: }
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.443Z [DEBUG] [192.168.0.103:44214 <Sk9DujU8I>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://192.168.0.220:554/Streaming/Channels/601/
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.444Z [TRACE] [192.168.0.103:44214 <Sk9DujU8I>] [ENDPOINT REQUEST]  --> [HEADERS] {
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]:   "accept": "application/sdp",
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]:   "user-agent": "Fire OS/5.2.7.2 stagefright/1.2 (Linux;Android 5.1.1)",
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]:   "cseq": "1"
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: }
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.505Z [DEBUG] [192.168.0.103:44214 <Sk9DujU8I>] [ENDPOINT RESPONSE] <-- [404 (Not Found)] <cseq=1> (session=undefined)
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.505Z [TRACE] [192.168.0.103:44214 <Sk9DujU8I>] [ENDPOINT RESPONSE] <-- [HEADERS] {
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]:   "cseq": "1"
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: }
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.506Z [WARN]  [192.168.0.103:44214 <Sk9DujU8I>] RTSP ENDPOINT RESPONSE ERROR: [DESCRIBE] = 404 (Not Found)
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.512Z [DEBUG] [192.168.0.103:44214 <Sk9DujU8I>] [CLIENT RESPONSE] <-- [404 (Not Found)] <cseq=1> (session=undefined)
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.512Z [TRACE] [192.168.0.103:44214 <Sk9DujU8I>] [CLIENT RESPONSE] <-- [HEADERS] {
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]:   "cseq": "1"
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: }
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.589Z [INFO]  [192.168.0.103:44214 <Sk9DujU8I>] RTSP CLIENT SOCKET CLOSED
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.590Z [INFO]  [192.168.0.103:44214 <Sk9DujU8I>] RTSP CLIENT DETACHED FROM STREAM: Back door (STREAM:f5532d6e-0e2f-408c-964d-ee9e4e6bb566)
    Mar 23 21:21:38 raspberrypi monocle-gateway[17664]: 2020-03-23T21:21:38.590Z [INFO]  [192.168.0.103:44214 <Sk9DujU8I>] RTSP ENDPOINT SOCKET CLOSED [192.168.0.103:44214 <Sk9DujU8I>]
    

    192.168.0.220 is the NVR, 192.168.0.103 is the fire stick.

    For reference, I said to the Firestick “Play back door camera”.

    The URL works as it shows ok in VLC, I’ve made sure the username and password are correct for the authentication, and I’ve tried both BASIC and DIGEST.

    I’ve tried with and without the @proxy tag.

    Could someone please advise what I could try next?


Log in to reply