core icon indicating copy to clipboard operation
core copied to clipboard

Fetching Vodafone data failure

Open epl2005 opened this issue 1 year ago • 8 comments

The problem

While downloading data after successful login, procedure fails and Vodafone station account is locked. Fetching lasting several seconds may depend on the fact that more than 50 devices are connected to the station (Vodafone Wi-Fi 6 Station 
Firmware version: XF6_4.0.03.08)

What version of Home Assistant Core has the issue?

core-2024.1.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Vodafone Station

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-02-05 11:35:10.384 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1
2024-02-05 11:35:10.384 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1
2024-02-05 11:35:10.384 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession
2024-02-05 11:35:10.384 DEBUG (MainThread) [aiovodafone] Requested login url: <http://192.168.1.1/login.html>
2024-02-05 11:35:10.504 DEBUG (MainThread) [aiovodafone] Redirected login!
2024-02-05 11:35:10.504 DEBUG (MainThread) [aiovodafone] Requested login url: <https://192.168.1.1/login.html>
2024-02-05 11:35:10.760 DEBUG (MainThread) [aiovodafone] csrf_token: <HK79C38F3DJW1994F106>
2024-02-05 11:35:10.760 DEBUG (MainThread) [aiovodafone] GET page  /data/user_lang.json [192.168.1.1]
2024-02-05 11:35:10.984 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '58FF735F56228D1B'}, {'salt': '58FF735F56228D1B'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}]
2024-02-05 11:35:10.984 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '58FF735F56228D1B', 'salt': '58FF735F56228D1B', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'}
2024-02-05 11:35:10.984 DEBUG (MainThread) [aiovodafone] encryption_key: <58FF735F56228D1B>
2024-02-05 11:35:10.985 DEBUG (MainThread) [aiovodafone] POST page  /data/reset.json from host 192.168.1.1
2024-02-05 11:35:11.178 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted]
2024-02-05 11:35:11.178 DEBUG (MainThread) [aiovodafone] POST page  /data/login.json from host 192.168.1.1
2024-02-05 11:35:11.274 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1"

2024-02-05 11:35:11.274 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1
2024-02-05 11:35:11.274 DEBUG (MainThread) [aiovodafone] Login result: logged[1]
2024-02-05 11:35:11.274 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1
2024-02-05 11:35:11.275 DEBUG (MainThread) [aiovodafone] GET page  /data/overview.json [192.168.1.1]
2024-02-05 11:35:21.895 DEBUG (MainThread) [homeassistant.components.vodafone_station] Finished fetching vodafone_station-192.168.1.1-coordinator data in 11.511 seconds (success: False)
2024-02-05 11:35:26.991 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1
2024-02-05 11:35:26.991 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1
2024-02-05 11:35:26.991 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession
2024-02-05 11:35:27.006 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-05 11:35:26.991 DEBUG (MainThread) [aiovodafone] Requested login url: <http://192.168.1.1/login.html>
2024-02-05 11:35:27.028 DEBUG (MainThread) [aiovodafone] Redirected login!
2024-02-05 11:35:27.029 DEBUG (MainThread) [aiovodafone] Requested login url: <https://192.168.1.1/login.html>
2024-02-05 11:35:27.272 DEBUG (MainThread) [aiovodafone] csrf_token: <HK5E1B031FJW508D4D7C>
2024-02-05 11:35:27.273 DEBUG (MainThread) [aiovodafone] GET page  /data/user_lang.json [192.168.1.1]
2024-02-05 11:35:27.506 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '25AFE0B159C4C614'}, {'salt': '25AFE0B159C4C614'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}]
2024-02-05 11:35:27.506 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '25AFE0B159C4C614', 'salt': '25AFE0B159C4C614', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'}
2024-02-05 11:35:27.507 DEBUG (MainThread) [aiovodafone] encryption_key: <25AFE0B159C4C614>
2024-02-05 11:35:27.507 DEBUG (MainThread) [aiovodafone] POST page  /data/reset.json from host 192.168.1.1
2024-02-05 11:35:27.715 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted]
2024-02-05 11:35:27.716 DEBUG (MainThread) [aiovodafone] POST page  /data/login.json from host 192.168.1.1
2024-02-05 11:35:27.799 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1"

2024-02-05 11:35:27.799 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1
2024-02-05 11:35:27.799 DEBUG (MainThread) [aiovodafone] Login result: logged[1]
2024-02-05 11:35:27.799 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1
2024-02-05 11:35:27.799 DEBUG (MainThread) [aiovodafone] GET page  /data/overview.json [192.168.1.1]
2024-02-05 11:36:47.895 DEBUG (MainThread) [homeassistant.components.vodafone_station] Finished fetching vodafone_station-192.168.1.1-coordinator data in 20.018 seconds (success: False)
2024-02-05 11:37:00.145 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1
2024-02-05 11:37:00.145 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1
2024-02-05 11:37:00.145 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession
2024-02-05 11:37:00.145 DEBUG (MainThread) [aiovodafone] Requested login url: <http://192.168.1.1/login.html>
2024-02-05 11:37:00.759 DEBUG (MainThread) [aiovodafone] Redirected login!
2024-02-05 11:37:00.759 DEBUG (MainThread) [aiovodafone] Requested login url: <https://192.168.1.1/login.html>
2024-02-05 11:37:04.507 DEBUG (MainThread) [aiovodafone] csrf_token: <HK7FA6D61AJW190B293F>
2024-02-05 11:37:04.508 DEBUG (MainThread) [aiovodafone] GET page  /data/user_lang.json [192.168.1.1]
2024-02-05 11:37:04.966 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '0718ED3662715F13'}, {'salt': '0718ED3662715F13'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}]
2024-02-05 11:37:04.966 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '0718ED3662715F13', 'salt': '0718ED3662715F13', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'}
2024-02-05 11:37:04.966 DEBUG (MainThread) [aiovodafone] encryption_key: <0718ED3662715F13>
2024-02-05 11:37:04.966 DEBUG (MainThread) [aiovodafone] POST page  /data/reset.json from host 192.168.1.1
2024-02-05 11:37:05.207 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted]
2024-02-05 11:37:05.207 DEBUG (MainThread) [aiovodafone] POST page  /data/login.json from host 192.168.1.1
2024-02-05 11:37:06.357 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1"

2024-02-05 11:37:06.357 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1
2024-02-05 11:37:06.357 DEBUG (MainThread) [aiovodafone] Login result: logged[1]
2024-02-05 11:37:06.357 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1
2024-02-05 11:37:06.357 DEBUG (MainThread) [aiovodafone] GET page  /data/overview.json [192.168.1.1]
2024-02-05 11:37:09.572 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-05 11:37:16.894 DEBUG (MainThread) [homeassistant.components.vodafone_station] Finished fetching vodafone_station-192.168.1.1-coordinator data in 16.750 seconds (success: False)
2024-02-05 11:37:27.382 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1
2024-02-05 11:37:27.382 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1
2024-02-05 11:37:27.382 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession
2024-02-05 11:37:27.382 DEBUG (MainThread) [aiovodafone] Requested login url: <http://192.168.1.1/login.html>
2024-02-05 11:37:27.390 DEBUG (MainThread) [aiovodafone] Redirected login!
2024-02-05 11:37:27.390 DEBUG (MainThread) [aiovodafone] Requested login url: <https://192.168.1.1/login.html>
2024-02-05 11:37:27.627 DEBUG (MainThread) [aiovodafone] csrf_token: <HK1CEFFBEDJW3DBF4F63>
2024-02-05 11:37:27.627 DEBUG (MainThread) [aiovodafone] GET page  /data/user_lang.json [192.168.1.1]
2024-02-05 11:37:27.866 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '655BE69F21A8E528'}, {'salt': '655BE69F21A8E528'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}]
2024-02-05 11:37:27.866 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '655BE69F21A8E528', 'salt': '655BE69F21A8E528', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'}
2024-02-05 11:37:27.867 DEBUG (MainThread) [aiovodafone] encryption_key: <655BE69F21A8E528>
2024-02-05 11:37:27.867 DEBUG (MainThread) [aiovodafone] POST page  /data/reset.json from host 192.168.1.1
2024-02-05 11:37:28.058 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted]
2024-02-05 11:37:28.059 DEBUG (MainThread) [aiovodafone] POST page  /data/login.json from host 192.168.1.1
2024-02-05 11:37:28.144 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1"

2024-02-05 11:37:28.144 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1
2024-02-05 11:37:28.144 DEBUG (MainThread) [aiovodafone] Login result: logged[1]
2024-02-05 11:37:28.144 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1
2024-02-05 11:37:28.144 DEBUG (MainThread) [aiovodafone] GET page  /data/overview.json [192.168.1.1]
2024-02-05 11:37:38.896 DEBUG (MainThread) [homeassistant.components.vodafone_station] Finished fetching vodafone_station-192.168.1.1-coordinator data in 11.514 seconds (success: False)
2024-02-05 11:37:57.902 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session

Additional information

After vodafone station restart, enabling the integration it worked for some minutes but just few devices are collected. After all devices for connected to the station, integration state it's reporting an error and it tries to re-inizialise

epl2005 avatar Feb 05 '24 13:02 epl2005

Hey there @paoloantinori, @chemelli74, mind taking a look at this issue as it has been labeled with an integration (vodafone_station) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of vodafone_station can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign vodafone_station Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


vodafone_station documentation vodafone_station source (message by IssueLinks)

home-assistant[bot] avatar Feb 05 '24 13:02 home-assistant[bot]

Hi @epl2005, please add diagnostics (menu configuration -> integration -> vodafone -> download diagnostics )

Also share a complete log and not only extracts.

chemelli74 avatar Feb 05 '24 13:02 chemelli74

In my installation I don't have download diagnostics option but as You can see also in previous log I enabled debug option. I restarted home assistant having enabled the integration and the log is the following (I'm sorry but the full hommeassistant log contains some sensitive info about other integration that I couldn't share).

2024-02-05 15:46:35.112 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1 2024-02-05 15:46:35.113 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1 2024-02-05 15:46:35.113 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession 2024-02-05 15:46:35.113 DEBUG (MainThread) [aiovodafone] Requested login url: http://192.168.1.1/login.html 2024-02-05 15:46:35.126 DEBUG (MainThread) [aiovodafone] Redirected login! 2024-02-05 15:46:35.126 DEBUG (MainThread) [aiovodafone] Requested login url: https://192.168.1.1/login.html 2024-02-05 15:46:35.375 DEBUG (MainThread) [aiovodafone] csrf_token: <HK26881492JW6D5061EB> 2024-02-05 15:46:35.375 DEBUG (MainThread) [aiovodafone] GET page /data/user_lang.json [192.168.1.1] 2024-02-05 15:46:35.578 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '2D4CC19876009D65'}, {'salt': '2D4CC19876009D65'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}] 2024-02-05 15:46:35.578 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '2D4CC19876009D65', 'salt': '2D4CC19876009D65', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'} 2024-02-05 15:46:35.579 DEBUG (MainThread) [aiovodafone] encryption_key: <2D4CC19876009D65> 2024-02-05 15:46:35.579 DEBUG (MainThread) [aiovodafone] POST page /data/reset.json from host 192.168.1.1 2024-02-05 15:46:35.777 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted] 2024-02-05 15:46:35.778 DEBUG (MainThread) [aiovodafone] POST page /data/login.json from host 192.168.1.1 2024-02-05 15:46:35.870 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1" 2024-02-05 15:46:35.871 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1 2024-02-05 15:46:35.871 DEBUG (MainThread) [aiovodafone] Login result: logged[1] 2024-02-05 15:46:35.871 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1 2024-02-05 15:46:35.871 DEBUG (MainThread) [aiovodafone] GET page /data/overview.json [192.168.1.1] 2024-02-05 15:46:45.896 DEBUG (MainThread) [homeassistant.components.vodafone_station] Finished fetching vodafone_station-192.168.1.1-coordinator data in 10.783 seconds (success: False) 2024-02-05 15:47:18.913 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session 2024-02-05 15:47:18.914 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session 2024-02-05 15:47:26.335 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1 2024-02-05 15:47:26.336 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1 2024-02-05 15:47:26.336 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession 2024-02-05 15:47:26.336 DEBUG (MainThread) [aiovodafone] Requested login url: http://192.168.1.1/login.html 2024-02-05 15:47:26.350 DEBUG (MainThread) [aiovodafone] Redirected login! 2024-02-05 15:47:26.350 DEBUG (MainThread) [aiovodafone] Requested login url: https://192.168.1.1/login.html 2024-02-05 15:47:26.582 DEBUG (MainThread) [aiovodafone] csrf_token: <HK6850B944JW437B7036> 2024-02-05 15:47:26.582 DEBUG (MainThread) [aiovodafone] GET page /data/user_lang.json [192.168.1.1] 2024-02-05 15:47:26.793 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '50F2A9AB7E9CE80A'}, {'salt': '50F2A9AB7E9CE80A'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}] 2024-02-05 15:47:26.794 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '50F2A9AB7E9CE80A', 'salt': '50F2A9AB7E9CE80A', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'} 2024-02-05 15:47:26.794 DEBUG (MainThread) [aiovodafone] encryption_key: <50F2A9AB7E9CE80A> 2024-02-05 15:47:26.794 DEBUG (MainThread) [aiovodafone] POST page /data/reset.json from host 192.168.1.1 2024-02-05 15:47:26.977 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted] 2024-02-05 15:47:26.977 DEBUG (MainThread) [aiovodafone] POST page /data/login.json from host 192.168.1.1 2024-02-05 15:47:27.080 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1" 2024-02-05 15:47:27.080 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1 2024-02-05 15:47:27.080 DEBUG (MainThread) [aiovodafone] Login result: logged[1] 2024-02-05 15:47:27.080 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1 2024-02-05 15:47:27.081 DEBUG (MainThread) [aiovodafone] GET page /data/overview.json [192.168.1.1] 2024-02-05 15:47:37.894 DEBUG (MainThread) [homeassistant.components.vodafone_station] Finished fetching vodafone_station-192.168.1.1-coordinator data in 11.559 seconds (success: False) 2024-02-05 15:48:46.400 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1 2024-02-05 15:48:46.400 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1 2024-02-05 15:48:46.400 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession 2024-02-05 15:48:46.401 DEBUG (MainThread) [aiovodafone] Requested login url: http://192.168.1.1/login.html 2024-02-05 15:48:46.421 DEBUG (MainThread) [aiovodafone] Redirected login! 2024-02-05 15:48:46.422 DEBUG (MainThread) [aiovodafone] Requested login url: https://192.168.1.1/login.html 2024-02-05 15:48:46.690 DEBUG (MainThread) [aiovodafone] csrf_token: <HK1F87EDA9JW3B771A94> 2024-02-05 15:48:46.690 DEBUG (MainThread) [aiovodafone] GET page /data/user_lang.json [192.168.1.1] 2024-02-05 15:48:47.042 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '266592474428834E'}, {'salt': '266592474428834E'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}] 2024-02-05 15:48:47.043 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '266592474428834E', 'salt': '266592474428834E', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'} 2024-02-05 15:48:47.043 DEBUG (MainThread) [aiovodafone] encryption_key: <266592474428834E> 2024-02-05 15:48:47.043 DEBUG (MainThread) [aiovodafone] POST page /data/reset.json from host 192.168.1.1 2024-02-05 15:48:47.401 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted] 2024-02-05 15:48:47.402 DEBUG (MainThread) [aiovodafone] POST page /data/login.json from host 192.168.1.1 2024-02-05 15:48:47.516 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1" 2024-02-05 15:48:47.516 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1 2024-02-05 15:48:47.516 DEBUG (MainThread) [aiovodafone] Login result: logged[1] 2024-02-05 15:48:47.516 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1 2024-02-05 15:48:47.516 DEBUG (MainThread) [aiovodafone] GET page /data/overview.json [192.168.1.1] 2024-02-05 15:48:57.894 DEBUG (MainThread) [homeassistant.components.vodafone_station] Finished fetching vodafone_station-192.168.1.1-coordinator data in 11.494 seconds (success: False) 2024-02-05 15:49:00.793 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session 2024-02-05 15:49:03.052 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1 2024-02-05 15:49:03.053 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1 2024-02-05 15:49:03.053 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession 2024-02-05 15:49:03.053 DEBUG (MainThread) [aiovodafone] Requested login url: http://192.168.1.1/login.html 2024-02-05 15:49:03.066 DEBUG (MainThread) [aiovodafone] Redirected login! 2024-02-05 15:49:03.066 DEBUG (MainThread) [aiovodafone] Requested login url: https://192.168.1.1/login.html 2024-02-05 15:49:03.288 DEBUG (MainThread) [aiovodafone] csrf_token: <HK2B1298B2JW3DE9F28D> 2024-02-05 15:49:03.288 DEBUG (MainThread) [aiovodafone] GET page /data/user_lang.json [192.168.1.1] 2024-02-05 15:49:03.497 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '729C81C847344F26'}, {'salt': '729C81C847344F26'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}] 2024-02-05 15:49:03.497 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '729C81C847344F26', 'salt': '729C81C847344F26', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'} 2024-02-05 15:49:03.497 DEBUG (MainThread) [aiovodafone] encryption_key: <729C81C847344F26> 2024-02-05 15:49:03.497 DEBUG (MainThread) [aiovodafone] POST page /data/reset.json from host 192.168.1.1 2024-02-05 15:49:03.677 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted] 2024-02-05 15:49:03.678 DEBUG (MainThread) [aiovodafone] POST page /data/login.json from host 192.168.1.1 2024-02-05 15:49:03.778 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1" 2024-02-05 15:49:03.778 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1 2024-02-05 15:49:03.778 DEBUG (MainThread) [aiovodafone] Login result: logged[1] 2024-02-05 15:49:03.778 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1 2024-02-05 15:49:03.778 DEBUG (MainThread) [aiovodafone] GET page /data/overview.json [192.168.1.1] 2024-02-05 15:49:13.894 DEBUG (MainThread) [homeassistant.components.vodafone_station] Finished fetching vodafone_station-192.168.1.1-coordinator data in 10.842 seconds (success: False) 2024-02-05 15:49:24.183 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1 2024-02-05 15:49:24.184 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1 2024-02-05 15:49:24.184 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession 2024-02-05 15:49:24.184 DEBUG (MainThread) [aiovodafone] Requested login url: http://192.168.1.1/login.html 2024-02-05 15:49:24.200 DEBUG (MainThread) [aiovodafone] Redirected login! 2024-02-05 15:49:24.201 DEBUG (MainThread) [aiovodafone] Requested login url: https://192.168.1.1/login.html 2024-02-05 15:49:24.491 DEBUG (MainThread) [aiovodafone] csrf_token: <HK6EC4EAA5JW14A03FD2> 2024-02-05 15:49:24.491 DEBUG (MainThread) [aiovodafone] GET page /data/user_lang.json [192.168.1.1] 2024-02-05 15:49:24.694 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '7596F9491D5C7FA4'}, {'salt': '7596F9491D5C7FA4'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}] 2024-02-05 15:49:24.695 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '7596F9491D5C7FA4', 'salt': '7596F9491D5C7FA4', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'} 2024-02-05 15:49:24.695 DEBUG (MainThread) [aiovodafone] encryption_key: <7596F9491D5C7FA4> 2024-02-05 15:49:24.695 DEBUG (MainThread) [aiovodafone] POST page /data/reset.json from host 192.168.1.1 2024-02-05 15:49:24.872 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted] 2024-02-05 15:49:24.872 DEBUG (MainThread) [aiovodafone] POST page /data/login.json from host 192.168.1.1 2024-02-05 15:49:24.959 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1" 2024-02-05 15:49:24.959 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1 2024-02-05 15:49:24.959 DEBUG (MainThread) [aiovodafone] Login result: logged[1] 2024-02-05 15:49:24.959 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1 2024-02-05 15:49:24.959 DEBUG (MainThread) [aiovodafone] GET page /data/overview.json [192.168.1.1] 2024-02-05 15:49:35.894 DEBUG (MainThread) [homeassistant.components.vodafone_station] Finished fetching vodafone_station-192.168.1.1-coordinator data in 11.711 seconds (success: False) 2024-02-05 15:49:56.161 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1 2024-02-05 15:49:56.161 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1 2024-02-05 15:49:56.161 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession 2024-02-05 15:49:56.161 DEBUG (MainThread) [aiovodafone] Requested login url: http://192.168.1.1/login.html 2024-02-05 15:49:56.184 DEBUG (MainThread) [aiovodafone] Redirected login! 2024-02-05 15:49:56.184 DEBUG (MainThread) [aiovodafone] Requested login url: https://192.168.1.1/login.html 2024-02-05 15:49:56.417 DEBUG (MainThread) [aiovodafone] csrf_token: <HK6A8345F7JW705813CE> 2024-02-05 15:49:56.417 DEBUG (MainThread) [aiovodafone] GET page /data/user_lang.json [192.168.1.1] 2024-02-05 15:49:56.641 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '721BF5BF7A1998BA'}, {'salt': '721BF5BF7A1998BA'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}] 2024-02-05 15:49:56.642 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '721BF5BF7A1998BA', 'salt': '721BF5BF7A1998BA', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'} 2024-02-05 15:49:56.642 DEBUG (MainThread) [aiovodafone] encryption_key: <721BF5BF7A1998BA> 2024-02-05 15:49:56.642 DEBUG (MainThread) [aiovodafone] POST page /data/reset.json from host 192.168.1.1 2024-02-05 15:49:56.817 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted] 2024-02-05 15:49:56.818 DEBUG (MainThread) [aiovodafone] POST page /data/login.json from host 192.168.1.1 2024-02-05 15:49:56.897 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1" 2024-02-05 15:49:56.897 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1 2024-02-05 15:49:56.897 DEBUG (MainThread) [aiovodafone] Login result: logged[1] 2024-02-05 15:49:56.897 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1 2024-02-05 15:49:56.898 DEBUG (MainThread) [aiovodafone] GET page /data/overview.json [192.168.1.1] 2024-02-05 15:50:00.399 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session 2024-02-05 15:50:00.400 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session 2024-02-05 15:50:07.894 DEBUG (MainThread) [homeassistant.components.vodafone_station] Finished fetching vodafone_station-192.168.1.1-coordinator data in 11.733 seconds (success: False) 2024-02-05 15:50:48.270 DEBUG (MainThread) [homeassistant.components.vodafone_station] Polling Vodafone Station host: 192.168.1.1 2024-02-05 15:50:48.271 DEBUG (MainThread) [aiovodafone] Logging into 192.168.1.1 2024-02-05 15:50:48.271 DEBUG (MainThread) [aiovodafone] Creating HTTP ClientSession 2024-02-05 15:50:48.271 DEBUG (MainThread) [aiovodafone] Requested login url: http://192.168.1.1/login.html 2024-02-05 15:50:48.286 DEBUG (MainThread) [aiovodafone] Redirected login! 2024-02-05 15:50:48.286 DEBUG (MainThread) [aiovodafone] Requested login url: https://192.168.1.1/login.html 2024-02-05 15:50:48.528 DEBUG (MainThread) [aiovodafone] csrf_token: <HK1A5FAAE0JW7BFD614A> 2024-02-05 15:50:48.529 DEBUG (MainThread) [aiovodafone] GET page /data/user_lang.json [192.168.1.1] 2024-02-05 15:50:48.766 DEBUG (MainThread) [aiovodafone] GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '037B28F07781FE99'}, {'salt': '037B28F07781FE99'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}] 2024-02-05 15:50:48.766 DEBUG (MainThread) [aiovodafone] Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '037B28F07781FE99', 'salt': '037B28F07781FE99', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'} 2024-02-05 15:50:48.766 DEBUG (MainThread) [aiovodafone] encryption_key: <037B28F07781FE99> 2024-02-05 15:50:48.766 DEBUG (MainThread) [aiovodafone] POST page /data/reset.json from host 192.168.1.1 2024-02-05 15:50:48.968 DEBUG (MainThread) [aiovodafone] Login first try: username[encrypted], password[encrypted] 2024-02-05 15:50:48.968 DEBUG (MainThread) [aiovodafone] POST page /data/login.json from host 192.168.1.1 2024-02-05 15:50:49.048 DEBUG (MainThread) [aiovodafone] POST raw reply (/data/login.json): "1" 2024-02-05 15:50:49.048 DEBUG (MainThread) [aiovodafone] POST json reply (/data/login.json): 1 2024-02-05 15:50:49.049 DEBUG (MainThread) [aiovodafone] Login result: logged[1] 2024-02-05 15:50:49.049 DEBUG (MainThread) [aiovodafone] Getting all devices for host 192.168.1.1 2024-02-05 15:50:49.049 DEBUG (MainThread) [aiovodafone] GET page /data/overview.json [192.168.1.1] 2024-02-05 15:51:10.791 ERROR (Recorder) [homeassistant] Error doing job: Unclosed client session 2024-02-05 15:57:04.951 ERROR (SyncWorker_12) [homeassistant] Error doing job: Unclosed client session 2024-02-05 15:57:10.507 WARNING (MainThread) [homeassistant.core] Task <Task pending name='Task-41885' coro=<ConfigEntry._async_setup_again() running at /usr/src/homeassistant/homeassistant/config_entries.py:492> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[set.remove()]> was still running after final writes shutdown stage; Integrations should cancel non-critical tasks when receiving the stop event to prevent delaying shutdown 2024-02-05 15:57:10.511 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.1.1 for vodafone_station Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 406, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/vodafone_station/init.py", line 23, in async_setup_entry await coordinator.async_config_entry_first_refresh() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in async_config_entry_first_refresh await self._async_refresh( File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/vodafone_station/coordinator.py", line 100, in _async_update_data raw_data_devices = await self.api.get_devices_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiovodafone/api.py", line 452, in get_devices_data return_dict = await self._get_sercomm_page("/data/overview.json") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiovodafone/api.py", line 312, in _get_sercomm_page reply = await self._get_page_result(page) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiovodafone/api.py", line 133, in _get_page_result return await self.session.get( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 605, in _request await resp.start(conn) File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 966, in start message, payload = await protocol.read() # type: ignore[union-attr] ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 622, in read await self._waiter asyncio.exceptions.CancelledError: Home Assistant final writes shutdown stage

epl2005 avatar Feb 05 '24 15:02 epl2005

Log says fetching is always unsuccessful. I noticed 3 things:

  • csrf_token value is missing in log
  • GET page /data/overview.json is always failing
  • Error doing job: Unclosed client session , related to previous point

Please do a wget/curl of https://192.168.1.1/login.html and post it here.

chemelli74 avatar Feb 05 '24 16:02 chemelli74

The log I dumped this morning (just re-enabling the integration without restarting home assistant) the token is present as You can see above (e.g csrf_token: <HK1CEFFBEDJW3DBF4F63> ) Here below the curl output:

curl https://192.168.1.1/login.html curl: (60) SSL certificate problem: self signed certificate More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.

epl2005 avatar Feb 05 '24 16:02 epl2005

Script Output files here included login-page-httpx.zip

Additionally I ran library_test.py script and thereafter the output:

aiovodafone library test (renamed as test.py)

Determining device type DeviceType.SERCOMM

DEBUG:aiovodafone:Logging into 192.168.1.1 DEBUG:aiovodafone:Creating HTTP ClientSession DEBUG:aiovodafone:Requested login url: http://192.168.1.1/login.html DEBUG:aiovodafone:Redirected login! DEBUG:aiovodafone:Requested login url: https://192.168.1.1/login.html DEBUG:aiovodafone:csrf_token: <HK31A685D1JW35A2A7A9> DEBUG:aiovodafone:GET page /data/user_lang.json [192.168.1.1] DEBUG:aiovodafone:GET reply (/data/user_lang.json): [{'default_login_id': ''}, {'encryption_key': '3900064A3EE8DC68'}, {'salt': '3900064A3EE8DC68'}, {'ipv6_status': '1'}, {'ipv6_configuration': '1'}, {'fw_version': 'XF6_4.0.03.08'}, {'wan_ip4_addr': '2.44.34.35'}, {'wan_ip6_addr': ''}, {'lang_code': 'it_eles'}, {'region_code': 'it_else'}, {'credential_detail': '0'}, {'password_enable': '1'}, {'delay_time': '0'}, {'trying_times': '0'}, {'lang_show': "{'en':'1','sp':'1','ru':'0'}"}, {'jump_to_wizard': '0'}] DEBUG:aiovodafone:Data retrieved (key_values): {'default_login_id': '', 'encryption_key': '3900064A3EE8DC68', 'salt': '3900064A3EE8DC68', 'ipv6_status': '1', 'ipv6_configuration': '1', 'fw_version': 'XF6_4.0.03.08', 'wan_ip4_addr': '2.44.34.35', 'wan_ip6_addr': '', 'lang_code': 'it_eles', 'region_code': 'it_else', 'credential_detail': '0', 'password_enable': '1', 'delay_time': '0', 'trying_times': '0', 'lang_show': "{'en':'1','sp':'1','ru':'0'}", 'jump_to_wizard': '0'} DEBUG:aiovodafone:encryption_key: <3900064A3EE8DC68> DEBUG:aiovodafone:POST page /data/reset.json from host 192.168.1.1 DEBUG:aiovodafone:Login first try: username[encrypted], password[encrypted] DEBUG:aiovodafone:POST page /data/login.json from host 192.168.1.1 DEBUG:aiovodafone:POST raw reply (/data/login.json): "1"

DEBUG:aiovodafone:POST json reply (/data/login.json): 1 DEBUG:aiovodafone:Login result: logged[1] Logged-in.

DEBUG:aiovodafone:Getting all devices for host 192.168.1.1 DEBUG:aiovodafone:GET page /data/overview.json [192.168.1.1] Traceback (most recent call last): File "/root/test.py", line 125, in asyncio.run(main()) File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/root/test.py", line 105, in main devices = await api.get_devices_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiovodafone/api.py", line 452, in get_devices_data return_dict = await self._get_sercomm_page("/data/overview.json") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiovodafone/api.py", line 312, in _get_sercomm_page reply = await self._get_page_result(page) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiovodafone/api.py", line 133, in _get_page_result return await self.session.get( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 605, in _request await resp.start(conn) File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 961, in start with self._timer: File "/usr/local/lib/python3.11/site-packages/aiohttp/helpers.py", line 735, in exit raise asyncio.TimeoutError from None TimeoutError ERROR:asyncio:Unclosed client session client_session: <aiohttp.client.ClientSession object at 0xb54dd530>

Hope this help too

epl2005 avatar Feb 05 '24 23:02 epl2005

hi @epl2005, please join HomeAssistant on Discord and then contact me: chemelli74#2180

chemelli74 avatar Feb 06 '24 16:02 chemelli74

@epl2005, is the fix provided via Discord effective ?

chemelli74 avatar Feb 19 '24 09:02 chemelli74

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

From Discord chat:

"Finally I found what was locking queries in the station.. I reserved some static address in the dhcp range .. changing them properly I don’t have any timeout anymore"

chemelli74 avatar May 19 '24 14:05 chemelli74