schmittx / home-assistant-eero

Eero integration for Home Assistant
MIT License
110 stars 22 forks source link

Finished fetching Eero (Name) data in 10.002 seconds (success: False)... Timeout & AttributeError #88

Closed addshore closed 2 weeks ago

addshore commented 2 weeks ago

I reloaded HA today, and the integration will not come back up properly.

Using V 1.5.0

image

Logs look like this

2024-07-09 20:22:49.281 DEBUG (SyncWorker_0) [custom_components.eero.api] Calling API with method: GET and URL: /2.2/account
2024-07-09 20:22:50.111 DEBUG (SyncWorker_0) [custom_components.eero.api] Calling API with method: GET and URL: /2.2/networks/<networkid>
2024-07-09 20:22:59.281 ERROR (MainThread) [custom_components.eero] Timeout fetching Eero (Someones Name) data
2024-07-09 20:22:59.282 DEBUG (MainThread) [custom_components.eero] Finished fetching Eero (Someones Name) data in 10.002 seconds (success: False)
2024-07-09 20:22:59.283 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Someones Name for eero
File "/config/custom_components/eero/__init__.py", line 320, in async_setup_entry
if any([eero.is_eero_beacon for network in coordinator.data.networks for eero in network.eeros]):

This looks similar to https://github.com/schmittx/home-assistant-eero/issues/61 in the fact that it might just be a timeout?

This error originated from a custom integration.

Logger: custom_components.eero
Source: helpers/update_coordinator.py:318
integration: eero (documentation, issues)
First occurred: 20:10:27 (4 occurrences)
Last logged: 20:22:59

Timeout fetching Eero (Someones Name) data
Logger: homeassistant.config_entries
Source: config_entries.py:586
First occurred: 20:10:27 (4 occurrences)
Last logged: 20:22:59

Error setting up entry Someones Name for eero
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/eero/__init__.py", line 320, in async_setup_entry
    if any([eero.is_eero_beacon for network in coordinator.data.networks for eero in network.eeros]):
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'networks'
pressurejets commented 2 weeks ago

i have the same problem

matthewdias commented 2 weeks ago

Seems like something's up on eero's end. my eero app is misbehaving as well. https://www.reddit.com/r/amazoneero/comments/1dz9fkr/eero_outage/

mikefrantz commented 2 weeks ago

I have the same problem that just started today. July 9th

mikefrantz commented 2 weeks ago

Here is my error logs. IMG_1723

matthewdias commented 2 weeks ago

Seems to be back for me, at least for now.

pressurejets commented 2 weeks ago

thank you for the heads up yes back up and working. then again 1 min later down grrr

matthewdias commented 2 weeks ago

ok now it's properly back. can probably close out this ticket as it's not an issue with this library

addshore commented 2 weeks ago

Yup, hitting reload just now has made the integration come back online :)