Login timeout issue #1380
fnittoli
started this conversation in
Connecting to the inverter
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have this error while trying to login as installer.
Ha 2026.7.1 os 18.
Questo errore deriva da un'integrazione personalizzata.
Registratore: custom_components.huawei_solar.config_flow
Fonte: custom_components/huawei_solar/config_flow.py:1321
Integrazione: Huawei Solar (documentazione, problemi)
Prima occorrenza: 16:41:18 (1 occorrenza)
Ultimo accesso: 16:41:18
Unexpected exception while validating login parameters
Traceback (most recent call last):
File "/usr/local/lib/python3.14/asyncio/tasks.py", line 488, in wait_for
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/tmodbus/transport/async_tcp.py", line 267, in send_and_receive
response = await asyncio.wait_for(read_future, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/asyncio/tasks.py", line 487, in wait_for
async with timeouts.timeout(timeout):
~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/local/lib/python3.14/asyncio/timeouts.py", line 115, in aexit
raise TimeoutError from exc_val
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/huawei_solar/config_flow.py", line 1321, in async_step_network_login
login_success = await validate_network_setup_login(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
)
^
File "/config/custom_components/huawei_solar/config_flow.py", line 452, in validate_network_setup_login
await bridge.login(username, password)
File "/usr/local/lib/python3.14/site-packages/huawei_solar/device/base.py", line 242, in login
if not await self.client.login(username, password):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/huawei_solar/modbus_client.py", line 193, in login
logged_in = await self.transport.base_transport.send_and_receive(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.14/site-packages/tmodbus/transport/async_tcp.py", line 157, in send_and_receive
return await self._protocol.send_and_receive(unit_id, pdu)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/tmodbus/transport/async_tcp.py", line 270, in send_and_receive
raise TimeoutError(msg) from e
TimeoutError: Response timeout after 10 seconds for transaction with ID 0x0d
All reactions