molobrakos / volvooncall

Retrieve information from the Volvo On Call (VOC) web service
The Unlicense
151 stars 47 forks source link

Getting blank log message #86

Open austinmroczek opened 2 years ago

austinmroczek commented 2 years ago

I am getting blank error messages from volvooncall.

From Home Assistant 2022.5 logs:

Logger: volvooncall.volvooncall
Source: /srv/homeassistant/lib/python3.9/site-packages/volvooncall/volvooncall.py:81
First occurred: May 6, 2022, 12:35:41 PM (6 occurrences)
Last logged: 10:34:26 AM

Failure when communcating with the server:

There is also a second error message that includes a full traceback, which is probably the exact same problem because it happens at the same time and frequency:

Logger: homeassistant
Source: components/volvooncall/__init__.py:174
First occurred: May 6, 2022, 12:35:41 PM (6 occurrences)
Last logged: 10:34:26 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/volvooncall/__init__.py", line 174, in update
    if not await connection.update(journal=True):
  File "/srv/homeassistant/lib/python3.9/site-packages/volvooncall/volvooncall.py", line 117, in update
    await vehicle.update(journal=journal)
  File "/srv/homeassistant/lib/python3.9/site-packages/volvooncall/volvooncall.py", line 158, in update
    await self._connection.update_vehicle(self, journal)
  File "/srv/homeassistant/lib/python3.9/site-packages/volvooncall/volvooncall.py", line 125, in update_vehicle
    self._state[url].update(await self.get("status", rel=url))
  File "/srv/homeassistant/lib/python3.9/site-packages/volvooncall/volvooncall.py", line 91, in get
    return await self._request(METH_GET, self._make_url(url, rel))
  File "/srv/homeassistant/lib/python3.9/site-packages/volvooncall/volvooncall.py", line 68, in _request
    async with self._session.request(
  File "/srv/homeassistant/lib/python3.9/site-packages/aiohttp/client.py", line 1138, in __aenter__
    self._resp = await self._coro
  File "/srv/homeassistant/lib/python3.9/site-packages/aiohttp/client.py", line 634, in _request
    break
  File "/srv/homeassistant/lib/python3.9/site-packages/aiohttp/helpers.py", line 721, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError