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

Can't connect anymore #225

Open
mitch-dc opened this issue Dec 18, 2024 · 9 comments
Open

Can't connect anymore #225

mitch-dc opened this issue Dec 18, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@mitch-dc
Copy link

2024-12-18T17:45:42+0100:CRITICAL:There was a problem when authenticating with WeConnect: It seems like you need to accept the terms and conditions for the Volkswagen service. Try to visit the URL "https://identity.vwgroup.io//signin-servXXXXXXX" or log into the Volkswagen smartphone app

I am experiencing an issue where I can no longer connect to the server. This problem occurs both with the CLI integration and the Home Assistant Component, which is widely used by others.

Steps I have taken to troubleshoot:

Accepted the terms and conditions again.
Revoked access and re-added it.
Despite these efforts, I still encounter connection errors, and the issue persists.

@tillsteinbach
Copy link
Owner

One recommendation is to temporarily set the location in the profile to Germany to accept.

@mitch-dc
Copy link
Author

Unfortunately, the country cannot be changed as the option is grayed out or disabled.

image

@mitch-dc
Copy link
Author

Ahh in profile it works for now:
image

@tillsteinbach
Copy link
Owner

Exactly, the profile here: https://vwid.vwgroup.io/account

@johanflikweert
Copy link

I did some debugging as I experience the same problem, even after consenting everything. It seems that we_connect_session.py does some validation of the afterLoginUrl (starting at line 250) and as soon as it contains 'consent', it considers it as invalid. However, if I run the same login script in my browser, the following redirects happen without any user interaction:
image
So, this consent is indeed an extra redirect, but a valid one which is not a reason to stop the authentication process. @tillsteinbach , could you please allow this extra redirect?

@tillsteinbach
Copy link
Owner

I will take it out for now, thank you for debugging

@tillsteinbach
Copy link
Owner

Can you check 0.60.7 please?

@mitch-dc
Copy link
Author

i've bumped the version and will test:
https://github.com/mitch-dc/volkswagen_we_connect_id/releases/tag/v0.2.5

Thanks guys!

@johanflikweert
Copy link

johanflikweert commented Dec 23, 2024

Finally resolved my issue: by not only setting my country to Germany, but also my language to Deutsch, I was able to get rid of the terms and conditions step.

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

3 participants