Unable to connect Reolink Cams with Echo devices



  • Hi all,

    I have two Echo devices (Spot and Show 8 ) and two Reolink cams (RLC511 and RLC410). Both are setup in monocle with tag @tunnel and the gateway is running on one of my servers. The service is running fine:

    1.jpg

    Whenever I want to show a stream on one of the Echo devices Alexa says “the camera is not responding”.

    2.jpg

    What I checked so far:

    • Stream URL copied from Monocle WebUI to VLC works fine. VLC will play the stream
    • Port 443 on the gateway is not blocked and I can telnet to the port from another device within my network
      3.jpg
    • The local monocle gateway IP 192.168.10.3 is correct and pingable
    • The FQDN is resolvable (from my local DNS and also from eg. Google DNS) and returns the correct local gateway IP

    Any idea what could be wrong with my setup?

    Thanks and regards



  • Hi again,

    I managed to get a step further. Apparently my Router firmware had active DNS Rebind Protection. I have defined a exception for *.mproxy.io. Now at least the connection to the gateway works from my Alexa devices. Unfortunately still Alexa says “the camera is not responding”. During the initial connection negotiation I have a 451 and a 401 error. Can you please help on how to overcome this issue?

    Thanks and regards

    Dez 10 13:19:24 iobroker monocle-gateway[32252]: -------------------------------------------------
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: INITIALIZE RTSP STREAM:  Garten
    
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: -------------------------------------------------
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:  - NAME  : Garten
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:  - LABEL : PRIMARY
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:  - URL   : rtsp://192.168.10.230:554/h264Preview_01_main
    
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:  - UUID  : STREAM:e55f9d47-80b5-4a0a-965a-9bc485473ebc
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:  - SESS  : ec8a3574-f8c1-44e5-9893-9c3ba61aa67c
    
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:  - MODIF : Tue Dec 10 2019 13:17:59 GMT+0100 (CET)
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:  - TAGS  : @tunnel
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: -------------------------------------------------
    
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: RTSP STREAM MODIFIED:  Garten
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:   Any existing RTSP steams will be shut down
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:   and a new stream instance will be registered.
    
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: -------------------------------------------------
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: 2019-12-10T12:19:24.029Z [DEBUG] <RTSP-PROXY> [REQUEST]  --> [DEREGISTER] rtsp://192.168.10.230:554/h264Preview_01_main
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: 2019-12-10T12:19:24.030Z [TRACE] <RTSP-PROXY> [REQUEST]  --> [HEADERS] {
    
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:   "cseq": "1",
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:   "transport": "reuse_connection=0;preferred_delivery_protocol=udp;proxy_url_suffix=STREAM:e55f9d47-80b5-4a0a-965a-9bc485473ebc"
    
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: }
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: 2019-12-10T12:19:24.030Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [451 (Invalid parameter)] <cseq=1> (session=undefined)
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: 2019-12-10T12:19:24.030Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] {
    
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:   "cseq": "1",
    Dez 10 13:19:24 iobroker monocle-gateway[32252]:   "date": "Tue, Dec 10 2019 12:19:24 GMT"
    Dez 10 13:19:24 iobroker monocle-gateway[32252]: }
    
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.518Z [INFO]  [192.168.10.136:52360 <BkB8pWpTH>] RTSP CLIENT SOCKET CONNECTED
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.635Z [INFO]  [192.168.10.136:52360 <BkB8pWpTH>] RTSP CLIENT ATTACHED TO STREAM: Garten (STREAM:e55f9d47-80b5-4a0a-965a-9bc485473ebc)
    
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.639Z [INFO]  [192.168.10.136:52360 <BkB8pWpTH>] RTSP ENDPOINT SOCKET CONNECTED {192.168.10.230:554}
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.641Z [DEBUG] [192.168.10.136:52360 <BkB8pWpTH>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp://xxxxxxxx.mproxy.io:443/STREAM:e55f9d47-80b5-4a0a-965a-9bc485473ebc?session=ec8a3574-f8c1-44e5-9893-9c3ba61aa67c
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.641Z [TRACE] [192.168.10.136:52360 <BkB8pWpTH>] [CLIENT REQUEST]  --> [HEADERS] {
    Dez 10 13:19:25 iobroker monocle-gateway[32252]:   "accept": "application/sdp",
    Dez 10 13:19:25 iobroker monocle-gateway[32252]:   "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
    Dez 10 13:19:25 iobroker monocle-gateway[32252]:   "cseq": "1"
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: }
    
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.643Z [DEBUG] [192.168.10.136:52360 <BkB8pWpTH>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://192.168.10.230:554/h264Preview_01_main
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.644Z [TRACE] [192.168.10.136:52360 <BkB8pWpTH>] [ENDPOINT REQUEST]  --> [HEADERS] {
    Dez 10 13:19:25 iobroker monocle-gateway[32252]:   "accept": "application/sdp",
    Dez 10 13:19:25 iobroker monocle-gateway[32252]:   "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
    Dez 10 13:19:25 iobroker monocle-gateway[32252]:   "cseq": "1"
    
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: }
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.651Z [DEBUG] [192.168.10.136:52360 <BkB8pWpTH>] [ENDPOINT RESPONSE] <-- [401 (Unauthorized)] <cseq=1> (session=undefined)
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.651Z [TRACE] [192.168.10.136:52360 <BkB8pWpTH>] [ENDPOINT RESPONSE] <-- [HEADERS] {
    Dez 10 13:19:25 iobroker monocle-gateway[32252]:   "cseq": "1",
    Dez 10 13:19:25 iobroker monocle-gateway[32252]:   "date": "Tue, Dec 10 2019 12:19:25 GMT",
    
    Dez 10 13:19:25 iobroker monocle-gateway[32252]:   "www-authenticate": "Digest realm=\"LIVE555 Streaming Media\", nonce=\"411881da6f77771347de9b459f14db72\""
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: }
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.651Z [INFO]  [192.168.10.136:52360 <BkB8pWpTH>] RTSP ENDPOINT REQUIRES AUTHENTICATION: Digest realm="LIVE555 Streaming Media", nonce="411881da6f77771347de9b459f14db72"
    Dez 10 13:19:25 iobroker monocle-gateway[32252]: 2019-12-10T12:19:25.652Z [INFO]  [192.168.10.136:52360 <BkB8pWpTH>] RTSP ENDPOINT ATTEMPTING AUTHENTICATION: DIGEST
    [...]
    

Log in to reply