core: Kaiterra Integration no longer working - ValueError: URL should be absolute
The problem
The Kaiterra integration no longer works since atleast a month (broke during an HA update) Logs found below point to the following : ValueError: URL should be absolute
What version of Home Assistant Core has the issue?
core-2023.4.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
kaiterra
Link to integration documentation on our website
https://www.home-assistant.io/integrations/kaiterra/
Diagnostics information
Logger: homeassistant.setup Source: components/kaiterra/api_data.py:57 First occurred: 9 April 2023 at 09:33:22 (1 occurrences) Last logged: 9 April 2023 at 09:33:22
Error during setup of component kaiterra Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/setup.py”, line 256, in _async_setup_component result = await task File “/usr/src/homeassistant/homeassistant/components/kaiterra/init.py”, line 67, in async_setup await api.async_update() File “/usr/src/homeassistant/homeassistant/components/kaiterra/api_data.py”, line 57, in async_update data = await self._api.get_latest_sensor_readings(self._devices) File “/usr/local/lib/python3.10/site-packages/kaiterra_async_client/client.py”, line 144, in get_latest_sensor_readings r = await self._do_request( File “/usr/local/lib/python3.10/site-packages/kaiterra_async_client/client.py”, line 199, in _do_request async with self._session.post(url, params=params, headers=headers, json=json, raise_for_status=True) as r: File “/usr/local/lib/python3.10/site-packages/aiohttp/client.py”, line 1141, in aenter self._resp = await self._coro File “/usr/local/lib/python3.10/site-packages/aiohttp/client.py”, line 628, in _request if url.origin() != parsed_url.origin(): File “/usr/local/lib/python3.10/site-packages/yarl/_url.py”, line 389, in origin raise ValueError(“URL should be absolute”) ValueError: URL should be absolute
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.setup
Source: components/kaiterra/api_data.py:57
First occurred: 9 April 2023 at 09:33:22 (1 occurrences)
Last logged: 9 April 2023 at 09:33:22
Error during setup of component kaiterra
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 256, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/kaiterra/__init__.py", line 67, in async_setup
await api.async_update()
File "/usr/src/homeassistant/homeassistant/components/kaiterra/api_data.py", line 57, in async_update
data = await self._api.get_latest_sensor_readings(self._devices)
File "/usr/local/lib/python3.10/site-packages/kaiterra_async_client/client.py", line 144, in get_latest_sensor_readings
r = await self._do_request(
File "/usr/local/lib/python3.10/site-packages/kaiterra_async_client/client.py", line 199, in _do_request
async with self._session.post(url, params=params, headers=headers, json=json, raise_for_status=True) as r:
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 1141, in __aenter__
self._resp = await self._coro
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 628, in _request
if url.origin() != parsed_url.origin():
File "/usr/local/lib/python3.10/site-packages/yarl/_url.py", line 389, in origin
raise ValueError("URL should be absolute")
ValueError: URL should be absolute
Additional information
Error has crept up since a month or so ; all HA instances in the family using kaiterra integration are experiencing this issue
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 49 (7 by maintainers)