uvjim / linksys_velop

Home Assistant integration for the Linksys Velop
49 stars 7 forks source link

FIXED: Connection Error #475

Closed Jeroen-Weber closed 4 months ago

Jeroen-Weber commented 4 months ago
Scherm­afbeelding 2024-07-22 om 11 10 19

I am using the IP address of the main node connected to the router. The password I am using is correct. What could be the reason?

note: my Linksys is in Bridge mode.

uvjim commented 4 months ago

See https://github.com/uvjim/linksys_velop/issues/473 as it may help. Failing that logs are needed.

Jeroen-Weber commented 4 months ago

2024-07-22 14:07:05.223 ERROR (MainThread) [pyvelop.mesh] Connection Error

It seems like there is no extra logging on the error.

uvjim commented 4 months ago

Have you tied the options in the other issue? Have you turned debug logging on as per the readme?

Jeroen-Weber commented 4 months ago
2024-07-22 14:19:13.259 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] async_step_user --> entered, user_input: None
2024-07-22 14:19:47.312 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] async_step_user --> entered, user_input: {'node': '192.168.0.131', 'password': 'fETA979N7wmv@'}
2024-07-22 14:19:47.373 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] async_step_login --> entered, user_input: None
2024-07-22 14:19:47.432 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] async_step_login --> creating credential test task
2024-07-22 14:19:47.495 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] _async_task_login --> entered, details: {'node': '192.168.0.131', 'password': 'fETA979N7wmv@', 'request_timeout': 10}
2024-07-22 14:19:47.555 DEBUG (MainThread) [pyvelop.mesh] __init__ --> entered
2024-07-22 14:19:47.614 DEBUG (MainThread) [pyvelop.mesh] __init__ --> Session was passed in: Yes
2024-07-22 14:19:47.674 DEBUG (MainThread) [pyvelop.mesh] __init__ --> pyvelop version: 2024.5.3
2024-07-22 14:19:47.734 DEBUG (MainThread) [pyvelop.mesh] __init__ --> Initialised mesh for 192.168.0.131
2024-07-22 14:19:47.793 DEBUG (MainThread) [pyvelop.mesh] __init__ --> exited
2024-07-22 14:19:47.854 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] _async_task_login --> testing credentials
2024-07-22 14:19:47.915 DEBUG (MainThread) [pyvelop.mesh] async_test_credentials --> entered
2024-07-22 14:19:47.975 DEBUG (MainThread) [pyvelop.mesh] _async_make_request --> entered
2024-07-22 14:19:48.036 DEBUG (MainThread) [pyvelop.jnap] Request.execute --> entered
2024-07-22 14:19:48.097 DEBUG (MainThread) [pyvelop.jnap] Request.execute --> URL: http://192.168.0.131/JNAP/, Headers: {'X-JNAP-Authorization': '**REDACTED**', 'Content-Type': 'application/json; charset=UTF-8', 'X-JNAP-Action': 'http://linksys.com/jnap/core/CheckAdminPassword'}, Payload: [], Timeout: 10
2024-07-22 14:19:48.498 ERROR (MainThread) [pyvelop.mesh] Connection Error
2024-07-22 14:19:48.561 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] _set_error --> connection error
2024-07-22 14:19:48.617 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] _async_task_login --> exited
2024-07-22 14:19:48.677 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] async_step_login --> entered, user_input: None
2024-07-22 14:19:48.736 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] async_step_login --> _errors: {'base': 'connection_error'}
2024-07-22 14:19:48.796 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] async_step_login --> next step: user
2024-07-22 14:19:48.889 DEBUG (MainThread) [custom_components.linksys_velop.config_flow] async_step_user --> entered, user_input: None
Jeroen-Weber commented 4 months ago

Fixed, needed to set my password for local login. REPO works. thanks for the support @uvjim