mitch-dc / volkswagen_we_connect_id

Apache License 2.0
204 stars 54 forks source link

Version not compatible with HA2024-11.3 #284

Closed bobbasli closed 2 days ago

bobbasli commented 4 days ago

Hi,

It looks as if the weconnect is not compatible. Weconnect can not be loaded in the latest version

Log:

Logger: homeassistant.config_entries Bron: config_entries.py:635 Eerst voorgekomen: 20:04:47 (3 gebeurtenissen) Laatst gelogd: 21:37:20

Error setting up entry Volkswagen We Connect ID for volkswagen_we_connect_id Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/volkswagen_we_connect_id/init.py", line 57, in async_setup_entry await hass.async_add_executor_job(_we_connect.login) File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/weconnect/weconnect.py", line 184, in login self.session.login() File "/usr/local/lib/python3.12/site-packages/weconnect/auth/we_connect_session.py", line 76, in login response = self.doWebAuth(authorizationUrl) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/weconnect/auth/we_connect_session.py", line 253, in doWebAuth afterLoginResponse = self.get(afterLoginUrl, allow_redirects=False, access_type=AccessType.NONE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 602, in get return self.request("GET", url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/weconnect/auth/we_connect_session.py", line 69, in request return super(WeConnectSession, self).request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/weconnect/auth/openid_session.py", line 188, in request raise InsecureTransportError() oauthlib.oauth2.rfc6749.errors.InsecureTransportError: (insecure_transport) OAuth 2 MUST utilize https.

gilder0 commented 4 days ago

in my opinion something has changed during last few days in VW API. I got exactly the same error with older HA version.

bjhemm commented 4 days ago

I had the exact same problem. But this fixed it for me. I logged in at https://id.vwgroup.io/landing-page and was shown a "you have to agree to....." It seems that you have consent to some new terms and conditions. After that the integration started working again.

mark-summers commented 4 days ago

I had the exact same problem. But this fixed it for me. I logged in at https://id.vwgroup.io/landing-page and was shown a "you have to agree to....." It seems that you have consent to some new terms and conditions.

After that the integration started working again.

Thank you! This worked for me!

MCBrakel commented 4 days ago

I had the exact same problem. But this fixed it for me. I logged in at https://id.vwgroup.io/landing-page and was shown a "you have to agree to....." It seems that you have consent to some new terms and conditions. After that the integration started working again.

This also solved the issue here. Thanks!

frosenlind commented 4 days ago

I had the exact same problem. But this fixed it for me. I logged in at https://id.vwgroup.io/landing-page and was shown a "you have to agree to....." It seems that you have consent to some new terms and conditions. After that the integration started working again.

Same here, thank you!

bobbasli commented 4 days ago

Awesome, that does the trick!

visualapproach commented 3 days ago

Thanks, that was it!

ccie11827 commented 2 days ago

Thanks, that solves my problem!

bobbasli commented 2 days ago

I had the exact same problem. But this fixed it for me. I logged in at https://id.vwgroup.io/landing-page and was shown a "you have to agree to....." It seems that you have consent to some new terms and conditions. After that the integration started working again.

This solves the issue