-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
WeConnect fails due to not using Https with OAuth2 #381
Comments
Same here (using docker): |
Are you on the latest version? This is a problem with accepting the terms and conditions. |
Latest Version of what? Volkswagen App?Should be recent version and up to date:Andreas LacknerFriedensflotte ***@***.*** 26.01.2025 um 11:15 schrieb Till Steinbach ***@***.***>:
Are you on the latest version? This is a problem with accepting the terms and conditions.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
no, latest version of WeConnect-mqtt |
I’m using a QNAP-NAS with Container Station. I’ve installed this Docker Image: tillsteinbach/weconnect-mqtt:latest
Edit: I've added the --version flag and log states:
weconnect-mqtt 0.49.2 (using WeConnect-python 0.60.5)
|
I found out in one of the other issues of this repo that you need to change your country to Germany and language to German in you Volkswagen id. Then you don't see the screen to accept the terms anymore after accepting once. This does not impact the app or other websites. Also you need to login to the vw id app once so that the app is authorised. I have a passat gte to uses the Volkswagen app. But I got access denied until I once logged into the vw id app. Even though it does give an error during login. See also #377 |
Huh, you still have the Volkswagen ID app? I worked with the now called „Volkswagen“ app with my Passat for more than a year. I think there is only one app for all cars. |
I don't know why, but now WeConnect-mqtt works for me. Maybe it's the TC-Parameter (was Europe/Vienna, now set to Europe/Berlin) or the "-v" |
I am getting this error in the logs
weconnect-mqtt-1 | File "/usr/local/lib/python3.12/site-packages/weconnect/auth/openid_session.py", line 194, in request weconnect-mqtt-1 | url, headers, data = self.addToken(url, body=data, headers=headers, access_type=access_type, token=token) weconnect-mqtt-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ weconnect-mqtt-1 | File "/usr/local/lib/python3.12/site-packages/weconnect/auth/openid_session.py", line 238, in addToken weconnect-mqtt-1 | self.login() weconnect-mqtt-1 | File "/usr/local/lib/python3.12/site-packages/weconnect/auth/we_connect_session.py", line 76, in login weconnect-mqtt-1 | response = self.doWebAuth(authorizationUrl) weconnect-mqtt-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ weconnect-mqtt-1 | File "/usr/local/lib/python3.12/site-packages/weconnect/auth/we_connect_session.py", line 253, in doWebAuth weconnect-mqtt-1 | afterLoginResponse = self.get(afterLoginUrl, allow_redirects=False, access_type=AccessType.NONE) weconnect-mqtt-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ weconnect-mqtt-1 | File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 602, in get weconnect-mqtt-1 | return self.request("GET", url, **kwargs) weconnect-mqtt-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ weconnect-mqtt-1 | File "/usr/local/lib/python3.12/site-packages/weconnect/auth/we_connect_session.py", line 69, in request weconnect-mqtt-1 | return super(WeConnectSession, self).request( weconnect-mqtt-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ weconnect-mqtt-1 | File "/usr/local/lib/python3.12/site-packages/weconnect/auth/openid_session.py", line 188, in request weconnect-mqtt-1 | raise InsecureTransportError() weconnect-mqtt-1 | oauthlib.oauth2.rfc6749.errors.InsecureTransportError: (insecure_transport) OAuth 2 MUST utilize https.
The text was updated successfully, but these errors were encountered: