giejay / domoticz-gbridge-plugin

Domoticz plugin for the Kappelt gBridge
16 stars 4 forks source link

Kappelt Gbridge server down? #18

Open EvJd2016 opened 4 years ago

EvJd2016 commented 4 years ago

Hello, I am using Gbridge to control my Milights with Domoticz and Google Home. Now I recieve error messages in Domoticz with the server. Is it down maybe?

EvJd2016 commented 4 years ago

kappelt

giejay commented 4 years ago

Hi, can you share your Domoticz hardware configuration for gBridge?

EvJd2016 commented 4 years ago

Hello, I attached the hardware configuration. Am using it for several months now and it worked great (never had issues), but only last 2 weeks I see issues with it. I blurred my email and my loginname.

kappelt2

EvJd2016 commented 4 years ago

This is on Domoticz log: kappelt3

giejay commented 4 years ago

Configuration looks fine. Can you try on port 1883 and check if that makes a difference? Otherwise, can you open an issue at the gbridge GitHub?

EvJd2016 commented 4 years ago

Since 5 september no problems any more, until this week. Has something changed on the MQTT server adress? I am using mqtt.gbridge.io:8883 , but am getting a lot of errors all of a sudden and domoticz fails to reach the server.

All worked wel for some time now. I tried to change the MQTT server adress to mqtt.gbridge.io:1883 , but then also no luck.

I am getting this errors with the server adress 8883: 2019-10-26 20:22:14.128 Error: (Kappelt gBridge) We failed to reach a server. 2019-10-26 20:22:14.128 Error: (Kappelt gBridge) Reason: [Errno -3] Temporary failure in name resolution 2019-10-26 20:22:14.129 Error: (Kappelt gBridge) 'onStart' failed 'URLError'. 2019-10-26 20:22:14.129 Error: (Kappelt gBridge) ----> Line 187 in '/home/pi/domoticz/plugins/domoticz-gbridge-plugin/plugin.py', function onStart 2019-10-26 20:22:14.129 Error: (Kappelt gBridge) ----> Line 77 in '/home/pi/domoticz/plugins/domoticz-gbridge-plugin/plugin.py', function onStart 2019-10-26 20:22:14.129 Error: (Kappelt gBridge) ----> Line 83 in '/home/pi/domoticz/plugins/domoticz-gbridge-plugin/plugin.py', function syncDevices 2019-10-26 20:22:14.129 Error: (Kappelt gBridge) ----> Line 54 in '/home/pi/domoticz/plugins/domoticz-gbridge-plugin/gbridge_client.py', function fetchDevicesFromBridge 2019-10-26 20:22:14.129 Error: (Kappelt gBridge) ----> Line 73 in '/home/pi/domoticz/plugins/domoticz-gbridge-plugin/gbridge_client.py', function callAPI 2019-10-26 20:22:14.129 Error: (Kappelt gBridge) ----> Line 163 in '/usr/lib/python3.5/urllib/request.py', function urlopen 2019-10-26 20:22:14.130 Error: (Kappelt gBridge) ----> Line 466 in '/usr/lib/python3.5/urllib/request.py', function open 2019-10-26 20:22:14.130 Error: (Kappelt gBridge) ----> Line 484 in '/usr/lib/python3.5/urllib/request.py', function _open 2019-10-26 20:22:14.130 Error: (Kappelt gBridge) ----> Line 444 in '/usr/lib/python3.5/urllib/request.py', function _call_chain 2019-10-26 20:22:14.130 Error: (Kappelt gBridge) ----> Line 1297 in '/usr/lib/python3.5/urllib/request.py', function https_open 2019-10-26 20:22:14.130 Error: (Kappelt gBridge) ----> Line 1260 in '/usr/lib/python3.5/urllib/request.py', function do_open 2019-10-26 20:22:34.153 Error: Plugin: Connection Exception: 'resolve: Host not found (non-authoritative), try again later' connecting to 'mqtt.gbridge.io:8883'

giejay commented 4 years ago

Can you try pinging mqtt.gbridge.io?

EvJd2016 commented 4 years ago

Ik krijg dan terug: temporary failure in name resolution

giejay commented 4 years ago

$ ping mqtt.gbridge.io PING mqtt.gbridge.io (159.69.34.209) 56(84) bytes of data. 64 bytes from ne.ext.kappelt.net (159.69.34.209): icmp_seq=1 ttl=50 time=31.5 ms 64 bytes from ne.ext.kappelt.net (159.69.34.209): icmp_seq=2 ttl=50 time=33.3 ms 64 bytes from ne.ext.kappelt.net (159.69.34.209): icmp_seq=3 ttl=50 time=31.5 ms 64 bytes from ne.ext.kappelt.net (159.69.34.209): icmp_seq=4 ttl=50 time=32.6 ms

Dit is wat je zou moeten zien. Lijkt iets mis te zijn met je DNS server. Kan je die van Google eens kunnen gebruiken?

EvJd2016 commented 4 years ago

En dan blijkt het zo simpel te zijn! Super bedankt, het werkt weer!