Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] reauth flow without a link to the config entry - since HA 2024.12.3 #698

Closed
glcos opened this issue Dec 14, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@glcos
Copy link

glcos commented Dec 14, 2024

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

  • [ X] 1.) Can you login using the smartphone app Volkswagen/Volkswagen Connect and interact with your car?
  • [X ] 2.) Please make sure that you can login into https://vwid.vwgroup.io/ and make sure that any "Terms and Conditions" are all checked
  • [X ] 3.) I do not have MFA enabled.

Environment

  • Volkswagencarnet release with the issue: 5.0.3
  • Last working homeassistant-volkswagencarnet release (if known): 2024.12.1
  • Home Assistant Core release with the issue: 2024.12.3
  • Operating environment (Home Assistant OS/Supervised/Container/Core/venv): CORE
  • Car model and year: VW Passat MY 2022
  • Country where the car was bought: Italy
  • Valid VW Connect subscription: Yes
  • Have you verified that the We Connect service works via VW´s portal?: Working fine

Describe the bug

Integration has been working fine since HA 2024.12.1
Today I upgraded to 2024.12.3 and now I'm getting this error in the log:

2024-12-14 17:37:56.404 WARNING (MainThread) [volkswagencarnet.vw_connection] Failed to find next redirect location
2024-12-14 17:37:56.405 ERROR (MainThread) [volkswagencarnet.vw_connection] Login failed: Redirect error
2024-12-14 17:38:01.352 WARNING (MainThread) [volkswagencarnet.vw_connection] Failed to find next redirect location
2024-12-14 17:38:01.352 ERROR (MainThread) [volkswagencarnet.vw_connection] Login failed: Redirect error
2024-12-14 17:38:05.204 WARNING (MainThread) [volkswagencarnet.vw_connection] Failed to find next redirect location
2024-12-14 17:38:05.205 ERROR (MainThread) [volkswagencarnet.vw_connection] Login failed: Redirect error
2024-12-14 17:38:08.476 WARNING (MainThread) [custom_components.VW] Could not login to Volkswagen Connect, please check your credentials and verify that the service is working
2024-12-14 17:38:08.479 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'VW' initialises a reauth flow without a link to the config entry at custom_components/VW/__init__.py, line 81: await hass.config_entries.flow.async_init(. This will stop working in Home Assistant 2025.12, please report it to the author of the 'VW' custom integration
2024-12-14 17:39:07.831 WARNING (MainThread) [volkswagencarnet.vw_connection] Failed to find next redirect location
2024-12-14 17:39:07.831 ERROR (MainThread) [volkswagencarnet.vw_connection] Login failed: Redirect error
2024-12-14 17:39:09.325 ERROR (MainThread) [custom_components.VW.config_flow] Failed to login due to error: 'identity'

Steps to Reproduce

Just upgrade HA to 2024.12.3

Expected behavior

Screenshots

Traceback/Error logs

Debug information - all JSON responses from logfile

Additional context

Note

Issues lacking sufficient details or context may be subject to closure without prior notice. Detailed bug reports are essential for effective issue resolution. Thank you for your cooperation.

@glcos glcos added the bug Something isn't working label Dec 14, 2024
@stickpin
Copy link
Collaborator

Please check #683
It should be related.

@stickpin stickpin closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants