hmmm...the camera is not responding (HikVision HVR and Echo Show 8 with Monocle Gateway) - please help



  • Hi all.

    First off, please let me say that I have read a ton of posts from people who seemed to have the same problems as me, and I have tried everything I can think of.

    Setup:
    HikVision HVR - RTSP 554, H254 encoded
    Amazon Echo Show 8
    Monocle Gateway

    Gateway initialises ok, seems to say that everything is connected and doesn’t complain about anything (as far as I can see).

    The Gateway seems to try three times at 30 second intervals before Alexa announces that the camera is not responding.

    Any help much appreciated. thanks

    This is my Gateway log:
    F:\Monacle CCTV Gateway\monocle-gateway-windows-x64-v0.0.4>monocle-gateway.exe

     ******************************************************************
     *             __  __  ___  _  _  ___   ___ _    ___              *
     *            |  \/  |/ _ \| \| |/ _ \ / __| |  | __|             *
     *            | |\/| | (_) | .` | (_) | (__| |__| _|              *
     *            |_|  |_|\___/|_|\_|\___/ \___|____|___|             *
     *                                                                *
     ******************************************************************
    
    
    -------------------------------------------------
    MONOCLE RUNTIME ENVIRONMENT
    -------------------------------------------------
    VERSION   = 0.0.4
    OS/ARCH   = win32\x64
    PROCESS   = monocle-gateway (PID=15860)
    TIMESTAMP = 2020-06-02T10:29:54.027Z
    
    -------------------------------------------------
    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=5300)
    [RTSP Server Listening] 0.0.0.0:8554 (PROXY)
    [RTSP Server Started]
    [Monocle Connected]
    [RTSP Server Registered]
    
    -------------------------------------------------
    MONOCLE RTSP SERVICE - INITIALIZED
    -------------------------------------------------
    FQDN = 8fe172f8-078d-4044-bb50-de9727982b2c.mproxy.io
    HOST = 192.168.1.150
    PORT = 443
    -------------------------------------------------
    
    -------------------------------------------------
    INITIALIZE RTSP STREAM:  Front Aerial
    -------------------------------------------------
     - NAME  : Front Aerial
     - LABEL : PRIMARY
     - URL   : rtsp//192.168.1.70:554/streaming/channels/101
     - UUID  : STREAM:23afb29b-ce92-4948-8204-c9567c83dd48
     - SESS  : 718c2356-7aa6-4783-969e-5d7a87b0d56e
     - MODIF : Tue Jun 02 2020 11:28:26 GMT+0100 (GMT Summer Time)
     - TAGS  : @tunnel
    -------------------------------------------------
    2020-06-02T10:30:53.130Z [INFO]  [192.168.1.75:56900 <HJrw9iQhL>] RTSP CLIENT SOCKET CONNECTED
    2020-06-02T10:30:53.271Z [INFO]  [192.168.1.75:56900 <HJrw9iQhL>] RTSP CLIENT ATTACHED TO STREAM: Front Aerial (STREAM:23afb29b-ce92-4948-8204-c9567c83dd48)
    2020-06-02T10:30:53.287Z [INFO]  [192.168.1.75:56900 <HJrw9iQhL>] RTSP ENDPOINT SOCKET CONNECTED {192.168.1.70:554}
    2020-06-02T10:30:53.287Z [DEBUG] [192.168.1.75:56900 <HJrw9iQhL>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp//8fe172f8-078d-4044-bb50-de9727982b2c.mproxy.io:443/STREAM:23afb29b-ce92-4948-8204-c9567c83dd48?session=718c2356-7aa6-4783-969e-5d7a87b0d56e
    2020-06-02T10:30:53.287Z [TRACE] [192.168.1.75:56900 <HJrw9iQhL>] [CLIENT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1"
    }
    2020-06-02T10:30:53.287Z [INFO]  [192.168.1.75:56900 <HJrw9iQhL>] RTSP ENDPOINT ATTEMPTING AUTHENTICATION: BASIC
    2020-06-02T10:30:53.287Z [DEBUG] [192.168.1.75:56900 <HJrw9iQhL>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp//192.168.1.70:554/streaming/channels/101
    2020-06-02T10:30:53.287Z [TRACE] [192.168.1.75:56900 <HJrw9iQhL>] [ENDPOINT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1",
      "authorization": "Basic aGlrOndob2FtaTk5"
    }
    2020-06-02T10:31:23.291Z [WARN]  [192.168.1.75:56900 <HJrw9iQhL>] RTSP CLIENT SOCKET TIMEOUT
    2020-06-02T10:31:23.291Z [INFO]  [192.168.1.75:56900 <HJrw9iQhL>] RTSP CLIENT SOCKET CLOSED
    2020-06-02T10:31:23.291Z [INFO]  [192.168.1.75:56900 <HJrw9iQhL>] RTSP CLIENT DETACHED FROM STREAM: Front Aerial (STREAM:23afb29b-ce92-4948-8204-c9567c83dd48)
    2020-06-02T10:31:23.291Z [INFO]  [192.168.1.75:56900 <HJrw9iQhL>] RTSP ENDPOINT SOCKET CLOSED [192.168.1.75:56900 <HJrw9iQhL>]
    
    -------------------------------------------------
    INITIALIZE RTSP STREAM:  Front Aerial
    -------------------------------------------------
     - NAME  : Front Aerial
     - LABEL : PRIMARY
     - URL   : rtsp//192.168.1.70:554/streaming/channels/101
     - UUID  : STREAM:23afb29b-ce92-4948-8204-c9567c83dd48
     - SESS  : d70d7c70-5640-497c-97f1-8e511d67d744
     - MODIF : Tue Jun 02 2020 11:28:26 GMT+0100 (GMT Summer Time)
     - TAGS  : @tunnel
    -------------------------------------------------
    2020-06-02T10:31:24.385Z [INFO]  [192.168.1.75:56928 <SyNYqo728>] RTSP CLIENT SOCKET CONNECTED
    2020-06-02T10:31:24.510Z [INFO]  [192.168.1.75:56928 <SyNYqo728>] RTSP CLIENT ATTACHED TO STREAM: Front Aerial (STREAM:23afb29b-ce92-4948-8204-c9567c83dd48)
    2020-06-02T10:31:24.510Z [INFO]  [192.168.1.75:56928 <SyNYqo728>] RTSP ENDPOINT SOCKET CONNECTED {192.168.1.70:554}
    2020-06-02T10:31:24.510Z [DEBUG] [192.168.1.75:56928 <SyNYqo728>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp//8fe172f8-078d-4044-bb50-de9727982b2c.mproxy.io:443/STREAM:23afb29b-ce92-4948-8204-c9567c83dd48?session=d70d7c70-5640-497c-97f1-8e511d67d744
    2020-06-02T10:31:24.510Z [TRACE] [192.168.1.75:56928 <SyNYqo728>] [CLIENT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1"
    }
    2020-06-02T10:31:24.526Z [INFO]  [192.168.1.75:56928 <SyNYqo728>] RTSP ENDPOINT ATTEMPTING AUTHENTICATION: BASIC
    2020-06-02T10:31:24.526Z [DEBUG] [192.168.1.75:56928 <SyNYqo728>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp//192.168.1.70:554/streaming/channels/101
    2020-06-02T10:31:24.526Z [TRACE] [192.168.1.75:56928 <SyNYqo728>] [ENDPOINT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1",
      "authorization": "Basic aGlrOndob2FtaTk5"
    }
    2020-06-02T10:31:54.531Z [WARN]  [192.168.1.75:56928 <SyNYqo728>] RTSP CLIENT SOCKET TIMEOUT
    2020-06-02T10:31:54.531Z [WARN]  [192.168.1.75:56928 <SyNYqo728>] RTSP ENDPOINT SOCKET TIMEOUT [192.168.1.75:56928 <SyNYqo728>]
    2020-06-02T10:31:54.531Z [INFO]  [192.168.1.75:56928 <SyNYqo728>] RTSP ENDPOINT SOCKET CLOSED [192.168.1.75:56928 <SyNYqo728>]
    2020-06-02T10:31:54.531Z [INFO]  [192.168.1.75:56928 <SyNYqo728>] RTSP CLIENT SOCKET CLOSED
    2020-06-02T10:31:54.531Z [INFO]  [192.168.1.75:56928 <SyNYqo728>] RTSP CLIENT DETACHED FROM STREAM: Front Aerial (STREAM:23afb29b-ce92-4948-8204-c9567c83dd48)
    
    -------------------------------------------------
    INITIALIZE RTSP STREAM:  Front Aerial
    -------------------------------------------------
     - NAME  : Front Aerial
     - LABEL : PRIMARY
     - URL   : rtsp//192.168.1.70:554/streaming/channels/101
     - UUID  : STREAM:23afb29b-ce92-4948-8204-c9567c83dd48
     - SESS  : 654165d6-cf56-4949-83fe-1117eea935b6
     - MODIF : Tue Jun 02 2020 11:28:26 GMT+0100 (GMT Summer Time)
     - TAGS  : @tunnel
    -------------------------------------------------
    2020-06-02T10:31:55.452Z [INFO]  [192.168.1.75:56952 <SkQj9jm2L>] RTSP CLIENT SOCKET CONNECTED
    2020-06-02T10:31:55.593Z [INFO]  [192.168.1.75:56952 <SkQj9jm2L>] RTSP CLIENT ATTACHED TO STREAM: Front Aerial (STREAM:23afb29b-ce92-4948-8204-c9567c83dd48)
    2020-06-02T10:31:55.593Z [INFO]  [192.168.1.75:56952 <SkQj9jm2L>] RTSP ENDPOINT SOCKET CONNECTED {192.168.1.70:554}
    2020-06-02T10:31:55.593Z [DEBUG] [192.168.1.75:56952 <SkQj9jm2L>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp//8fe172f8-078d-4044-bb50-de9727982b2c.mproxy.io:443/STREAM:23afb29b-ce92-4948-8204-c9567c83dd48?session=654165d6-cf56-4949-83fe-1117eea935b6
    2020-06-02T10:31:55.593Z [TRACE] [192.168.1.75:56952 <SkQj9jm2L>] [CLIENT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1"
    }
    2020-06-02T10:31:55.593Z [INFO]  [192.168.1.75:56952 <SkQj9jm2L>] RTSP ENDPOINT ATTEMPTING AUTHENTICATION: BASIC
    2020-06-02T10:31:55.593Z [DEBUG] [192.168.1.75:56952 <SkQj9jm2L>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp//192.168.1.70:554/streaming/channels/101
    2020-06-02T10:31:55.593Z [TRACE] [192.168.1.75:56952 <SkQj9jm2L>] [ENDPOINT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1",
      "authorization": "Basic aGlrOndob2FtaTk5"
    }
    2020-06-02T10:32:25.598Z [WARN]  [192.168.1.75:56952 <SkQj9jm2L>] RTSP CLIENT SOCKET TIMEOUT
    2020-06-02T10:32:25.598Z [INFO]  [192.168.1.75:56952 <SkQj9jm2L>] RTSP CLIENT SOCKET CLOSED
    2020-06-02T10:32:25.598Z [INFO]  [192.168.1.75:56952 <SkQj9jm2L>] RTSP CLIENT DETACHED FROM STREAM: Front Aerial (STREAM:23afb29b-ce92-4948-8204-c9567c83dd48)
    2020-06-02T10:32:25.598Z [INFO]  [192.168.1.75:56952 <SkQj9jm2L>] RTSP ENDPOINT SOCKET CLOSED [192.168.1.75:56952 <SkQj9jm2L>]
    


  • This is what I have tried so far…

    Changing RTSP port from 554 to 64001 and back again
    Rebooting NVR and Echo
    Digest or Basic authentication
    Stream works fine in VLC
    H265 encoding turned off on NVR
    Same credentials on NVR and Monocle

    … ran out of ideas… 😞



  • Try replicating my settings posted here:
    https://forum.monoclecam.com/topic/717/monocle-gateway-build-for-qnap-nas

    Its for LaView NVR which is a Hikvision rebranded device.



  • @csviegas … hi mate… thanks for commenting. I see you used RTSP port 8554. I did not try that. Presumably you set that in both the NVR AND the Monocle ?

    Why 8554 though? any idea ?

    I will try it…thanks



  • I’m not sure why. It might have been the default or I changed it for some reason.
    The below pic shows the camera itself is 554 but the NVR is 8554 for RTSP.
    camera_vs_nvr.png


Log in to reply