Open jasonyork opened 2 years ago
Can you do a nslookup using IP. Seems reverse lookup is not working
It seems to work using nslookup:
nslookup 192.168.50.54
54.50.168.192.in-addr.arpa name = HarmonyHub.localdomain.
Also, if it's relevant, connecting via IP with WEBSOCKETS does work:
aioharmony --harmony_ip 192.168.50.54 --loglevel DEBUG --protocol WEBSOCKETS show_config
2021-12-22 08:14:02,347:DEBUG: aioharmony.__main__ 192.168.50.54: Connecting to HUB
2021-12-22 08:14:02,348:DEBUG: aioharmony.harmonyapi 192.168.50.54: Initialize
2021-12-22 08:14:02,348:DEBUG: aioharmony.harmonyclient 192.168.50.54: Initialize HUB
2021-12-22 08:14:02,348:DEBUG: aioharmony.responsehandler 192.168.50.54: Registering handler Activity_Changed with UUID 6262bbd2-f34f-4a23-abc6-600a3e296252
2021-12-22 08:14:02,348:DEBUG: aioharmony.responsehandler 192.168.50.54: Registering handler Activity_Starting with UUID 76a32c89-9008-4493-9241-aaf7079894e2
2021-12-22 08:14:02,348:DEBUG: aioharmony.responsehandler 192.168.50.54: Registering handler Activity_Stopping with UUID fad9c678-208d-43ea-85eb-ae22fcde6646
2021-12-22 08:14:02,348:DEBUG: aioharmony.responsehandler 192.168.50.54: Registering handler Notification_Received with UUID 92e0a3ee-d2d1-441f-930d-6429cfe8817c
Trying to connect to HUB with IP 192.168.50.54.
2021-12-22 08:14:02,348:DEBUG: aioharmony.harmonyclient 192.168.50.54: Using WEBSOCKETS
2021-12-22 08:14:02,491:DEBUG: aioharmony.hubconnector_websocket 192.168.50.54: Connecting to hub
2021-12-22 08:14:02,491:DEBUG: aioharmony.hubconnector_websocket 192.168.50.54: Retrieving Harmony Hub information.
2021-12-22 08:14:02,491:DEBUG: aioharmony.hubconnector_websocket 192.168.50.54: Sending post request: {'id ': 1, 'cmd': 'setup.account?getProvisionInfo', 'params': {}}
2021-12-22 08:14:02,492:DEBUG: aioharmony.responsehandler 192.168.50.54: Callback handler started
2021-12-22 08:14:02,550:DEBUG: aioharmony.hubconnector_websocket 192.168.50.54: Post response: REDACTED, 'code': '200'}
2021-12-22 08:14:02,551:DEBUG: aioharmony.hubconnector_websocket 192.168.50.54: Connecting for hub REDACTED
2021-12-22 08:14:02,611:DEBUG: aioharmony.hubconnector_websocket 192.168.50.54: Connected to hub REDACTED
2021-12-22 08:14:02,612:DEBUG: aioharmony.hubconnector_websocket 192.168.50.54: Listener started
I'm unable to connect to my harmony hub when specifying an IP address, however it does work when using the full hostname. See the two examples below for details. If there is anything else I can try, please let me know. Thanks.
Verify the DNS: