vmakeev / huawei_mesh_router

Huawei mesh router component for Home Assistant
MIT License
53 stars 7 forks source link

The error "Unable to update router information" appears intermittently #86

Open f1x6r opened 1 week ago

f1x6r commented 1 week ago

On my own, I still don’t understand what could be causing this error. I tried connecting the HASS server to both the main router and the secondary ones.

And so, I have three routers: two of them are Huawei Mesh 3 and one is AX3 (main).

Here is the text of the error that occurs:

Регистратор: custom_components.huawei_mesh_router.update_coordinator (Huawei Router)
Источник: custom_components/huawei_mesh_router/update_coordinator.py:283
интеграция: Huawei Mesh Router (документация, проблемы)
Первое сообщение: 11:16:00 (15 сообщений)
Последнее сообщение: 18:59:18

Can not update router info: Can not perform GET request at api/system/deviceinfo cause of TimeoutError(); code: -3, category: request_error
Can not update connected devices: TimeoutError()
Can not update wan info: TimeoutError()
Can not update repeater state Can not perform GET request at api/ntwk/repeaterinfo cause of TimeoutError(); code: -3, category: request_error

I'm far from a development, but I'm ready to participate in the process to help make your wonderful integration even better❤️

vmakeev commented 1 week ago

Hi!

The error indicates that the component failed to connect to the router

It is suspected that the Home Assistant server is connected via the WAN port, or the Firewall is enabled on the router.

There is also a possibility that an incorrect password was specified many times when configuring the component, and the router temporarily blocked access from this IP address.

Can you check if you can access the router's web configurator from the server on which Home Assistant is installed?

f1x6r commented 3 days ago

Привет!

Ошибка указывает на то, что компонент не смог подключиться к маршрутизатору

Предполагается, что сервер Home Assistant подключен через порт WAN или брандмауэр включен на маршрутизаторе.

Существует также вероятность того, что при настройке компонента был указан неправильный пароль много раз, и маршрутизатор временно заблокировал доступ с этого IP-адреса.

Можете ли вы проверить, можете ли вы получить доступ к веб-конфигуратору маршрутизатора с сервера, на котором установлен Home Assistant?

Yes, the password is correct. There is access through the router’s web interface, the password is correct, entered using “Ctrl + C” the first time. HomeAssistant is connected via cable directly to the router.

The firewall on the router is enabled, and you can access the router settings both from the setup interface and from the Home Assistant integration. For now, I will monitor the manifestation of the error and try to collect statistics on its occurrence.