Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error doing job: Task exception was never retrieved #72

Open
pawelsn opened this issue Apr 8, 2021 · 0 comments
Open

Error doing job: Task exception was never retrieved #72

pawelsn opened this issue Apr 8, 2021 · 0 comments

Comments

@pawelsn
Copy link

pawelsn commented Apr 8, 2021

Error visible in logs (multiple instances). I have not notice impact on "end user".

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/asuswrt/router.py", line 252, in update_all
    await self.update_devices()
  File "/usr/src/homeassistant/homeassistant/components/asuswrt/router.py", line 259, in update_devices
    wrt_devices = await self._api.async_get_connected_devices()
  File "/usr/local/lib/python3.8/site-packages/aioasuswrt/asuswrt.py", line 353, in async_get_connected_devices
    dev = await self.async_get_arp()
  File "/usr/local/lib/python3.8/site-packages/aioasuswrt/asuswrt.py", line 325, in async_get_arp
    lines = await self.connection.async_run_command(_ARP_CMD)
  File "/usr/local/lib/python3.8/site-packages/aioasuswrt/connection.py", line 34, in async_run_command
    await self.async_connect()
  File "/usr/local/lib/python3.8/site-packages/aioasuswrt/connection.py", line 77, in async_connect
    self._client = await asyncssh.connect(self._host, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/asyncssh/connection.py", line 6460, in connect
    return await _connect(options.host, options.port, loop, options.tunnel,
  File "/usr/local/lib/python3.8/site-packages/asyncssh/connection.py", line 223, in _connect
    await conn.wait_established()
  File "/usr/local/lib/python3.8/site-packages/asyncssh/connection.py", line 2107, in wait_established
    await self._waiter
asyncssh.misc.ConnectionLost: Connection lost

2021-04-08 11:08:17 ERROR (MainThread) [aioasuswrt.connection] Host timeout.
2021-04-08 11:08:17 ERROR (MainThread) [homeassistant.components.asuswrt.router] Unexpected error fetching sensors_bytes data: list index out of range
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 173, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 143, in _async_update_data
return await self.update_method()
File "/usr/src/homeassistant/homeassistant/components/asuswrt/router.py", line 81, in _get_bytes
datas = await self._api.async_get_bytes_total()
File "/usr/local/lib/python3.8/site-packages/aioasuswrt/asuswrt.py", line 380, in async_get_bytes_total
rx = await self.async_get_rx()
File "/usr/local/lib/python3.8/site-packages/aioasuswrt/asuswrt.py", line 389, in async_get_rx
return float(data[0]) if data[0] != "" else None
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant