Dns & config monocle - docker synology
-
Hello,
I have a small problem with monocle gateway.
Previously on my synology, it was running on a VM and working fine that way.
I removed the VM to install it on Docker. I erased the token, and recreated a token and redid the installation.The Gateway starts very well, I arrive via CMD ping the DNS *.mproxy.io and as well as the ip 192.168.1.253 where the Gateway is located.
Via the Gateway terminal I manage to ping the IP, but not the DNS, it tells me “bad address”
Can you give me some hints to solve my problem?
The cameras are on surveillance station and work well with VLC
Authentication is on BASIC, and I use @PROXY which worked before on the VM
Here is the log:2022-12-28T20:28:41.038737257Z stdout 2022-12-28T20:28:41.038Z [INFO] [192.168.1.223:58940 <UjLsCYhd_>] RTSP CLIENT DETACHED FROM STREAM: Rue (STREAM:be589f44-11111-2222-3333-56f941347c0f) 2022-12-28T20:28:41.038181518Z stdout 2022-12-28T20:28:41.037Z [INFO] [192.168.1.223:58940 <UjLsCYhd_>] RTSP CLIENT SOCKET CLOSED 2022-12-28T20:28:41.030856970Z stderr 2022-12-28T20:28:41.023Z [WARN] [192.168.1.223:58940 <UjLsCYhd_>] RTSP ENDPOINT RESPONSE ERROR: [DESCRIBE] = 404 (File Not Found, Or In Incorrect Format) 2022-12-28T20:28:41.030789562Z stdout 2022-12-28T20:28:41.026Z [INFO] [192.168.1.223:58940 <UjLsCYhd_>] RTSP ENDPOINT SOCKET CLOSED {127.0.0.1:8554} 2022-12-28T20:28:41.030739127Z stdout 2022-12-28T20:28:41.026Z [INFO] [192.168.1.223:58940 <UjLsCYhd_>] RTSP ENDPOINT SOCKET CLOSED [192.168.1.223:58940 <UjLsCYhd_>] 2022-12-28T20:28:41.030705480Z stdout } 2022-12-28T20:28:41.030655752Z stdout "date": "Wed, Dec 28 2022 20:28:41 GMT" 2022-12-28T20:28:41.030618732Z stdout "cseq": "1", 2022-12-28T20:28:41.030426490Z stdout 2022-12-28T20:28:41.024Z [TRACE] [192.168.1.223:58940 <UjLsCYhd_>] [CLIENT RESPONSE] <-- [HEADERS] { 2022-12-28T20:28:41.030374729Z stdout 2022-12-28T20:28:41.024Z [DEBUG] [192.168.1.223:58940 <UjLsCYhd_>] [CLIENT RESPONSE] <-- [404 (File Not Found, Or In Incorrect Format)] <cseq=1> (session=undefined) 2022-12-28T20:28:41.030339076Z stdout } 2022-12-28T20:28:41.030293504Z stdout "date": "Wed, Dec 28 2022 20:28:41 GMT" 2022-12-28T20:28:41.030251476Z stdout "cseq": "1", 2022-12-28T20:28:41.030201322Z stdout 2022-12-28T20:28:41.022Z [TRACE] [192.168.1.223:58940 <UjLsCYhd_>] [ENDPOINT RESPONSE] <-- [HEADERS] { 2022-12-28T20:28:41.029972406Z stdout 2022-12-28T20:28:41.022Z [DEBUG] [192.168.1.223:58940 <UjLsCYhd_>] [ENDPOINT RESPONSE] <-- [404 (File Not Found, Or In Incorrect Format)] <cseq=1> (session=undefined) 2022-12-28T20:28:41.028187374Z stdout } 2022-12-28T20:28:41.027940152Z stdout "authorization": "Basic c3lubzpmMjg3Mzc0******jE2MmE3YmMzMzM2YQ==" 2022-12-28T20:28:41.021616394Z stdout "cseq": "1", 2022-12-28T20:28:41.021564668Z stdout "user-agent": "Fire OS/5.5.5.6 stagefright/1.2 (Linux;Android 5.1.1)", 2022-12-28T20:28:41.021402241Z stdout "accept": "application/sdp", 2022-12-28T20:28:41.021090343Z stdout 2022-12-28T20:28:41.020Z [TRACE] [192.168.1.223:58940 <UjLsCYhd_>] [ENDPOINT REQUEST] --> [HEADERS] { 2022-12-28T20:28:41.020692003Z stdout 2022-12-28T20:28:41.020Z [DEBUG] [192.168.1.223:58940 <UjLsCYhd_>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://1f38461f-1111-2222-3333-d5854444acc8.mproxy.io:443/STREAM:be589f44-11111-2222-3333-56f941347c0f 2022-12-28T20:28:41.018696348Z stdout 2022-12-28T20:28:41.018Z [INFO] [192.168.1.223:58940 <UjLsCYhd_>] RTSP ENDPOINT ATTEMPTING AUTHENTICATION: BASIC 2022-12-28T20:28:41.018646211Z stdout } 2022-12-28T20:28:41.018576812Z stdout "cseq": "1" 2022-12-28T20:28:41.018285251Z stdout "user-agent": "Fire OS/5.5.5.6 stagefright/1.2 (Linux;Android 5.1.1)", 2022-12-28T20:28:41.018227994Z stdout "accept": "application/sdp", 2022-12-28T20:28:41.017999327Z stdout 2022-12-28T20:28:41.017Z [TRACE] [192.168.1.223:58940 <UjLsCYhd_>] [CLIENT REQUEST] --> [HEADERS] { 2022-12-28T20:28:41.017524798Z stdout 2022-12-28T20:28:41.017Z [DEBUG] [192.168.1.223:58940 <UjLsCYhd_>] [CLIENT REQUEST] --> [DESCRIBE] rtsp://1f38461f-1111-2222-3333-d5854444acc8.mproxy.io:443/STREAM:be589f44-11111-2222-3333-56f941347c0f?session=8776bf05-*****-*****-*****-b5eddfe6684e 2022-12-28T20:28:41.016075275Z stdout 2022-12-28T20:28:41.015Z [INFO] [192.168.1.223:58940 <UjLsCYhd_>] RTSP ENDPOINT SOCKET CONNECTED {127.0.0.1:8554} 2022-12-28T20:28:41.014903476Z stdout 2022-12-28T20:28:41.014Z [INFO] [192.168.1.223:58940 <UjLsCYhd_>] RTSP ENDPOINT SOCKET CONNECTING TO: {127.0.0.1:8554} 2022-12-28T20:28:41.013401143Z stdout 2022-12-28T20:28:41.012Z [INFO] [192.168.1.223:58940 <UjLsCYhd_>] RTSP CLIENT ATTACHED TO STREAM: Rue (STREAM:be589f44-11111-2222-3333-56f941347c0f) 2022-12-28T20:28:41.013366898Z stdout 2022-12-28T20:28:41.013319101Z stdout ------------------------------------------------- 2022-12-28T20:28:41.013091009Z stdout - SESSION.ID : 8776bf05-*****-*****-*****-b5eddfe6684e 2022-12-28T20:28:41.012853404Z stdout - STREAM.ID : STREAM:be589f44-11111-2222-3333-56f941347c0f 2022-12-28T20:28:41.012716212Z stdout - REQ.URL : rtsp://1f38461f-1111-2222-3333-d5854444acc8.mproxy.io:443/STREAM:be589f44-11111-2222-3333-56f941347c0f?session=8776bf05-*****-*****-*****-b5eddfe6684e 2022-12-28T20:28:41.012651065Z stdout - REQ.METHOD : DESCRIBE 2022-12-28T20:28:41.012558324Z stdout - REQ.PROTOCOL : RTSP/1.0 2022-12-28T20:28:41.011903601Z stdout - REQ.ID : UjLsCYhd_ 2022-12-28T20:28:41.011679178Z stdout - CLIENT.PORT : 58940 2022-12-28T20:28:41.011627659Z stdout - CLIENT.IP : 192.168.1.223 ( <-- this should be your Alexa device) 2022-12-28T20:28:41.011584557Z stdout ------------------------------------------------- 2022-12-28T20:28:41.011522729Z stdout INBOUND RTSP CONNECTION FROM ALEXA: [192.168.1.223:58940 <UjLsCYhd_>] 2022-12-28T20:28:41.011444357Z stdout ------------------------------------------------- 2022-12-28T20:28:41.010987850Z stdout 2022-12-28T20:28:40.883611670Z stdout 2022-12-28T20:28:40.883Z [INFO] [192.168.1.223:58940 <UjLsCYhd_>] RTSP CLIENT SOCKET CONNECTED 2022-12-28T20:28:39.782961181Z stderr ] 2022-12-28T20:28:39.782905404Z stderr 'DNS RESOLVE ERROR: Error: queryA ENODATA 1f38461f-1111-2222-3333-d5854444acc8.mproxy.io' 2022-12-28T20:28:39.782757665Z stderr [ 2022-12-28T20:28:39.777968573Z stderr 2022-12-28T20:28:39.777Z [ERROR] DNS RESOLVE ERROR: Error: queryA ENODATA 1f38461f-1111-2222-3333-d5854444acc8.mproxy.io 2022-12-28T20:28:39.766765977Z stdout } 2022-12-28T20:28:39.766701192Z stdout "date": "Wed, Dec 28 2022 20:28:39 GMT" 2022-12-28T20:28:39.766645964Z stdout "cseq": "1", 2022-12-28T20:28:39.766429319Z stdout 2022-12-28T20:28:39.766Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] { 2022-12-28T20:28:39.765836373Z stdout 2022-12-28T20:28:39.765Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) 2022-12-28T20:28:39.760437771Z stdout } 2022-12-28T20:28:39.760365151Z stdout "transport": "reuse_connection=0;preferred_delivery_protocol=udp;proxy_url_suffix=STREAM:be589f44-11111-2222-3333-56f941347c0f;username=syno;password=f287374308*****************7bc3336a" 2022-12-28T20:28:39.760323990Z stdout "cseq": "1", 2022-12-28T20:28:39.760137037Z stdout 2022-12-28T20:28:39.759Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] { 2022-12-28T20:28:39.759650853Z stdout 2022-12-28T20:28:39.759Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [REGISTER] rtsp://192.168.1.100:554/Sms=3.unicast 2022-12-28T20:28:39.749490904Z stdout 2022-12-28T20:28:39.748Z [INFO] [RTSP PROXY] REGISTERING STREAM [Rue/PRIMARY]; (STREAM:be589f44-11111-2222-3333-56f941347c0f) 2022-12-28T20:28:39.749447146Z stdout 2022-12-28T20:28:39.749400793Z stdout please see: https://monoclecam.com/monocle-gateway-troubleshooting 2022-12-28T20:28:39.749345531Z stdout NOTE: If you don't receive any inbound connection log statements, 2022-12-28T20:28:39.749296478Z stdout 2022-12-28T20:28:39.749070255Z stdout -> This DNS host address should resolve to: 192.168.1.253:443 on your network. 2022-12-28T20:28:39.749019256Z stdout -> DNS URL: rtsp://1f38461f-1111-2222-3333-d5854444acc8.mproxy.io:443/STREAM:be589f44-11111-2222-3333-56f941347c0f 2022-12-28T20:28:39.748961574Z stdout establishing an inbound connection to this gateway instance via: 2022-12-28T20:28:39.748795518Z stdout ATTENTION -> Next you should see log statements showing your camera 2022-12-28T20:28:39.748762528Z stdout 2022-12-28T20:28:39.748727790Z stdout ------------------------------------------------- 2022-12-28T20:28:39.748689024Z stdout - TAGS : @proxy 2022-12-28T20:28:39.748631942Z stdout - LAST.MODIFIED : Wed Dec 28 2022 17:57:28 GMT+0000 (Coordinated Universal Time) 2022-12-28T20:28:39.748547193Z stdout - SESSION.ID : 8776bf05-*****-*****-*****-b5eddfe6684e 2022-12-28T20:28:39.748503037Z stdout - STREAM.ID : STREAM:be589f44-11111-2222-3333-56f941347c0f 2022-12-28T20:28:39.748453459Z stdout - RTSP.URL : rtsp://192.168.1.100:554/Sms=3.unicast 2022-12-28T20:28:39.748417128Z stdout - CAMERA.LABEL : PRIMARY 2022-12-28T20:28:39.748378779Z stdout - CAMERA.MODEL : Diagral 2022-12-28T20:28:39.748335885Z stdout - CAMERA.MFG : Diagral 2022-12-28T20:28:39.748296999Z stdout - NAME : Rue 2022-12-28T20:28:39.748255995Z stdout ------------------------------------------------- 2022-12-28T20:28:39.748207716Z stdout INITIALIZE RTSP STREAM: Rue 2022-12-28T20:28:39.748094565Z stdout ------------------------------------------------- 2022-12-28T20:28:39.747525451Z stdout 2022-12-28T20:25:53.834793722Z stdout ------------------------------------------------- 2022-12-28T20:25:53.834743602Z stdout PORT = 443 2022-12-28T20:25:53.834690417Z stdout HOST = 192.168.1.253 2022-12-28T20:25:53.834644367Z stdout FQDN = 1f38461f-1111-2222-3333-d5854444acc8.mproxy.io 2022-12-28T20:25:53.834597937Z stdout ------------------------------------------------- 2022-12-28T20:25:53.834532166Z stdout MONOCLE RTSP SERVICE - INITIALIZED 2022-12-28T20:25:53.834468509Z stdout ------------------------------------------------- 2022-12-28T20:25:53.834044332Z stdout 2022-12-28T20:25:53.731913515Z stdout [RTSP Server Registered] 2022-12-28T20:25:53.731648027Z stdout [Monocle Connected] 2022-12-28T20:25:53.433898399Z stdout [RTSP Server Started] 2022-12-28T20:25:53.432866698Z stdout [RTSP Server Listening] 0.0.0.0:8554 (PROXY) 2022-12-28T20:25:53.431665633Z stdout [RTSP Proxy Started] (PID=19) 2022-12-28T20:25:53.234221524Z stdout [RTSP Server Listening] 0.0.0.0:443 (RTSP-TLS) 2022-12-28T20:25:53.230544338Z stdout [RTSP Server Listening] 0.0.0.0:8555 (RTSP) 2022-12-28T20:25:53.228432454Z stdout [RTSP Server Starting] 2022-12-28T20:25:53.227334463Z stdout [Monocle Started] 2022-12-28T20:25:53.187603370Z stdout [Monocle Connecting] 2022-12-28T20:25:53.186501834Z stdout [Monocle Starting] 2022-12-28T20:25:53.185295482Z stdout ------------------------------------------------- 2022-12-28T20:25:53.183733449Z stdout MONOCLE GATEWAY SERVICE (Version: 0.0.6) 2022-12-28T20:25:53.183336037Z stdout ------------------------------------------------- 2022-12-28T20:25:53.182524724Z stdout 2022-12-28T20:25:53.182035336Z stdout TIMESTAMP = 2022-12-28T20:25:53.181Z 2022-12-28T20:25:53.181226461Z stdout PROCESS = monocle-gateway (PID=1) 2022-12-28T20:25:53.180639786Z stdout OS/ARCH = linux/x64 2022-12-28T20:25:53.179899804Z stdout VERSION = 0.0.6 2022-12-28T20:25:53.177006769Z stdout ------------------------------------------------- 2022-12-28T20:25:53.176685984Z stdout MONOCLE RUNTIME ENVIRONMENT 2022-12-28T20:25:53.176331176Z stdout ------------------------------------------------- 2022-12-28T20:25:53.175703825Z stdout 2022-12-28T20:25:52.066578738Z stdout 2022-12-28T20:25:52.066544650Z stdout ****************************************************************** 2022-12-28T20:25:52.066509785Z stdout * * 2022-12-28T20:25:52.066470475Z stdout * |_| |_|\___/|_|\_|\___/ \___|____|___| * 2022-12-28T20:25:52.066427176Z stdout * | |\/| | (_) | .` | (_) | (__| |__| _| * 2022-12-28T20:25:52.066388389Z stdout * | \/ |/ _ \| \| |/ _ \ / __| | | __| * 2022-12-28T20:25:52.066335601Z stdout * __ __ ___ _ _ ___ ___ _ ___ * 2022-12-28T20:25:52.066188600Z stdout ******************************************************************
-
docker-compose
version: '2' services: monocle-gateway: container_name: monocle-gateway hostname: monocle-gateway image: monoclecam/monocle-gateway restart: always volumes: - /volume1/docker/monocle:/etc/monocle networks: monocle-gateway-network: ipv4_address: 192.168.1.253 networks: monocle-gateway-network: driver: macvlan driver_opts: parent: ovs_eth0 ipam: config: - subnet: 192.168.1.0/24 gateway: 192.168.1.254
-
I have run into some cases where I had to explicitly define the DNS servers for the container to use.
Try adding DNS configuration to your docker-compose.
services: monocle-gateway: container_name: monocle-gateway hostname: monocle-gateway image: monoclecam/monocle-gateway restart: always volumes: - /volume1/docker/monocle:/etc/monocle dns: - 8.8.8.8 - 1.1.1.1 networks: monocle-gateway-network: ipv4_address: 192.168.1.253
In this example I used Google (8.8.8.8) and CloudFlare (1.1.1.1) DNS servers.
The error is most likely because the container either is unable to communicate to the Internet (due to some network config issue) or is unable to resolve the DNS record due to lack of DNS server or potentially your router or ISP blocking DNS REBINDING requests.
-
@Mins95 - I had to follow these steps:
xn--Cant reach Synology Docker containers IP from LAN in while using macvlan-pb69b7a
@Monocole - Maybe this should be added to the Synology page?
-
Hello and thank,
With the addition of DNS it works.
but Alexa still won’t show me the stream.
I tried the different tags, but the one that works with linux does not work with DOCKER
023-01-15T16:09:26.661246075Z stdout ------------------------------------------------- 2023-01-15T16:09:26.601519257Z stdout 2023-01-15T16:09:26.119972406Z stdout 2023-01-15T16:09:26.119Z [INFO] [192.168.1.223:47543 <W-ZFWbd3T>] RTSP CLIENT DETACHED FROM STREAM: Rue (STREAM:be589f44-******-*****-*****-56f941347c0f) 2023-01-15T16:09:26.118828578Z stdout 2023-01-15T16:09:26.118Z [INFO] [192.168.1.223:47543 <W-ZFWbd3T>] RTSP CLIENT SOCKET CLOSED 2023-01-15T16:09:26.112540787Z stdout 2023-01-15T16:09:26.111Z [INFO] [192.168.1.223:47543 <W-ZFWbd3T>] RTSP ENDPOINT SOCKET CLOSED {127.0.0.1:8554} 2023-01-15T16:09:26.111881091Z stdout 2023-01-15T16:09:26.111Z [INFO] [192.168.1.223:47543 <W-ZFWbd3T>] RTSP ENDPOINT SOCKET CLOSED [192.168.1.223:47543 <W-ZFWbd3T>] 2023-01-15T16:09:26.109091516Z stdout } 2023-01-15T16:09:26.109048822Z stdout "date": "Sun, Jan 15 2023 16:09:26 GMT" 2023-01-15T16:09:26.109008083Z stdout "cseq": "1", 2023-01-15T16:09:26.108945516Z stdout 2023-01-15T16:09:26.108Z [TRACE] [192.168.1.223:47543 <W-ZFWbd3T>] [CLIENT RESPONSE] <-- [HEADERS] { 2023-01-15T16:09:26.108694017Z stdout 2023-01-15T16:09:26.108Z [DEBUG] [192.168.1.223:47543 <W-ZFWbd3T>] [CLIENT RESPONSE] <-- [404 (File Not Found, Or In Incorrect Format)] <cseq=1> (session=undefined) 2023-01-15T16:09:26.105889382Z stdout } 2023-01-15T16:09:26.105847010Z stdout "date": "Sun, Jan 15 2023 16:09:26 GMT" 2023-01-15T16:09:26.105806071Z stdout "cseq": "1", 2023-01-15T16:09:26.105696731Z stdout 2023-01-15T16:09:26.104Z [TRACE] [192.168.1.223:47543 <W-ZFWbd3T>] [ENDPOINT RESPONSE] <-- [HEADERS] { 2023-01-15T16:09:26.105448842Z stderr 2023-01-15T16:09:26.104Z [WARN] [192.168.1.223:47543 <W-ZFWbd3T>] RTSP ENDPOINT RESPONSE ERROR: [DESCRIBE] = 404 (File Not Found, Or In Incorrect Format) 2023-01-15T16:09:26.104613076Z stdout 2023-01-15T16:09:26.104Z [DEBUG] [192.168.1.223:47543 <W-ZFWbd3T>] [ENDPOINT RESPONSE] <-- [404 (File Not Found, Or In Incorrect Format)] <cseq=1> (session=undefined) 2023-01-15T16:09:26.102872142Z stdout } 2023-01-15T16:09:26.102828009Z stdout "authorization": "Basic c3lubzpmMjg3Mzc0****************hNjE2MmE3YmMzMzM2YQ==" 2023-01-15T16:09:26.102790895Z stdout "cseq": "1", 2023-01-15T16:09:26.102743609Z stdout "user-agent": "Fire OS/5.5.5.6 stagefright/1.2 (Linux;Android 5.1.1)", 2023-01-15T16:09:26.102693985Z stdout "accept": "application/sdp", 2023-01-15T16:09:26.102514926Z stdout 2023-01-15T16:09:26.101Z [TRACE] [192.168.1.223:47543 <W-ZFWbd3T>] [ENDPOINT REQUEST] --> [HEADERS] { 2023-01-15T16:09:26.101731837Z stdout 2023-01-15T16:09:26.101Z [DEBUG] [192.168.1.223:47543 <W-ZFWbd3T>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://55555555-kk111-222-3333-1b27a61c9a6d.mproxy.io:443/STREAM:be589f44-******-*****-*****-56f941347c0f 2023-01-15T16:09:26.096108243Z stdout 2023-01-15T16:09:26.095Z [INFO] [192.168.1.223:47543 <W-ZFWbd3T>] RTSP ENDPOINT ATTEMPTING AUTHENTICATION: BASIC 2023-01-15T16:09:26.096013676Z stdout } 2023-01-15T16:09:26.095038530Z stdout "cseq": "1" 2023-01-15T16:09:26.094986060Z stdout "user-agent": "Fire OS/5.5.5.6 stagefright/1.2 (Linux;Android 5.1.1)", 2023-01-15T16:09:26.094940114Z stdout "accept": "application/sdp", 2023-01-15T16:09:26.094749935Z stdout 2023-01-15T16:09:26.094Z [TRACE] [192.168.1.223:47543 <W-ZFWbd3T>] [CLIENT REQUEST] --> [HEADERS] { 2023-01-15T16:09:26.094091710Z stdout 2023-01-15T16:09:26.093Z [DEBUG] [192.168.1.223:47543 <W-ZFWbd3T>] [CLIENT REQUEST] --> [DESCRIBE] rtsp://55555555-kk111-222-3333-1b27a61c9a6d.mproxy.io:443/STREAM:be589f44-******-*****-*****-56f941347c0f?session=00ee0b07-d795-421e-abac- 2023-01-15T16:09:26.091944530Z stdout 2023-01-15T16:09:26.091Z [INFO] [192.168.1.223:47543 <W-ZFWbd3T>] RTSP ENDPOINT SOCKET CONNECTED {127.0.0.1:8554} 2023-01-15T16:09:26.090020598Z stdout 2023-01-15T16:09:26.089Z [INFO] [192.168.1.223:47543 <W-ZFWbd3T>] RTSP ENDPOINT SOCKET CONNECTING TO: {127.0.0.1:8554} 2023-01-15T16:09:26.088635496Z stdout 2023-01-15T16:09:26.087Z [INFO] [192.168.1.223:47543 <W-ZFWbd3T>] RTSP CLIENT ATTACHED TO STREAM: Rue (STREAM:be589f44-******-*****-*****-56f941347c0f) 2023-01-15T16:09:26.088600015Z stdout 2023-01-15T16:09:26.088565708Z stdout ------------------------------------------------- 2023-01-15T16:09:26.088527488Z stdout - SESSION.ID : 00ee0b07-d795-421e-abac-c 2023-01-15T16:09:26.088488680Z stdout - STREAM.ID : STREAM:be589f44-******-*****-*****-56f941347c0f 2023-01-15T16:09:26.088436550Z stdout - REQ.URL : rtsp://55555555-kk111-222-3333-1b27a61c9a6d.mproxy.io:443/STREAM:be589f44-******-*****-*****-56f941347c0f?session=00ee0b07-d795-421e-abac- 2023-01-15T16:09:26.088398055Z stdout - REQ.METHOD : DESCRIBE 2023-01-15T16:09:26.088356041Z stdout - REQ.PROTOCOL : RTSP/1.0 2023-01-15T16:09:26.088311160Z stdout - REQ.ID : W-ZFWbd3T 2023-01-15T16:09:26.088200025Z stdout - CLIENT.PORT : 47543 2023-01-15T16:09:26.088152464Z stdout - CLIENT.IP : 192.168.1.223 ( <-- this should be your Alexa device) 2023-01-15T16:09:26.088100554Z stdout ------------------------------------------------- 2023-01-15T16:09:26.088036651Z stdout INBOUND RTSP CONNECTION FROM ALEXA: [192.168.1.223:47543 <W-ZFWbd3T>] 2023-01-15T16:09:26.087972850Z stdout ------------------------------------------------- 2023-01-15T16:09:26.087706689Z stdout 2023-01-15T16:09:25.959334105Z stdout 2023-01-15T16:09:25.959Z [INFO] [192.168.1.223:47543 <W-ZFWbd3T>] RTSP CLIENT SOCKET CONNECTED 2023-01-15T16:09:25.460110548Z stdout } 2023-01-15T16:09:25.460066007Z stdout "date": "Sun, Jan 15 2023 16:09:25 GMT" 2023-01-15T16:09:25.460028374Z stdout "cseq": "1", 2023-01-15T16:09:25.459977797Z stdout 2023-01-15T16:09:25.459Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] { 2023-01-15T16:09:25.459724844Z stdout 2023-01-15T16:09:25.459Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) 2023-01-15T16:09:25.457550043Z stdout } 2023-01-15T16:09:25.457483941Z stdout "transport": "reuse_connection=0;preferred_delivery_protocol=udp;proxy_url_suffix=STREAM:be589f44-******-*****-*****-56f941347c0f;username=syno;password=f287374308d39eb29ca6162a7bc3336a" 2023-01-15T16:09:25.457442833Z stdout "cseq": "1", 2023-01-15T16:09:25.457276015Z stdout 2023-01-15T16:09:25.456Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] { 2023-01-15T16:09:25.456099905Z stdout 2023-01-15T16:09:25.455Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [REGISTER] rtsp://192.168.1.100:554/Sms=3.unicast 2023-01-15T16:09:25.445783368Z stdout 2023-01-15T16:09:25.442Z [INFO] [RTSP PROXY] REGISTERING STREAM [Rue/PRIMARY]; (STREAM:be589f44-******-*****-*****-56f941347c0f) 2023-01-15T16:09:25.445742841Z stdout 2023-01-15T16:09:25.445696734Z stdout please see: https://monoclecam.com/monocle-gateway-troubleshooting 2023-01-15T16:09:25.445646209Z stdout NOTE: If you don't receive any inbound connection log statements, 2023-01-15T16:09:25.445599236Z stdout 2023-01-15T16:09:25.444730243Z stdout -> This DNS host address should resolve to: 192.168.1.253:443 on your network. 2023-01-15T16:09:25.442518275Z stdout -> DNS URL: rtsp://55555555-kk111-222-3333-1b27a61c9a6d.mproxy.io:443/STREAM:be589f44-******-*****-*****-56f941347c0f 2023-01-15T16:09:25.442461745Z stdout establishing an inbound connection to this gateway instance via: 2023-01-15T16:09:25.442410572Z stdout ATTENTION -> Next you should see log statements showing your camera 2023-01-15T16:09:25.442376910Z stdout 2023-01-15T16:09:25.442339568Z stdout ------------------------------------------------- 2023-01-15T16:09:25.442301361Z stdout - TAGS : @proxy 2023-01-15T16:09:25.442244131Z stdout - LAST.MODIFIED : Sun Jan 15 2023 16:00:18 GMT+0000 (Coordinated Universal Time) 2023-01-15T16:09:25.442158364Z stdout - SESSION.ID : 00ee0b07-d795-421e-abac- 2023-01-15T16:09:25.442098357Z stdout - STREAM.ID : STREAM:be589f44-******-*****-*****-56f941347c0f 2023-01-15T16:09:25.442049939Z stdout - RTSP.URL : rtsp://192.168.1.100:554/Sms=3.unicast 2023-01-15T16:09:25.442012147Z stdout - CAMERA.LABEL : PRIMARY 2023-01-15T16:09:25.441971432Z stdout - CAMERA.MODEL : Diagral 2023-01-15T16:09:25.441934110Z stdout - CAMERA.MFG : Diagral 2023-01-15T16:09:25.441895756Z stdout - NAME : Rue 2023-01-15T16:09:25.441856477Z stdout ------------------------------------------------- 2023-01-15T16:09:25.441803862Z stdout INITIALIZE RTSP STREAM: Rue 2023-01-15T16:09:25.441706400Z stdout ------------------------------------------------- 2023-01-15T16:09:25.440693507Z stdout 2023-01-15T16:09:12.002931023Z stdout ------------------------------------------------- 2023-01-15T16:09:12.002886795Z stdout PORT = 443 2023-01-15T16:09:12.002805690Z stdout HOST = 192.168.1.253 2023-01-15T16:09:12.002719338Z stdout FQDN = 55555555-kk111-222-3333-1b27a61c9a6d.mproxy.io 2023-01-15T16:09:12.002634480Z stdout ------------------------------------------------- 2023-01-15T16:09:12.002535447Z stdout MONOCLE RTSP SERVICE - INITIALIZED 2023-01-15T16:09:12.002365301Z stdout ------------------------------------------------- 2023-01-15T16:09:12.001823212Z stdout 2023-01-15T16:09:11.899822645Z stdout [RTSP Server Registered] 2023-01-15T16:09:11.898729360Z stdout [Monocle Connected] 2023-01-15T16:09:11.613271572Z stdout [RTSP Server Started] 2023-01-15T16:09:11.613072141Z stdout [RTSP Server Listening] 0.0.0.0:8554 (PROXY) 2023-01-15T16:09:11.612286707Z stdout [RTSP Proxy Started] (PID=16) 2023-01-15T16:09:11.589582421Z stdout [RTSP Server Listening] 0.0.0.0:443 (RTSP-TLS) 2023-01-15T16:09:11.585308940Z stdout [RTSP Server Listening] 0.0.0.0:8555 (RTSP) 2023-01-15T16:09:11.582874038Z stdout [RTSP Server Starting] 2023-01-15T16:09:11.582185399Z stdout [Monocle Started] 2023-01-15T16:09:11.540976201Z stdout [Monocle Connecting] 2023-01-15T16:09:11.540794562Z stdout [Monocle Starting] 2023-01-15T16:09:11.540086264Z stdout ------------------------------------------------- 2023-01-15T16:09:11.539892749Z stdout MONOCLE GATEWAY SERVICE (Version: 0.0.6) 2023-01-15T16:09:11.539208311Z stdout ------------------------------------------------- 2023-01-15T16:09:11.539165049Z stdout 2023-01-15T16:09:11.538972777Z stdout TIMESTAMP = 2023-01-15T16:09:11.538Z 2023-01-15T16:09:11.538257446Z stdout PROCESS = monocle-gateway (PID=1) 2023-01-15T16:09:11.537600686Z stdout OS/ARCH = linux/x64 2023-01-15T16:09:11.536641256Z stdout VERSION = 0.0.6 2023-01-15T16:09:11.535414781Z stdout ------------------------------------------------- 2023-01-15T16:09:11.534525811Z stdout MONOCLE RUNTIME ENVIRONMENT 2023-01-15T16:09:11.533759932Z stdout ------------------------------------------------- 2023-01-15T16:09:11.532428906Z stdout 2023-01-15T16:09:10.549608193Z stdout 2023-01-15T16:09:10.549573500Z stdout ****************************************************************** 2023-01-15T16:09:10.549539258Z stdout * * 2023-01-15T16:09:10.549500027Z stdout * |_| |_|\___/|_|\_|\___/ \___|____|___| * 2023-01-15T16:09:10.549459010Z stdout * | |\/| | (_) | .` | (_) | (__| |__| _| * 2023-01-15T16:09:10.549419861Z stdout * | \/ |/ _ \| \| |/ _ \ / __| | | __| * 2023-01-15T16:09:10.549363741Z stdout * __ __ ___ _ _ ___ ___ _ ___ * 2023-01-15T16:09:10.549211484Z stdout ******************************************************************
-
Hello and thank you,
I will wait for the return of Monocle, because I do not think that my problem and your solution are related.
-
Based on the log, it appears that the gateway is failing to communicate with the IP camera; it’s failing to get a response when issuing the DESCRIBE request but rather resulting in a 404 (not found) error. I wonder if the container is not able to route to the camera’s IP address. The gateway address is defined as “
192.168.1.254
” so that should be the router on your local network. But maybe the container is not attempting to route via the gateway. I wonder if adding the configuration to limit the allowed IP addresses for the container network would help. See this example:
https://github.com/sarunas-zilinskas/docker-compose-macvlan/blob/master/docker-compose.yml#L31If the monocle gateway instance is configured as
192.168.1.253
, then theip_range: "192.168.1.253/32"
would only permit the single address to the IP range for the container.Maybe worth a try. Maybe also connecting to a shell in the monocle-gateway instance and see if you can ping the address of the IP camera.