• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    404 error

    Support
    1
    3
    230
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mikeC79 last edited by

      I have two Dahua cameras with an Echo Show 5 using the monocle gateway. One camera works fine, and the other gives me a 404 error. Both are configured identically on the camera and within the Monocle Portal. I can use VLC to view the RTSP stream for both cameras.

      Here is the output of the camera that does not work:

      ,
      -------------------------------------------------,
      INBOUND RTSP CONNECTION FROM ALEXA:  [192.168.0.19:48362 <xyts5ShD4>],
      -------------------------------------------------,
       - CLIENT.IP    : 192.168.0.19 ( <-- this should be your Alexa device),
       - CLIENT.PORT  : 48362,
       - REQ.ID       : xyts5ShD4,
       - REQ.PROTOCOL : RTSP/1.0,
       - REQ.METHOD   : DESCRIBE,
       - REQ.URL      : rtsp://fbc28238-0bd7-4518-b9c2-8cfc9aef9ca2.mproxy.io:443/STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca?session=68efd6f7-cf0d-47b1-b392-acbb629091f9,
       - STREAM.ID    : STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca,
       - SESSION.ID   : 68efd6f7-cf0d-47b1-b392-acbb629091f9,
      -------------------------------------------------,
      ,
      2021-10-27T01:32:30.798Z [INFO]  [192.168.0.19:48362 <xyts5ShD4>] RTSP CLIENT ATTACHED TO STREAM: Side (STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca),
      2021-10-27T01:32:30.799Z [INFO]  [192.168.0.19:48362 <xyts5ShD4>] RTSP ENDPOINT SOCKET CONNECTED {127.0.0.1:8554},
      2021-10-27T01:32:30.800Z [DEBUG] [192.168.0.19:48362 <xyts5ShD4>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp://fbc28238-0bd7-4518-b9c2-8cfc9aef9ca2.mproxy.io:443/STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca?session=68efd6f7-cf0d-47b1-b392-acbb629091f9,
      2021-10-27T01:32:30.800Z [TRACE] [192.168.0.19:48362 <xyts5ShD4>] [CLIENT REQUEST]  --> [HEADERS] {,
        "accept": "application/sdp",,
        "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",,
        "cseq": "1",
      },
      2021-10-27T01:32:30.801Z [DEBUG] [192.168.0.19:48362 <xyts5ShD4>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://fbc28238-0bd7-4518-b9c2-8cfc9aef9ca2.mproxy.io:443/STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca,
      2021-10-27T01:32:30.801Z [TRACE] [192.168.0.19:48362 <xyts5ShD4>] [ENDPOINT REQUEST]  --> [HEADERS] {,
        "accept": "application/sdp",,
        "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",,
        "cseq": "1",
      },
      2021-10-27T01:32:30.802Z [DEBUG] [192.168.0.19:48362 <xyts5ShD4>] [ENDPOINT RESPONSE] <-- [404 (File Not Found, Or In Incorrect Format)] <cseq=1> (session=undefined),
      2021-10-27T01:32:30.802Z [TRACE] [192.168.0.19:48362 <xyts5ShD4>] [ENDPOINT RESPONSE] <-- [HEADERS] {,
        "cseq": "1",,
        "date": "Wed, Oct 27 2021 01:32:30 GMT",
      },
      2021-10-27T01:32:30.802Z [WARN]  [192.168.0.19:48362 <xyts5ShD4>] RTSP ENDPOINT RESPONSE ERROR: [DESCRIBE] = 404 (File Not Found, Or In Incorrect Format),
      2021-10-27T01:32:30.803Z [DEBUG] [192.168.0.19:48362 <xyts5ShD4>] [CLIENT RESPONSE] <-- [404 (File Not Found, Or In Incorrect Format)] <cseq=1> (session=undefined),
      2021-10-27T01:32:30.803Z [TRACE] [192.168.0.19:48362 <xyts5ShD4>] [CLIENT RESPONSE] <-- [HEADERS] {,
        "cseq": "1",,
        "date": "Wed, Oct 27 2021 01:32:30 GMT",
      },
      2021-10-27T01:32:30.803Z [INFO]  [192.168.0.19:48362 <xyts5ShD4>] RTSP ENDPOINT SOCKET CLOSED [192.168.0.19:48362 <xyts5ShD4>],
      2021-10-27T01:32:30.815Z [INFO]  [192.168.0.19:48362 <xyts5ShD4>] RTSP CLIENT SOCKET CLOSED,
      2021-10-27T01:32:30.815Z [INFO]  [192.168.0.19:48362 <xyts5ShD4>] RTSP CLIENT DETACHED FROM STREAM: Side (STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca),
      ,
      -------------------------------------------------,
      INITIALIZE RTSP STREAM:  Side,
      -------------------------------------------------,
       - NAME          : Side,
       - CAMERA.MFG    : Dahua,
       - CAMERA.MODEL  : IPC-HFW4421S,
       - CAMERA.LABEL  : PRIMARY,
       - RTSP.URL      : rtsp://192.168.0.11:554/,
       - STREAM.ID     : STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca,
       - SESSION.ID    : a1697985-835f-4057-949b-4935f8fed5ae,
       - LAST.MODIFIED : Wed Oct 27 2021 01:20:58 GMT+0000 (Coordinated Universal Time),
       - TAGS          : @proxy,
      -------------------------------------------------,
      ,
      2021-10-27T01:32:31.746Z [INFO]  [192.168.0.19:48364 <wjmMOv1Z3>] RTSP CLIENT SOCKET CONNECTED,
      ,
      -------------------------------------------------,
      INBOUND RTSP CONNECTION FROM ALEXA:  [192.168.0.19:48364 <wjmMOv1Z3>],
      -------------------------------------------------,
       - CLIENT.IP    : 192.168.0.19 ( <-- this should be your Alexa device),
       - CLIENT.PORT  : 48364,
       - REQ.ID       : wjmMOv1Z3,
       - REQ.PROTOCOL : RTSP/1.0,
       - REQ.METHOD   : DESCRIBE,
       - REQ.URL      : rtsp://fbc28238-0bd7-4518-b9c2-8cfc9aef9ca2.mproxy.io:443/STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca?session=a1697985-835f-4057-949b-4935f8fed5ae,
       - STREAM.ID    : STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca,
       - SESSION.ID   : a1697985-835f-4057-949b-4935f8fed5ae,
      -------------------------------------------------,
      ,
      2021-10-27T01:32:31.876Z [INFO]  [192.168.0.19:48364 <wjmMOv1Z3>] RTSP CLIENT ATTACHED TO STREAM: Side (STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca),
      2021-10-27T01:32:31.877Z [INFO]  [192.168.0.19:48364 <wjmMOv1Z3>] RTSP ENDPOINT SOCKET CONNECTED {127.0.0.1:8554},
      2021-10-27T01:32:31.878Z [DEBUG] [192.168.0.19:48364 <wjmMOv1Z3>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp://fbc28238-0bd7-4518-b9c2-8cfc9aef9ca2.mproxy.io:443/STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca?session=a1697985-835f-4057-949b-4935f8fed5ae,
      2021-10-27T01:32:31.878Z [TRACE] [192.168.0.19:48364 <wjmMOv1Z3>] [CLIENT REQUEST]  --> [HEADERS] {,
        "accept": "application/sdp",,
        "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",,
        "cseq": "1",
      },
      2021-10-27T01:32:31.879Z [DEBUG] [192.168.0.19:48364 <wjmMOv1Z3>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://fbc28238-0bd7-4518-b9c2-8cfc9aef9ca2.mproxy.io:443/STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca,
      2021-10-27T01:32:31.879Z [TRACE] [192.168.0.19:48364 <wjmMOv1Z3>] [ENDPOINT REQUEST]  --> [HEADERS] {,
        "accept": "application/sdp",,
        "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",,
        "cseq": "1",
      },
      2021-10-27T01:32:31.879Z [DEBUG] [192.168.0.19:48364 <wjmMOv1Z3>] [ENDPOINT RESPONSE] <-- [404 (File Not Found, Or In Incorrect Format)] <cseq=1> (session=undefined),
      2021-10-27T01:32:31.880Z [TRACE] [192.168.0.19:48364 <wjmMOv1Z3>] [ENDPOINT RESPONSE] <-- [HEADERS] {,
        "cseq": "1",,
        "date": "Wed, Oct 27 2021 01:32:31 GMT",
      },
      2021-10-27T01:32:31.880Z [WARN]  [192.168.0.19:48364 <wjmMOv1Z3>] RTSP ENDPOINT RESPONSE ERROR: [DESCRIBE] = 404 (File Not Found, Or In Incorrect Format),
      2021-10-27T01:32:31.880Z [DEBUG] [192.168.0.19:48364 <wjmMOv1Z3>] [CLIENT RESPONSE] <-- [404 (File Not Found, Or In Incorrect Format)] <cseq=1> (session=undefined),
      2021-10-27T01:32:31.880Z [TRACE] [192.168.0.19:48364 <wjmMOv1Z3>] [CLIENT RESPONSE] <-- [HEADERS] {,
        "cseq": "1",,
        "date": "Wed, Oct 27 2021 01:32:31 GMT",
      },
      2021-10-27T01:32:31.881Z [INFO]  [192.168.0.19:48364 <wjmMOv1Z3>] RTSP ENDPOINT SOCKET CLOSED [192.168.0.19:48364 <wjmMOv1Z3>],
      2021-10-27T01:32:31.887Z [INFO]  [192.168.0.19:48364 <wjmMOv1Z3>] RTSP CLIENT SOCKET CLOSED,
      2021-10-27T01:32:31.887Z [INFO]  [192.168.0.19:48364 <wjmMOv1Z3>] RTSP CLIENT DETACHED FROM STREAM: Side (STREAM:9d6c5ce6-de17-401c-b779-157627cb6eca),
      
      1 Reply Last reply Reply Quote 0
      • M
        mikeC79 last edited by

        I think I might have found the cause of the problem, but not sure how to fix it. I have two cameras:

        rtsp://192.168.0.11:554
        and
        rtsp://192.168.0.12:554

        Using those addresses in VLC works great! However, when I add those RTSP addresses into the Monocle Portal it adds a trailing “/” like this:

        rtsp://192.168.0.11:554/
        and
        rtsp://192.168.0.12:554/

        VLC will open “rtsp://192.168.0.12:554/” but not “rtsp://192.168.0.11:554/”

        It must be a bug in the. firmware of the one camera? Is there any way I can prevent the portal from adding a trailing slash to my camera string?

        1 Reply Last reply Reply Quote 0
        • M
          mikeC79 last edited by

          I’m making progress!!

          The non working camera can also be accessed via:

          rtsp://192.168.0.11/live

          This prevents the auto trailing slash and allows it to work on both VLC and also on my echo show. I do get the following error in the logs by using this method, but the video feed works just fine.

          Error: Invalid RTSP Request-Line: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
          
          
                at Object.parse (/snapshot/workspace/node_modules/rtsp-stream/lib/request-line.js:13:21)
          
          
                at new <anonymous> (/snapshot/workspace/node_modules/rtsp-stream/lib/incoming-message.js:26:24)
          
          
                at Object._writeHead (/snapshot/workspace/node_modules/rtsp-stream/decoder.js:83:15)
          
          
                at Object._writeOffset (/snapshot/workspace/node_modules/rtsp-stream/decoder.js:37:21)
          
          
                at Object._write (/snapshot/workspace/node_modules/rtsp-stream/decoder.js:27:8)
          
          
                at doWrite (/snapshot/workspace/node_modules/readable-stream/lib/_stream_writable.js:428:64)
          
          
                at writeOrBuffer (/snapshot/workspace/node_modules/readable-stream/lib/_stream_writable.js:417:5)
          
          
                at Object.write (/snapshot/workspace/node_modules/readable-stream/lib/_stream_writable.js:334:11)
          
          
                at Socket.ondata (node:internal/streams/readable:754:22)
          
          
                at Socket.emit (node:events:394:28)
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Privacy Policy  |  Terms & Conditions

          © 2018 shadeBlue, LLC.