You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the script is working on my openhabian raspberry pi in an docker container without any trouble.
But from time to time, when it was running a longer time (which i unfortunately can't determine exactly) the connection to ecovacs api and MQTT hangs up and it doesn't do anything.
The only thing i can figure out from the logs is that there is some problem to connect to the ecovacs api with status code 502.
This error occours up to six times a day:
2021-05-19 01:39:04,283: deebotozmo.ecovacsiotmq ERROR: EcoVacsMQTT - error connecting with MQTT Return 5
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3452, in _thread_main
self.loop_forever(retry_first_connection=True)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1779, in loop_forever
rc = self.loop(timeout, max_packets)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1181, in loop
rc = self.loop_read(max_packets)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1572, in loop_read
rc = self._packet_read()
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2310, in _packet_read
rc = self._packet_handle()
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2942, in _packet_handle
return self._handle_connack()
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3029, in _handle_connack
self.on_connect(
File "/usr/local/lib/python3.8/site-packages/deebotozmo/ecovacsiotmq.py", line 93, in on_connect
raise RuntimeError("EcoVacsMQTT - error connecting with MQTT Return {}".format(rc))
RuntimeError: EcoVacsMQTT - error connecting with MQTT Return 5
After restarting the docker container everything is working well again.
Does anybody else have recognized this problem or any solution on it?
Greets
Sönke
The text was updated successfully, but these errors were encountered:
Hey,
the script is working on my openhabian raspberry pi in an docker container without any trouble.
But from time to time, when it was running a longer time (which i unfortunately can't determine exactly) the connection to ecovacs api and MQTT hangs up and it doesn't do anything.
The only thing i can figure out from the logs is that there is some problem to connect to the ecovacs api with status code 502.
This error occours up to six times a day:
12021-05-18 19:02:41,375: deebotozmo.ecovacsiotmq WARNING: 1621364561.257185| Error calling API https://portal-ww.ecouser.net/api/iot/devmanager.do?mid=XXXXXc&td=q&u=XXXXX&cv=1.67.3&t=a&av=1.3.1 StatusCode 502
And once i've this error in the logs
After restarting the docker container everything is working well again.
Does anybody else have recognized this problem or any solution on it?
Greets
Sönke
The text was updated successfully, but these errors were encountered: