[RTSP ENDPOINT SOCKET ERROR] [ANSWERED]



  • Hello,

    I have much problems to connect my 4 INSTAR Cameras in Monocle on an Alexa Show 8.

    Thats the console. I installed the monocle Gateway in the container station on my QNAP.

    What means [RTSP ENDPOINT SOCKET ERROR] ?

    My Configuration:

    • Internet over IPV6
    • Windows 2016 Server
    • QNAP

    Can anyone finde a solution? (I think it’s an DNS-Problem) Is it?

    2020-06-08T18:10:40.152Z [INFO]  [192.168.2.17:40434 <S1OXJ-hhI>] RTSP CLIENT ATTACHED TO STREAM: Eingang (STREAM:6452098c-8c5d-41d5-b06d-2e516b4fbb32)                                                                                                                                                                       
    2020-06-08T18:10:40.153Z [ERROR] [192.168.2.17:40434 <S1OXJ-hhI>] [RTSP ENDPOINT SOCKET ERROR] [192.168.2.17:40434 <S1OXJ-hhI>] Error: connect ECONNREFUSED 127.0.0.1:8554                                                                                                                                                    
    [ '[192.168.2.17:40434 <S1OXJ-hhI>]',                                                                                                                                                                                                                                                                                         
      '[RTSP ENDPOINT SOCKET ERROR]',                                                                                                                                                                                                                                                                                             
      '[192.168.2.17:40434 <S1OXJ-hhI>]',                                                                                                                                                                                                                                                                                         
      { Error: connect ECONNREFUSED 127.0.0.1:8554                                                                                                                                                                                                                                                                                
        at Object._errnoException (util.js:1031:13)                                                                                                                                                                                                                                                                               
        at _exceptionWithHostPort (util.js:1052:20)                                                                                                                                                                                                                                                                               
        at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1195:14)                                                                                                                                                                                                                                                           
        errno: 'ECONNREFUSED',                                                                                                                                                                                                                                                                                                    
        code: 'ECONNREFUSED',                                                                                                                                                                                                                                                                                                     
        syscall: 'connect',                                                                                                                                                                                                                                                                                                       
        address: '127.0.0.1',                                                                                                                                                                                                                                                                                                     
        port: 8554 } ]                                                                                                                                                                                                                                                                                                            
    2020-06-08T18:10:40.153Z [ERROR] PROXY ENDPOINT ERROR; Error: connect ECONNREFUSED 127.0.0.1:8554                                                                                                                                                                                                                             
    [ 'PROXY ENDPOINT ERROR;',                                                                                                                                                                                                                                                                                                    
      { Error: connect ECONNREFUSED 127.0.0.1:8554                                                                                                                                                                                                                                                                                
        at Object._errnoException (util.js:1031:13)                                                                                                                                                                                                                                                                               
        at _exceptionWithHostPort (util.js:1052:20)                                                                                                                                                                                                                                                                               
        at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1195:14)                                                                                                                                                                                                                                                           
        errno: 'ECONNREFUSED',                                                                                                                                                                                                                                                                                                    
        code: 'ECONNREFUSED',                                                                                                                                                                                                                                                                                                     
        syscall: 'connect',                                                                                                                                                                                                                                                                                                       
        address: '127.0.0.1',                                                                                                                                                                                                                                                                                                     
        port: 8554 } ]                                                                                                                                                                                                                                                                                                            
    2020-06-08T18:10:40.156Z [INFO]  [192.168.2.17:40434 <S1OXJ-hhI>] RTSP ENDPOINT SOCKET CLOSED [192.168.2.17:40434 <S1OXJ-hhI>]                                                                                                                                                                                                
    2020-06-08T18:11:10.153Z [WARN]  [192.168.2.17:40434 <S1OXJ-hhI>] RTSP CLIENT SOCKET TIMEOUT                                                                                                                                                                                                                                  
    2020-06-08T18:11:10.156Z [INFO]  [192.168.2.17:40434 <S1OXJ-hhI>] RTSP CLIENT SOCKET CLOSED                                                                                                                                                                                                                                   
    2020-06-08T18:11:10.156Z [INFO]  [192.168.2.17:40434 <S1OXJ-hhI>] RTSP CLIENT DETACHED FROM STREAM: Eingang (STREAM:6452098c-8c5d-41d5-b06d-2e516b4fbb32)                                                                                                                                                                     
    2020-06-08T18:12:09.795Z [INFO]  [RTSP PROXY] STREAM [Eingang/PRIMARY] WILL BE DE-REGISTERED IN 4 MINUTES                                                                                                                                                                                                                     
    2020-06-08T18:13:09.855Z [INFO]  [RTSP PROXY] STREAM [Eingang/PRIMARY] WILL BE DE-REGISTERED IN 3 MINUTES                                                                                                                                                                                                                     
    2020-06-08T18:14:09.914Z [INFO]  [RTSP PROXY] STREAM [Eingang/PRIMARY] WILL BE DE-REGISTERED IN 2 MINUTES                                                                                                                                                                                                                     
    2020-06-08T18:15:09.946Z [INFO]  [RTSP PROXY] STREAM [Eingang/PRIMARY] WILL BE DE-REGISTERED IN 1 MINUTES                                                                                                                                                                                                                     
    2020-06-08T18:16:10.006Z [INFO]  [RTSP PROXY] DE-REGISTERING STREAM [Eingang/PRIMARY]; NO LONGER IN USE                                                                                                                                                                                                                       
    2020-06-08T18:16:10.008Z [ERROR] Uncaught Exception connect ECONNREFUSED 127.0.0.1:8554                                                                                                                                                                                                                                       
    [ 'Uncaught Exception', 'connect ECONNREFUSED 127.0.0.1:8554' ]                                                                                                                                                                                                                                                               
    2020-06-08T18:16:10.008Z [ERROR] Error: connect ECONNREFUSED 127.0.0.1:8554                                                                                                                                                                                                                                                   
    [ { Error: connect ECONNREFUSED 127.0.0.1:8554                                                                                                                                                                                                                                                                                
        at Object._errnoException (util.js:1031:13)                                                                                                                                                                                                                                                                               
        at _exceptionWithHostPort (util.js:1052:20)                                                                                                                                                                                                                                                                               
        at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1195:14)                                                                                                                                                                                                                                                           
        errno: 'ECONNREFUSED',                                                                                                                                                                                                                                                                                                    
        code: 'ECONNREFUSED',                                                                                                                                                                                                                                                                                                     
        syscall: 'connect',                                                                                                                                                                                                                                                                                                       
        address: '127.0.0.1',                                                                                                                                                                                                                                                                                                     
        port: 8554 } ]
    


  • @Willi-Monocle

    The error is generated because the Monocle Gateway is not able to connect to the RTSP proxy server. The RTSP proxy server is part of the Monocle Gateway software and should have started automatically when the Monocle Gateway starts up. Can you please restart the gateway and forward the log data that includes all the startup information?

    It’s possible that the proxy server is failing due to a missing dependency. You can manually install the following Microsoft Visual C++ runtime using the link below:

    Please note when starting the service/application, if you get any errors that say the file MSVCR100.DLL is missing, then you will also need to download and install the Microsoft Visual C++ 2010 Runtime Libraries available here: Download Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) from Official Microsoft Download Center

    Thanks, Robert



  • Hy,

    but my monocle is installed on a QNAP Station in the container-station



  • @Willi-Monocle

    When I read “Windows 2016 Server” in your original post, I assumed Windows server for the Monocle Gateway.

    So please go ahead and forward the log that captured the startup and let’s see if there are any errors on startup. Else could the QNAP be blocking access to port 8554?

    Thanks, Robert


Log in to reply