RTSP Streams not showing on Echo Show 5 with NUC Ubuntu Gateway



  • Hi Robert,

    I am really excited about your service. This seems to be an incredible cool solution for getting your House Cams into Alexa Show. Unfortunately I do not seem to get it working properly. I have to 2 Cameras active that I tried to get working. They are both China Cams (One from Wonsview from gearbest and the other from Techage from Aliexpress)
    RTSP Feeds are working. I can see them in VLC and also have them in my Synology Surveillance Station as RTSP Stream.
    When I try to get the setup with monocle (incl gateway) working , I always get the feedback “Cam is not reacting” after some seconds. I used all tags in every combination - activated/deactivated Audio, tried the cams native RTSP Stream as well as the ones generated by the Surveilance Station (which should also work as far as I understood)
    I tried erasing the gateway from the NUC and reinstalled it but still get the same failure everytime trying to access the cams unfortunately. The network is a Wifi with an additional Router to extend the range of the signal (not configured as router, only “Mesh”)

    I have no clue what to try else - it would be really great to get this working on my Echo Show 5 🙂

    ------------
    Sep 15 13:15:25 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:15:25 NUC monocle-gateway[2419]: INITIALIZE RTSP STREAM:  Casa Front 2
    Sep 15 13:15:25 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:15:25 NUC monocle-gateway[2419]:  - NAME  : Casa Front 2
    Sep 15 13:15:25 NUC monocle-gateway[2419]:  - LABEL : PRIMARY
    Sep 15 13:15:25 NUC monocle-gateway[2419]:  - URL   : rtsp://192.168.178.120:554/Sms=6.unicast
    Sep 15 13:15:25 NUC monocle-gateway[2419]:  - UUID  : STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114
    Sep 15 13:15:25 NUC monocle-gateway[2419]:  - SESS  : 3b866b67-15ff-4d4b-a789-e75cb3c0711d
    Sep 15 13:15:25 NUC monocle-gateway[2419]:  - MODIF : Thu Sep 12 2019 21:16:45 GMT+0200 (CEST)
    Sep 15 13:15:25 NUC monocle-gateway[2419]:  - TAGS  : @no-audio,@tunnel
    Sep 15 13:15:25 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:15:27 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:15:27 NUC monocle-gateway[2419]: INITIALIZE RTSP STREAM:  Casa Front 2
    Sep 15 13:15:27 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:15:27 NUC monocle-gateway[2419]:  - NAME  : Casa Front 2
    Sep 15 13:15:27 NUC monocle-gateway[2419]:  - LABEL : PRIMARY
    Sep 15 13:15:27 NUC monocle-gateway[2419]:  - URL   : rtsp://192.168.178.120:554/Sms=6.unicast
    Sep 15 13:15:27 NUC monocle-gateway[2419]:  - UUID  : STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114
    Sep 15 13:15:27 NUC monocle-gateway[2419]:  - SESS  : 4bf5ac76-1977-4575-8e22-5955261cc8ba
    Sep 15 13:15:27 NUC monocle-gateway[2419]:  - MODIF : Thu Sep 12 2019 21:16:45 GMT+0200 (CEST)
    Sep 15 13:15:27 NUC monocle-gateway[2419]:  - TAGS  : @no-audio,@tunnel
    Sep 15 13:15:27 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:15:28 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:15:28 NUC monocle-gateway[2419]: INITIALIZE RTSP STREAM:  Casa Front 2
    Sep 15 13:15:28 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:15:28 NUC monocle-gateway[2419]:  - NAME  : Casa Front 2
    Sep 15 13:15:28 NUC monocle-gateway[2419]:  - LABEL : PRIMARY
    Sep 15 13:15:28 NUC monocle-gateway[2419]:  - URL   : rtsp://192.168.178.120:554/Sms=6.unicast
    Sep 15 13:15:28 NUC monocle-gateway[2419]:  - UUID  : STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114
    Sep 15 13:15:28 NUC monocle-gateway[2419]:  - SESS  : d991a8ff-0d7a-4d4c-a393-097ad831c07f
    Sep 15 13:15:28 NUC monocle-gateway[2419]:  - MODIF : Thu Sep 12 2019 21:16:45 GMT+0200 (CEST)
    Sep 15 13:15:28 NUC monocle-gateway[2419]:  - TAGS  : @no-audio,@tunnel
    Sep 15 13:15:28 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:16:07 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:16:07 NUC monocle-gateway[2419]: INITIALIZE RTSP STREAM:  Casa Front 2
    Sep 15 13:16:07 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:16:07 NUC monocle-gateway[2419]:  - NAME  : Casa Front 2
    Sep 15 13:16:07 NUC monocle-gateway[2419]:  - LABEL : PRIMARY
    Sep 15 13:16:07 NUC monocle-gateway[2419]:  - URL   : rtsp://192.168.178.120:554/Sms=6.unicast
    Sep 15 13:16:07 NUC monocle-gateway[2419]:  - UUID  : STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114
    Sep 15 13:16:07 NUC monocle-gateway[2419]:  - SESS  : 199ca23c-e5e5-47d3-ba68-b9b2b47e9b2f
    Sep 15 13:16:07 NUC monocle-gateway[2419]:  - MODIF : Sun Sep 15 2019 13:16:01 GMT+0200 (CEST)
    Sep 15 13:16:07 NUC monocle-gateway[2419]:  - TAGS  : @no-audio,@tunnel
    Sep 15 13:16:07 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:16:07 NUC monocle-gateway[2419]: RTSP STREAM MODIFIED:  Casa Front 2
    Sep 15 13:16:07 NUC monocle-gateway[2419]:   Any existing RTSP steams will be shut down
    Sep 15 13:16:07 NUC monocle-gateway[2419]:   and a new stream instance will be registered.
    Sep 15 13:16:07 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:16:07 NUC monocle-gateway[2419]: 2019-09-15T11:16:07.314Z [DEBUG] <RTSP-PROXY> [REQUEST]  --> [DEREGISTER] rtsp://192.168.178.120:554/Sms=6.unicast
    Sep 15 13:16:07 NUC monocle-gateway[2419]: 2019-09-15T11:16:07.314Z [TRACE] <RTSP-PROXY> [REQUEST]  --> [HEADERS] {
    Sep 15 13:16:07 NUC monocle-gateway[2419]:   "cseq": "1",
    Sep 15 13:16:07 NUC monocle-gateway[2419]:   "transport": "reuse_connection=0;preferred_delivery_protocol=udp;proxy_url_suffix=STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114"
    Sep 15 13:16:07 NUC monocle-gateway[2419]: }
    Sep 15 13:16:07 NUC monocle-gateway[2419]: 2019-09-15T11:16:07.316Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [451 (Invalid parameter)] <cseq=1> (session=undefined)
    Sep 15 13:16:07 NUC monocle-gateway[2419]: 2019-09-15T11:16:07.316Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] {
    Sep 15 13:16:07 NUC monocle-gateway[2419]:   "cseq": "1",
    Sep 15 13:16:07 NUC monocle-gateway[2419]:   "date": "Sun, Sep 15 2019 11:16:07 GMT"
    Sep 15 13:16:07 NUC monocle-gateway[2419]: }
    Sep 15 13:16:09 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:16:09 NUC monocle-gateway[2419]: INITIALIZE RTSP STREAM:  Casa Front 2
    Sep 15 13:16:09 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:16:09 NUC monocle-gateway[2419]:  - NAME  : Casa Front 2
    Sep 15 13:16:09 NUC monocle-gateway[2419]:  - LABEL : PRIMARY
    Sep 15 13:16:09 NUC monocle-gateway[2419]:  - URL   : rtsp://192.168.178.120:554/Sms=6.unicast
    Sep 15 13:16:09 NUC monocle-gateway[2419]:  - UUID  : STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114
    Sep 15 13:16:09 NUC monocle-gateway[2419]:  - SESS  : 30bd2b6b-7a76-4d49-a38f-df15d8bf8f09
    Sep 15 13:16:09 NUC monocle-gateway[2419]:  - MODIF : Sun Sep 15 2019 13:16:01 GMT+0200 (CEST)
    Sep 15 13:16:09 NUC monocle-gateway[2419]:  - TAGS  : @no-audio,@tunnel
    Sep 15 13:16:09 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:16:10 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:16:10 NUC monocle-gateway[2419]: INITIALIZE RTSP STREAM:  Casa Front 2
    Sep 15 13:16:10 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:16:10 NUC monocle-gateway[2419]:  - NAME  : Casa Front 2
    Sep 15 13:16:10 NUC monocle-gateway[2419]:  - LABEL : PRIMARY
    Sep 15 13:16:10 NUC monocle-gateway[2419]:  - URL   : rtsp://192.168.178.120:554/Sms=6.unicast
    Sep 15 13:16:10 NUC monocle-gateway[2419]:  - UUID  : STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114
    Sep 15 13:16:10 NUC monocle-gateway[2419]:  - SESS  : 567648d0-1ec9-4e98-831b-d36c83793d3b
    Sep 15 13:16:10 NUC monocle-gateway[2419]:  - MODIF : Sun Sep 15 2019 13:16:01 GMT+0200 (CEST)
    Sep 15 13:16:10 NUC monocle-gateway[2419]:  - TAGS  : @no-audio,@tunnel
    Sep 15 13:16:10 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:17:12 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:17:12 NUC monocle-gateway[2419]: INITIALIZE RTSP STREAM:  Casa Front 2
    Sep 15 13:17:12 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:17:12 NUC monocle-gateway[2419]:  - NAME  : Casa Front 2
    Sep 15 13:17:12 NUC monocle-gateway[2419]:  - LABEL : PRIMARY
    Sep 15 13:17:12 NUC monocle-gateway[2419]:  - URL   : rtsp://192.168.178.120:554/Sms=6.unicast
    Sep 15 13:17:12 NUC monocle-gateway[2419]:  - UUID  : STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114
    Sep 15 13:17:12 NUC monocle-gateway[2419]:  - SESS  : 0b457db0-32b0-40e4-a825-281113abd9a7
    Sep 15 13:17:12 NUC monocle-gateway[2419]:  - MODIF : Sun Sep 15 2019 13:16:01 GMT+0200 (CEST)
    Sep 15 13:17:12 NUC monocle-gateway[2419]:  - TAGS  : @no-audio,@tunnel
    Sep 15 13:17:12 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:17:14 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:17:14 NUC monocle-gateway[2419]: INITIALIZE RTSP STREAM:  Casa Front 2
    Sep 15 13:17:14 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:17:14 NUC monocle-gateway[2419]:  - NAME  : Casa Front 2
    Sep 15 13:17:14 NUC monocle-gateway[2419]:  - LABEL : PRIMARY
    Sep 15 13:17:14 NUC monocle-gateway[2419]:  - URL   : rtsp://192.168.178.120:554/Sms=6.unicast
    Sep 15 13:17:14 NUC monocle-gateway[2419]:  - UUID  : STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114
    Sep 15 13:17:14 NUC monocle-gateway[2419]:  - SESS  : caade996-d2bc-474c-9342-02e641e2cf7d
    Sep 15 13:17:14 NUC monocle-gateway[2419]:  - MODIF : Sun Sep 15 2019 13:16:01 GMT+0200 (CEST)
    Sep 15 13:17:14 NUC monocle-gateway[2419]:  - TAGS  : @no-audio,@tunnel
    Sep 15 13:17:14 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:17:15 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:17:15 NUC monocle-gateway[2419]: INITIALIZE RTSP STREAM:  Casa Front 2
    Sep 15 13:17:15 NUC monocle-gateway[2419]: -------------------------------------------------
    Sep 15 13:17:15 NUC monocle-gateway[2419]:  - NAME  : Casa Front 2
    Sep 15 13:17:15 NUC monocle-gateway[2419]:  - LABEL : PRIMARY
    Sep 15 13:17:15 NUC monocle-gateway[2419]:  - URL   : rtsp://192.168.178.120:554/Sms=6.unicast
    Sep 15 13:17:15 NUC monocle-gateway[2419]:  - UUID  : STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114
    Sep 15 13:17:15 NUC monocle-gateway[2419]:  - SESS  : d63927bf-a8c3-4f93-adf0-fa868c6921d5
    Sep 15 13:17:15 NUC monocle-gateway[2419]:  - MODIF : Sun Sep 15 2019 13:16:01 GMT+0200 (CEST)
    Sep 15 13:17:15 NUC monocle-gateway[2419]:  - TAGS  : @no-audio,@tunnel
    Sep 15 13:17:15 NUC monocle-gateway[2419]: -----------------------------------------------
    
     "resolution": {
              "width": "1920",
              "height": "1080"
            },
            "authorizationType": "DIGEST",
            "videoCodec": "H264",
            "audioCodec": "NONE",
            "protocol": "RTSP"
          }
        ]
      },
      {
        "timestamp": "2019-09-15T11:17:12.394Z",
        "request": "InitializeCameraStreams",
        "response": [
          {
            "uri": "rtsp://%USER%:%PWD%@192.168.178.120:554/Sms=6.unicast",
            "proxy": "rtsp://bf6691f9-b96d-4cba-ab62-92d956741caf.mproxy.io:443/STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114?session=0b457db0-32b0-40e4-a825-281113abd9a7",
            "resolution": {
              "width": "1920",
              "height": "1080"
            },
            "authorizationType": "DIGEST",
            "videoCodec": "H264",
            "audioCodec": "NONE",
            "protocol": "RTSP"
          }
        ]
      },
      {
        "timestamp": "2019-09-15T11:16:10.224Z",
        "request": "InitializeCameraStreams",
        "response": [
          {
            "uri": "rtsp://%USER%:%PWD%@192.168.178.120:554/Sms=6.unicast",
            "proxy": "rtsp://bf6691f9-b96d-4cba-ab62-92d956741caf.mproxy.io:443/STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114?session=567648d0-1ec9-4e98-831b-d36c83793d3b",
            "resolution": {
              "width": "1920",
              "height": "1080"
            },
            "authorizationType": "DIGEST",
            "videoCodec": "H264",
            "audioCodec": "NONE",
            "protocol": "RTSP"
          }
        ]
      },
      {
        "timestamp": "2019-09-15T11:16:09.171Z",
        "request": "InitializeCameraStreams",
        "response": [
          {
            "uri": "rtsp://%USER%:%PWD%@192.168.178.120:554/Sms=6.unicast",
            "proxy": "rtsp://bf6691f9-b96d-4cba-ab62-92d956741caf.mproxy.io:443/STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114?session=30bd2b6b-7a76-4d49-a38f-df15d8bf8f09",
            "resolution": {
              "width": "1920",
              "height": "1080"
            },
            "authorizationType": "DIGEST",
            "videoCodec": "H264",
            "audioCodec": "NONE",
            "protocol": "RTSP"
          }
        ]
      },
      {
        "timestamp": "2019-09-15T11:16:07.244Z",
        "request": "InitializeCameraStreams",
        "response": [
          {
            "uri": "rtsp://%USER%:%PWD%@192.168.178.120:554/Sms=6.unicast",
            "proxy": "rtsp://bf6691f9-b96d-4cba-ab62-92d956741caf.mproxy.io:443/STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114?session=199ca23c-e5e5-47d3-ba68-b9b2b47e9b2f",
            "resolution": {
              "width": "1920",
              "height": "1080"
            },
            "authorizationType": "DIGEST",
            "videoCodec": "H264",
            "audioCodec": "NONE",
            "protocol": "RTSP"
          }
        ]
      },
      {
        "timestamp": "2019-09-15T11:15:28.933Z",
        "request": "InitializeCameraStreams",
        "response": [
          {
            "uri": "rtsp://%USER%:%PWD%@192.168.178.120:554/Sms=6.unicast",
            "proxy": "rtsp://bf6691f9-b96d-4cba-ab62-92d956741caf.mproxy.io:443/STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114?session=d991a8ff-0d7a-4d4c-a393-097ad831c07f",
            "resolution": {
              "width": "1920",
              "height": "1080"
            },
            "authorizationType": "DIGEST",
            "videoCodec": "H264",
            "audioCodec": "NONE",
            "protocol": "RTSP"
          }
        ]
      },
      {
        "timestamp": "2019-09-15T11:15:27.744Z",
        "request": "InitializeCameraStreams",
        "response": [
          {
            "uri": "rtsp://%USER%:%PWD%@192.168.178.120:554/Sms=6.unicast",
            "proxy": "rtsp://bf6691f9-b96d-4cba-ab62-92d956741caf.mproxy.io:443/STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114?session=4bf5ac76-1977-4575-8e22-5955261cc8ba",
            "resolution": {
              "width": "1920",
              "height": "1080"
            },
            "authorizationType": "DIGEST",
            "videoCodec": "H264",
            "audioCodec": "NONE",
            "protocol": "RTSP"
          }
        ]
      },
      {
        "timestamp": "2019-09-15T11:15:25.576Z",
        "request": "InitializeCameraStreams",
        "response": [
          {
            "uri": "rtsp://%USER%:%PWD%@192.168.178.120:554/Sms=6.unicast",
            "proxy": "rtsp://bf6691f9-b96d-4cba-ab62-92d956741caf.mproxy.io:443/STREAM:800ac7f6-4feb-4b6b-9017-cbc4fd5ab114?session=3b866b67-15ff-4d4b-a789-e75cb3c0711d",
            "resolution": {
              "width": "1920",
              "height": "1080"
            },
            "authorizationType": "DIGEST",
            "videoCodec": "H264",
            "audioCodec": "NONE",
            "protocol": "RTSP"
          }
        ]
    


  • No info at all? Do I use a bad setup that cannot work?



  • Hi Matze
    Maybe my problems are the same like yours!?
    https://forum.monoclecam.com/topic/270/having-trouble-with-the-gateway
    Regards Christoph



  • Hmmm, I dont think so. I am not running the Gateway on a Synology Docker but on a NUC with Ubuntu. Synology only supplies the Surveillance Station RTSP Feed for the Cams.



  • Bummer… I guess there is no solution for Echo Show 5 then even with Gateway. I now use IOBroker and have Snapshots sent to my VIS. This is also fairly nice.



  • @MegaMatze

    Sorry for the delay, I have been out of the office for a couple of weeks.

    Thanks for the log. It’s telling us that the gateway is configured properly and it’s properly receiving the Alexa camera requests from the Monocle servers.

    What is missing is immediately after the “INITIALIZE RTSP STREAM” block, we should see incoming TCP requests from the Echo device into the gateway and recorded in the log.

    This issue usually comes down to some networking related problem. The Echo device is not communicating with the Monocle Gateway for some reason.

    (1) . Is the Echo device on the same network as the Monocle Gateway. (i.e. not on a guest network or VLAN)

    (2) Make sure the computer running the Monocle Gateway does not have a firewall blocking access to port 443. Make sure this computer does not already have some other service already using port 443 (Apache web server/ NGINX, etc) . You can restart Monocle Gateway and look at the log that captures the startup info to make sure it’s successfully binding to port 443.

    (3) DNS REBINDING. https://monoclecam.com/monocle-gateway/troubleshooting/dns-rebinding


Log in to reply