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

    RTSP CLIENT SOCKET TIMEOUT

    Support
    1
    1
    129
    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
      mclarence last edited by

      Hello,

      I am trying to use Hikvision/Hiwatch NVR with Amazon Echo Show 5. So far this is where I am up to.

      • Without using the monocle gateway program, the echo is unable to connect to it. It simply speaks out “Hmm This camera is not responding”. While it was trying to connect, I can see that the echo’s screen fades out multiple times but eventually fails to connect.
      • When using the monocle gateway program with @tunnel tag on the camera, it also fails to connect with the same message as above. It seems to retry a few times until it gives up.
      • When using the monocle gateway program with @proxy tag on the camera, it connects succesfully, but after 2-30 seconds it says “bufferring” then disconnects without any further message.
      • I have tried using both
      rtsp://192.168.20.2:554/Streaming/Channels/101 (main-stream) and rtsp://192.168.20.2:554/Streaming/Channels/102 (sub-stream)
      
      • Main stream is 1080p, H264
      • DNS rebinding protection does not seem to be an issue as I am able to ping the …mproxy.io domain, which returns the IP address of the monacle gateway.
      • The cameras/nvr have no audio support

      Network Setup

      • Hikvision NVR, Amazon Echo, Monocle gateway (running as proxmox container) are all on the same VLAN/LAN. The VLAN can only access the internet but not other VLANS/Networks but its self.
      • pfSense is the router/gateway.

      Monocle gateway logs:

      Apr 28 02:29:11 monocle-gw monocle-gateway[439]:  ******************************************************************
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]:  *             __  __  ___  _  _  ___   ___ _    ___              *
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]:  *            |  \/  |/ _ \| \| |/ _ \ / __| |  | __|             *
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]:  *            | |\/| | (_) | .` | (_) | (__| |__| _|              *
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]:  *            |_|  |_|\___/|_|\_|\___/ \___|____|___|             *
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]:  *                                                                *
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]:  ******************************************************************
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: MONOCLE RUNTIME ENVIRONMENT
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: VERSION   = 0.0.4
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: OS/ARCH   = linux/x64
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: PROCESS   = monocle-gateway (PID=439)
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: TIMESTAMP = 2021-04-28T02:29:11.404Z
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: MONOCLE GATEWAY SERVICE         (Version: 0.0.4)
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: [Monocle Starting]
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: [Monocle Connecting]
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: [Monocle Started]
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: [RTSP Server Starting]
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: [RTSP Server Listening] 0.0.0.0:8555 (RTSP)
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: [RTSP Server Listening] 0.0.0.0:443 (RTSP-TLS)
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: [RTSP Proxy Started] (PID=448)
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: [RTSP Server Listening] 0.0.0.0:8554 (PROXY)
      Apr 28 02:29:11 monocle-gw monocle-gateway[439]: [RTSP Server Started]
      
      Apr 28 02:29:12 monocle-gw monocle-gateway[439]: [Monocle Connected]
      Apr 28 02:29:12 monocle-gw monocle-gateway[439]: [RTSP Server Registered]
      Apr 28 02:29:12 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:29:12 monocle-gw monocle-gateway[439]: MONOCLE RTSP SERVICE - INITIALIZED
      Apr 28 02:29:12 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:29:12 monocle-gw monocle-gateway[439]: FQDN = c3f7f583-d8ea-4f75-ad88-a1c3cf1ee557.mproxy.io
      Apr 28 02:29:12 monocle-gw monocle-gateway[439]: HOST = 192.168.20.6
      Apr 28 02:29:12 monocle-gw monocle-gateway[439]: PORT = 443
      Apr 28 02:29:12 monocle-gw monocle-gateway[439]: -------------------------------------------------
      
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]: INITIALIZE RTSP STREAM:  Backyard
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]:  - NAME  : Backyard
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]:  - LABEL : PRIMARY
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]:  - URL   : rtsp://192.168.20.2:554/Streaming/Channels/101
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]:  - UUID  : STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]:  - SESS  : 31a5738a-e565-4528-9f96-321b35763709
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]:  - MODIF : Wed Apr 28 2021 02:29:05 GMT+0000 (UTC)
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]:  - TAGS  : @tunnel
      Apr 28 02:29:24 monocle-gw monocle-gateway[439]: -------------------------------------------------
      
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:25.236Z [INFO]  [192.168.20.10:38652 <SypYdHIvO>] RTSP CLIENT SOCKET CONNECTED
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:25.391Z [INFO]  [192.168.20.10:38652 <SypYdHIvO>] RTSP CLIENT ATTACHED TO STREAM: Backyard (STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e)
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:25.394Z [INFO]  [192.168.20.10:38652 <SypYdHIvO>] RTSP ENDPOINT SOCKET CONNECTED {192.168.20.2:554}
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:25.395Z [DEBUG] [192.168.20.10:38652 <SypYdHIvO>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp://c3f7f583-d8ea-4f75-ad88-a1c3cf1ee557.mproxy.io:443/STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e?session=31a5738a-e565-4528-9f96-321b35763709
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:25.395Z [TRACE] [192.168.20.10:38652 <SypYdHIvO>] [CLIENT REQUEST]  --> [HEADERS] {
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]:   "accept": "application/sdp",
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]:   "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]:   "cseq": "1"
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]: }
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:25.397Z [DEBUG] [192.168.20.10:38652 <SypYdHIvO>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://192.168.20.2:554/Streaming/Channels/101
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:25.397Z [TRACE] [192.168.20.10:38652 <SypYdHIvO>] [ENDPOINT REQUEST]  --> [HEADERS] {
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]:   "accept": "application/sdp",
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]:   "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]:   "cseq": "1"
      Apr 28 02:29:25 monocle-gw monocle-gateway[439]: }
      
      Apr 28 02:29:55 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:55.391Z [WARN]  [192.168.20.10:38652 <SypYdHIvO>] RTSP CLIENT SOCKET TIMEOUT
      Apr 28 02:29:55 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:55.397Z [WARN]  [192.168.20.10:38652 <SypYdHIvO>] RTSP ENDPOINT SOCKET TIMEOUT [192.168.20.10:38652 <SypYdHIvO>]
      Apr 28 02:29:55 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:55.397Z [INFO]  [192.168.20.10:38652 <SypYdHIvO>] RTSP ENDPOINT SOCKET CLOSED [192.168.20.10:38652 <SypYdHIvO>]
      Apr 28 02:29:55 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:55.415Z [INFO]  [192.168.20.10:38652 <SypYdHIvO>] RTSP CLIENT SOCKET CLOSED
      Apr 28 02:29:55 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:55.415Z [INFO]  [192.168.20.10:38652 <SypYdHIvO>] RTSP CLIENT DETACHED FROM STREAM: Backyard (STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e)
      
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]: INITIALIZE RTSP STREAM:  Backyard
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]:  - NAME  : Backyard
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]:  - LABEL : PRIMARY
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]:  - URL   : rtsp://192.168.20.2:554/Streaming/Channels/101
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]:  - UUID  : STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]:  - SESS  : c251bb56-2f7c-4ed0-85d2-cf13266475f6
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]:  - MODIF : Wed Apr 28 2021 02:29:05 GMT+0000 (UTC)
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]:  - TAGS  : @tunnel
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]: -------------------------------------------------
      
      Apr 28 02:29:56 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:56.959Z [INFO]  [192.168.20.10:38664 <ry6jOSIPd>] RTSP CLIENT SOCKET CONNECTED
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:57.085Z [INFO]  [192.168.20.10:38664 <ry6jOSIPd>] RTSP CLIENT ATTACHED TO STREAM: Backyard (STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e)
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:57.086Z [INFO]  [192.168.20.10:38664 <ry6jOSIPd>] RTSP ENDPOINT SOCKET CONNECTED {192.168.20.2:554}
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:57.086Z [DEBUG] [192.168.20.10:38664 <ry6jOSIPd>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp://c3f7f583-d8ea-4f75-ad88-a1c3cf1ee557.mproxy.io:443/STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e?session=c251bb56-2f7c-4ed0-85d2-cf13266475f6
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:57.086Z [TRACE] [192.168.20.10:38664 <ry6jOSIPd>] [CLIENT REQUEST]  --> [HEADERS] {
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]:   "accept": "application/sdp",
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]:   "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]:   "cseq": "1"
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]: }
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:57.087Z [DEBUG] [192.168.20.10:38664 <ry6jOSIPd>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://192.168.20.2:554/Streaming/Channels/101
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]: 2021-04-28T02:29:57.087Z [TRACE] [192.168.20.10:38664 <ry6jOSIPd>] [ENDPOINT REQUEST]  --> [HEADERS] {
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]:   "accept": "application/sdp",
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]:   "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]:   "cseq": "1"
      Apr 28 02:29:57 monocle-gw monocle-gateway[439]: }
      
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:27.085Z [WARN]  [192.168.20.10:38664 <ry6jOSIPd>] RTSP CLIENT SOCKET TIMEOUT
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:27.087Z [WARN]  [192.168.20.10:38664 <ry6jOSIPd>] RTSP ENDPOINT SOCKET TIMEOUT [192.168.20.10:38664 <ry6jOSIPd>]
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:27.088Z [INFO]  [192.168.20.10:38664 <ry6jOSIPd>] RTSP CLIENT SOCKET CLOSED
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:27.088Z [INFO]  [192.168.20.10:38664 <ry6jOSIPd>] RTSP CLIENT DETACHED FROM STREAM: Backyard (STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e)
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:27.088Z [INFO]  [192.168.20.10:38664 <ry6jOSIPd>] RTSP ENDPOINT SOCKET CLOSED [192.168.20.10:38664 <ry6jOSIPd>]
      
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]: INITIALIZE RTSP STREAM:  Backyard
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]: -------------------------------------------------
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]:  - NAME  : Backyard
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]:  - LABEL : PRIMARY
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]:  - URL   : rtsp://192.168.20.2:554/Streaming/Channels/101
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]:  - UUID  : STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]:  - SESS  : fcb37bb9-efd5-4272-a85f-0260112168d2
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]:  - MODIF : Wed Apr 28 2021 02:29:05 GMT+0000 (UTC)
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]:  - TAGS  : @tunnel
      Apr 28 02:30:27 monocle-gw monocle-gateway[439]: -------------------------------------------------
      
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:28.732Z [INFO]  [192.168.20.10:38818 <B1TauH8P_>] RTSP CLIENT SOCKET CONNECTED
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:28.876Z [INFO]  [192.168.20.10:38818 <B1TauH8P_>] RTSP CLIENT ATTACHED TO STREAM: Backyard (STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e)
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:28.877Z [INFO]  [192.168.20.10:38818 <B1TauH8P_>] RTSP ENDPOINT SOCKET CONNECTED {192.168.20.2:554}
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:28.877Z [DEBUG] [192.168.20.10:38818 <B1TauH8P_>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp://c3f7f583-d8ea-4f75-ad88-a1c3cf1ee557.mproxy.io:443/STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e?session=fcb37bb9-efd5-4272-a85f-0260112168d2
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:28.877Z [TRACE] [192.168.20.10:38818 <B1TauH8P_>] [CLIENT REQUEST]  --> [HEADERS] {
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]:   "accept": "application/sdp",
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]:   "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]:   "cseq": "1"
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]: }
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:28.878Z [DEBUG] [192.168.20.10:38818 <B1TauH8P_>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://192.168.20.2:554/Streaming/Channels/101
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:28.878Z [TRACE] [192.168.20.10:38818 <B1TauH8P_>] [ENDPOINT REQUEST]  --> [HEADERS] {
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]:   "accept": "application/sdp",
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]:   "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]:   "cseq": "1"
      Apr 28 02:30:28 monocle-gw monocle-gateway[439]: }
      
      Apr 28 02:30:58 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:58.876Z [WARN]  [192.168.20.10:38818 <B1TauH8P_>] RTSP CLIENT SOCKET TIMEOUT
      Apr 28 02:30:58 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:58.878Z [WARN]  [192.168.20.10:38818 <B1TauH8P_>] RTSP ENDPOINT SOCKET TIMEOUT [192.168.20.10:38818 <B1TauH8P_>]
      Apr 28 02:30:58 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:58.878Z [INFO]  [192.168.20.10:38818 <B1TauH8P_>] RTSP CLIENT SOCKET CLOSED
      Apr 28 02:30:58 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:58.878Z [INFO]  [192.168.20.10:38818 <B1TauH8P_>] RTSP CLIENT DETACHED FROM STREAM: Backyard (STREAM:89683859-a234-4ecb-b1a5-3ba703ed553e)
      Apr 28 02:30:58 monocle-gw monocle-gateway[439]: 2021-04-28T02:30:58.878Z [INFO]  [192.168.20.10:38818 <B1TauH8P_>] RTSP ENDPOINT SOCKET CLOSED [192.168.20.10:38818 <B1TauH8P_>]
      

      Any help is appreciated!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Privacy Policy  |  Terms & Conditions

      © 2018 shadeBlue, LLC.