Closed marc-cizeron closed 9 months ago
Hi, there should also be an error log entry that starts with Webcall failed.
. Can you please post that one too?
hmmm, in settings > systems > logs i didn't have any Webcall Failled
.
Ha wait, may be it is this one:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/aguaiot/__init__.py", line 94, in async_update_data
await agua.update()
File "/config/custom_components/aguaiot/aguaiot.py", line 291, in update
await dev.update()
File "/config/custom_components/aguaiot/aguaiot.py", line 366, in update
await self.__update_device_information()
File "/config/custom_components/aguaiot/aguaiot.py", line 399, in __update_device_information
res = await self.__aguaiot.handle_webcall("POST", url, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/aguaiot/aguaiot.py", line 304, in handle_webcall
response = await client.post(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1848, in post
return await self.request(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1530, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1617, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
response = await self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
response = await self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1719, in _send_single_request
response = await transport.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 352, in handle_async_request
with map_httpcore_exceptions():
File "/usr/local/lib/python3.11/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: All connection attempts failed
This basically means that the integration cannot connect to the API. Which brand stove do you have?
Hi, it is a jolly mec chrissie. I upgraded to 0.2.4 this morning. I don't see any error when reloading the integration. So, you can close this issue.
May be it was related to the issue #50.
There were several reports about connection issues, all involving jolly mec. It seems they have some backend issues lately.
Hi, since version 0.2.2, I've had a lot of errors. Here are some logs:
I actually get this error a lot.