I can use nearly all of the features of zmNinja without issue but I can't get notifications to work. When I look at the logs I see "Failed to connect to mythbox.mynet/192.168.0.10:9001" which looks like a very strange address showing both my domain name and my private IP. I have to host the port on 9001 since 9000 is already in use on that machine. Looking above at the initalize websocket it shows the correct string "wss://mythbox.mynet:9001". Do I need to use SSL and certs with the notifications? I ask because I don't have that configured.
Code: Select all
Jul 2, 2020 05:06:24 PM DEBUG Setting server version to:1.34.16
Jul 2, 2020 05:06:24 PM DEBUG getAPI version succeeded with 1.34.16
Jul 2, 2020 05:06:24 PM INFO Got API version: 1.34.16
Jul 2, 2020 05:06:24 PM INFO First invocation of TimeZone, asking server
Jul 2, 2020 05:06:24 PM INFO EventSever: Initializing Websocket with URL wss://mythbox.mynet:9001
Jul 2, 2020 05:06:24 PM DEBUG EventSever: Using native websockets...
Jul 2, 2020 05:06:24 PM DEBUG Calling pushInit()
Jul 2, 2020 05:06:24 PM INFO EventSever: Setting up push registration
Jul 2, 2020 05:06:24 PM DEBUG Transitioning state to: app.events with param {}
Jul 2, 2020 05:06:24 PM INFO getMonitors:Loading all monitors
Jul 2, 2020 05:06:24 PM INFO Checking value of ZM_MIN_STREAMING_PORT for the first time
Jul 2, 2020 05:06:24 PM DEBUG Push permission returned: {"isEnabled":true}
Jul 2, 2020 05:06:24 PM DEBUG CACHE: NOT found for:cached_timezone reverting to HTTP
Jul 2, 2020 05:06:24 PM DEBUG CACHE: NOT found for:cached_multi_port reverting to HTTP
Jul 2, 2020 05:06:24 PM DEBUG EventSever: Push Notification registration ID received: {"registrationId":"<long_token_string_removed>","registrationType":"FCM"}
Jul 2, 2020 05:06:24 PM INFO getMonitors:Loading all monitors
Jul 2, 2020 05:06:24 PM INFO Checking value of ZM_MIN_STREAMING_PORT for the first time
Jul 2, 2020 05:06:24 PM DEBUG CACHE: NOT found for:cached_multi_port reverting to HTTP
Jul 2, 2020 05:06:25 PM DEBUG EventSever: Failed to connect to WebSocket: code: 1006, reason: undefined, exception: Failed to connect to mythbox.mynet/192.168.0.10:9001
Jul 2, 2020 05:06:25 PM INFO ZM has recaptcha disabled - good
Jul 2, 2020 05:06:25 PM DEBUG Real value of PRIVACY is:0
Jul 2, 2020 05:06:25 PM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jul 2, 2020 05:06:25 PM DEBUG CACHE: storing key data in cache now, with expiry of 86400