skodaconnect / homeassistant-skodaconnect

Skoda Connect - A home assistant plugin to add integration with your car
Apache License 2.0
223 stars 28 forks source link

Password change and Enyaq no longer available in MySkoda Essential and HA #300

Closed AMajland closed 1 week ago

AMajland commented 1 week ago

I changed my password to check that it forced a logout from the android myskoda app. Then I changed the password back again. (password reset - link sent to email to enter a new one)

Now only my Kodiaq is visible but not the Enyaq in HA

Logger: skodaconnect.connection Source: custom_components/skodaconnect/init.py:902 integration: Skoda Connect (documentation, issues) First occurred: 16:57:41 (3 occurrences) Last logged: 16:59:16 Something went wrong when refreshing tokens for "connect".

So my conclusion is that i'm now in the same boat as new Enyaq users and the password reset forced my over to the new api only ....

So if you still have the Enyaq device/entities don't change you password ....

Any ides for something to try out ?

dvx76 commented 1 week ago

The litmus test seems to be whether the old app (MySkoda Essentials) still works. If you don't have the car there you won't have it in the HA integration either.

AMajland commented 1 week ago

I've checked MySkoda Essential again and this time the Enyaq was back again - behind a pop up disclaimer to get the new app....

It is literally hours since i changed the password back and forth.

I'll try to enable it again in HA

But again - if you have it working. Don't change a thing .... Not even the password ....

AMajland commented 1 week ago

image But no luck yet .... I'll try again in a couple of hours.....

dvx76 commented 1 week ago

Can take a closer look if you provide the full debug logs after configuring the integration.

AMajland commented 1 week ago

Trying to add it again does show both VIN (cut short in the sceenshot on purpose) image

But i did not continue

AMajland commented 1 week ago

Just gotta find out how to get the full debug logs ...

dvx76 commented 1 week ago

https://github.com/skodaconnect/homeassistant-skodaconnect?tab=readme-ov-file#enable-debug-logging + Full API debug logging option when configuring the integration

AMajland commented 1 week ago

Disabled the Kodiaq again, added the debug options and restarted HA.

Enabled the Enyaq, prompted to restart again, edit the configuration and saved it.

To me it looks like it tris to reuse an expired token: Restored token for client "connect", valid until 2025-03-09 11:43:59

2024-09-10 17:50:29.321 INFO (MainThread) [homeassistant.setup] Setting up skodaconnect 2024-09-10 17:50:29.322 INFO (MainThread) [homeassistant.setup] Setup of domain skodaconnect took 0.00 seconds 2024-09-10 17:50:29.323 INFO (MainThread) [skodaconnect.connection] Unofficial Skoda Connect library, version 1.3.11 2024-09-10 17:50:29.323 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de 2024-09-10 17:50:29.323 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "technical". 2024-09-10 17:50:29.324 DEBUG (MainThread) [skodaconnect.connection] Matching token audience f9a2359a-b776-46d9-bd0c-db1904343117@apps_vw-dilab_com to client ID for "technical" 2024-09-10 17:50:29.324 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:50:29.573 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f6ca0b0f0>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f6323c090>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f6323c230>} 2024-09-10 17:50:29.576 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:50:29.576 INFO (MainThread) [skodaconnect.connection] Restored token for client "technical", valid until 2025-03-09 11:43:59 2024-09-10 17:50:29.576 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "connect". 2024-09-10 17:50:29.576 DEBUG (MainThread) [skodaconnect.connection] Matching token audience 7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com to client ID for "connect" 2024-09-10 17:50:29.576 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:50:29.629 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f6323c810>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f6323c070>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f6323c110>} 2024-09-10 17:50:29.630 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:50:29.631 INFO (MainThread) [skodaconnect.connection] Restored token for client "connect", valid until 2025-03-09 11:43:59 2024-09-10 17:50:29.631 DEBUG (MainThread) [skodaconnect.connection] No valid access token for "connect" 2024-09-10 17:50:29.631 DEBUG (MainThread) [skodaconnect.connection] Refreshing tokens for client "connect" 2024-09-10 17:50:30.303 WARNING (MainThread) [skodaconnect.connection] Something went wrong when refreshing tokens for "connect". 2024-09-10 17:50:30.303 DEBUG (MainThread) [skodaconnect.connection] Response: <ClientResponse(https://api.connect.skoda-auto.cz/api/v1/authentication/token/refresh?systemId=CONNECT) [500 Internal Server Error]> 2024-09-10 17:51:53.009 INFO (MainThread) [skodaconnect.connection] Unofficial Skoda Connect library, version 1.3.11 2024-09-10 17:51:53.009 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de 2024-09-10 17:51:53.009 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "technical". 2024-09-10 17:51:53.010 DEBUG (MainThread) [skodaconnect.connection] Matching token audience f9a2359a-b776-46d9-bd0c-db1904343117@apps_vw-dilab_com to client ID for "technical" 2024-09-10 17:51:53.010 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:51:55.180 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f591990b0>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f59198590>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f59198750>} 2024-09-10 17:51:55.181 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:51:55.181 INFO (MainThread) [skodaconnect.connection] Restored token for client "technical", valid until 2025-03-09 11:43:59 2024-09-10 17:51:55.182 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "connect". 2024-09-10 17:51:55.183 DEBUG (MainThread) [skodaconnect.connection] Matching token audience 7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com to client ID for "connect" 2024-09-10 17:51:55.184 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:51:55.244 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f53098af0>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f53098bf0>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f53098c10>} 2024-09-10 17:51:55.245 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:51:55.245 INFO (MainThread) [skodaconnect.connection] Restored token for client "connect", valid until 2025-03-09 11:43:59 2024-09-10 17:51:55.246 DEBUG (MainThread) [skodaconnect.connection] No valid access token for "connect" 2024-09-10 17:51:55.246 DEBUG (MainThread) [skodaconnect.connection] Refreshing tokens for client "connect" 2024-09-10 17:51:55.513 WARNING (MainThread) [skodaconnect.connection] Something went wrong when refreshing tokens for "connect". 2024-09-10 17:51:55.514 DEBUG (MainThread) [skodaconnect.connection] Response: <ClientResponse(https://api.connect.skoda-auto.cz/api/v1/authentication/token/refresh?systemId=CONNECT) [500 Internal Server Error]> 2024-09-10 17:52:06.004 INFO (MainThread) [skodaconnect.connection] Unofficial Skoda Connect library, version 1.3.11 2024-09-10 17:52:06.005 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de 2024-09-10 17:52:06.005 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "technical". 2024-09-10 17:52:06.006 DEBUG (MainThread) [skodaconnect.connection] Matching token audience f9a2359a-b776-46d9-bd0c-db1904343117@apps_vw-dilab_com to client ID for "technical" 2024-09-10 17:52:06.006 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:52:06.063 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518afe90>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518ac610>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518ac190>} 2024-09-10 17:52:06.066 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:52:06.066 INFO (MainThread) [skodaconnect.connection] Restored token for client "technical", valid until 2025-03-09 11:43:59 2024-09-10 17:52:06.066 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "connect". 2024-09-10 17:52:06.067 DEBUG (MainThread) [skodaconnect.connection] Matching token audience 7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com to client ID for "connect" 2024-09-10 17:52:06.067 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:52:06.116 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518ac3b0>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518ac3f0>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518ac290>} 2024-09-10 17:52:06.118 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:52:06.119 INFO (MainThread) [skodaconnect.connection] Restored token for client "connect", valid until 2025-03-09 11:43:59 2024-09-10 17:52:06.119 DEBUG (MainThread) [skodaconnect.connection] No valid access token for "connect" 2024-09-10 17:52:06.119 DEBUG (MainThread) [skodaconnect.connection] Refreshing tokens for client "connect" 2024-09-10 17:52:06.215 WARNING (MainThread) [skodaconnect.connection] Something went wrong when refreshing tokens for "connect". 2024-09-10 17:52:06.215 DEBUG (MainThread) [skodaconnect.connection] Response: <ClientResponse(https://api.connect.skoda-auto.cz/api/v1/authentication/token/refresh?systemId=CONNECT) [500 Internal Server Error]> 2024-09-10 17:52:26.455 INFO (MainThread) [skodaconnect.connection] Unofficial Skoda Connect library, version 1.3.11 2024-09-10 17:52:26.455 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de 2024-09-10 17:52:26.456 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "technical". 2024-09-10 17:52:26.457 DEBUG (MainThread) [skodaconnect.connection] Matching token audience f9a2359a-b776-46d9-bd0c-db1904343117@apps_vw-dilab_com to client ID for "technical" 2024-09-10 17:52:26.457 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:52:26.568 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518ae610>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518ad090>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5849ceb0>} 2024-09-10 17:52:26.571 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:52:26.571 INFO (MainThread) [skodaconnect.connection] Restored token for client "technical", valid until 2025-03-09 11:43:59 2024-09-10 17:52:26.571 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "connect". 2024-09-10 17:52:26.572 DEBUG (MainThread) [skodaconnect.connection] Matching token audience 7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com to client ID for "connect" 2024-09-10 17:52:26.572 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:52:26.616 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518ac610>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518ac2d0>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f518ae6d0>} 2024-09-10 17:52:26.618 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:52:26.618 INFO (MainThread) [skodaconnect.connection] Restored token for client "connect", valid until 2025-03-09 11:43:59 2024-09-10 17:52:26.618 DEBUG (MainThread) [skodaconnect.connection] No valid access token for "connect" 2024-09-10 17:52:26.618 DEBUG (MainThread) [skodaconnect.connection] Refreshing tokens for client "connect" 2024-09-10 17:52:26.809 WARNING (MainThread) [skodaconnect.connection] Something went wrong when refreshing tokens for "connect". 2024-09-10 17:52:26.810 DEBUG (MainThread) [skodaconnect.connection] Response: <ClientResponse(https://api.connect.skoda-auto.cz/api/v1/authentication/token/refresh?systemId=CONNECT) [500 Internal Server Error]> 2024-09-10 17:53:06.973 INFO (MainThread) [skodaconnect.connection] Unofficial Skoda Connect library, version 1.3.11 2024-09-10 17:53:06.973 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de 2024-09-10 17:53:06.974 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "technical". 2024-09-10 17:53:06.975 DEBUG (MainThread) [skodaconnect.connection] Matching token audience f9a2359a-b776-46d9-bd0c-db1904343117@apps_vw-dilab_com to client ID for "technical" 2024-09-10 17:53:06.975 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:53:07.104 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f514f7410>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f514f4bd0>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f514f4b30>} 2024-09-10 17:53:07.107 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:53:07.107 INFO (MainThread) [skodaconnect.connection] Restored token for client "technical", valid until 2025-03-09 11:43:59 2024-09-10 17:53:07.107 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "connect". 2024-09-10 17:53:07.108 DEBUG (MainThread) [skodaconnect.connection] Matching token audience 7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com to client ID for "connect" 2024-09-10 17:53:07.108 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:53:07.157 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f514f6770>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f514f6ad0>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f514f5130>} 2024-09-10 17:53:07.160 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:53:07.160 INFO (MainThread) [skodaconnect.connection] Restored token for client "connect", valid until 2025-03-09 11:43:59 2024-09-10 17:53:07.161 DEBUG (MainThread) [skodaconnect.connection] No valid access token for "connect" 2024-09-10 17:53:07.161 DEBUG (MainThread) [skodaconnect.connection] Refreshing tokens for client "connect" 2024-09-10 17:53:07.330 WARNING (MainThread) [skodaconnect.connection] Something went wrong when refreshing tokens for "connect". 2024-09-10 17:53:07.331 DEBUG (MainThread) [skodaconnect.connection] Response: <ClientResponse(https://api.connect.skoda-auto.cz/api/v1/authentication/token/refresh?systemId=CONNECT) [500 Internal Server Error]> 2024-09-10 17:54:27.390 INFO (MainThread) [skodaconnect.connection] Unofficial Skoda Connect library, version 1.3.11 2024-09-10 17:54:27.391 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de 2024-09-10 17:54:27.391 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "technical". 2024-09-10 17:54:27.392 DEBUG (MainThread) [skodaconnect.connection] Matching token audience f9a2359a-b776-46d9-bd0c-db1904343117@apps_vw-dilab_com to client ID for "technical" 2024-09-10 17:54:27.392 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:54:27.533 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5158ef30>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5158e1f0>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5158f430>} 2024-09-10 17:54:27.535 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:54:27.535 INFO (MainThread) [skodaconnect.connection] Restored token for client "technical", valid until 2025-03-09 11:43:59 2024-09-10 17:54:27.535 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "connect". 2024-09-10 17:54:27.536 DEBUG (MainThread) [skodaconnect.connection] Matching token audience 7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com to client ID for "connect" 2024-09-10 17:54:27.536 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:54:27.590 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5158ef50>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5158f3d0>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5158de90>} 2024-09-10 17:54:27.593 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:54:27.593 INFO (MainThread) [skodaconnect.connection] Restored token for client "connect", valid until 2025-03-09 11:43:59 2024-09-10 17:54:27.593 DEBUG (MainThread) [skodaconnect.connection] No valid access token for "connect" 2024-09-10 17:54:27.594 DEBUG (MainThread) [skodaconnect.connection] Refreshing tokens for client "connect" 2024-09-10 17:54:27.763 WARNING (MainThread) [skodaconnect.connection] Something went wrong when refreshing tokens for "connect". 2024-09-10 17:54:27.764 DEBUG (MainThread) [skodaconnect.connection] Response: <ClientResponse(https://api.connect.skoda-auto.cz/api/v1/authentication/token/refresh?systemId=CONNECT) [500 Internal Server Error]> 2024-09-10 17:55:48.163 INFO (MainThread) [skodaconnect.connection] Unofficial Skoda Connect library, version 1.3.11 2024-09-10 17:55:48.163 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de 2024-09-10 17:55:48.164 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "technical". 2024-09-10 17:55:48.165 DEBUG (MainThread) [skodaconnect.connection] Matching token audience f9a2359a-b776-46d9-bd0c-db1904343117@apps_vw-dilab_com to client ID for "technical" 2024-09-10 17:55:48.165 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:55:48.296 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5004b550>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5004bbb0>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5004a5f0>} 2024-09-10 17:55:48.299 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:55:48.299 INFO (MainThread) [skodaconnect.connection] Restored token for client "technical", valid until 2025-03-09 11:43:59 2024-09-10 17:55:48.300 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "connect". 2024-09-10 17:55:48.300 DEBUG (MainThread) [skodaconnect.connection] Matching token audience 7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com to client ID for "connect" 2024-09-10 17:55:48.301 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:55:48.346 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5004a2d0>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5004a4d0>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5004a350>} 2024-09-10 17:55:48.349 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:55:48.349 INFO (MainThread) [skodaconnect.connection] Restored token for client "connect", valid until 2025-03-09 11:43:59 2024-09-10 17:55:48.349 DEBUG (MainThread) [skodaconnect.connection] No valid access token for "connect" 2024-09-10 17:55:48.350 DEBUG (MainThread) [skodaconnect.connection] Refreshing tokens for client "connect" 2024-09-10 17:55:48.515 WARNING (MainThread) [skodaconnect.connection] Something went wrong when refreshing tokens for "connect". 2024-09-10 17:55:48.515 DEBUG (MainThread) [skodaconnect.connection] Response: <ClientResponse(https://api.connect.skoda-auto.cz/api/v1/authentication/token/refresh?systemId=CONNECT) [500 Internal Server Error]> 2024-09-10 17:57:08.837 INFO (MainThread) [skodaconnect.connection] Unofficial Skoda Connect library, version 1.3.11 2024-09-10 17:57:08.838 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de 2024-09-10 17:57:08.838 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "technical". 2024-09-10 17:57:08.839 DEBUG (MainThread) [skodaconnect.connection] Matching token audience f9a2359a-b776-46d9-bd0c-db1904343117@apps_vw-dilab_com to client ID for "technical" 2024-09-10 17:57:08.839 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:57:08.988 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5021e310>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5021cd90>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f6b9dfbf0>} 2024-09-10 17:57:08.990 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:57:08.990 INFO (MainThread) [skodaconnect.connection] Restored token for client "technical", valid until 2025-03-09 11:43:59 2024-09-10 17:57:08.991 DEBUG (MainThread) [skodaconnect.connection] Attempting restore of saved token for client "connect". 2024-09-10 17:57:08.991 DEBUG (MainThread) [skodaconnect.connection] Matching token audience 7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com to client ID for "connect" 2024-09-10 17:57:08.991 DEBUG (MainThread) [skodaconnect.connection] Audience and client ID matches, fetching JWKs 2024-09-10 17:57:09.040 DEBUG (MainThread) [skodaconnect.connection] Token Key ID is 4812883f-9cab-401c-a298-0fa2109cebca, match from public keys: {'4812883f-9cab-401c-a298-0fa2109cebca': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f500cf050>, 'fd3436e5-35bd-4e26-8df0-f356498cb593': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f500ced90>, '3b1628e4-3895-42f0-8778-712a408c0595': <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPublicKey object at 0x7f5021ca90>} 2024-09-10 17:57:09.042 DEBUG (MainThread) [skodaconnect.connection] Successfully verified refresh token audience and signature 2024-09-10 17:57:09.043 INFO (MainThread) [skodaconnect.connection] Restored token for client "connect", valid until 2025-03-09 11:43:59 2024-09-10 17:57:09.043 DEBUG (MainThread) [skodaconnect.connection] No valid access token for "connect" 2024-09-10 17:57:09.043 DEBUG (MainThread) [skodaconnect.connection] Refreshing tokens for client "connect" 2024-09-10 17:57:09.221 WARNING (MainThread) [skodaconnect.connection] Something went wrong when refreshing tokens for "connect". 2024-09-10 17:57:09.222 DEBUG (MainThread) [skodaconnect.connection] Response: <ClientResponse(https://api.connect.skoda-auto.cz/api/v1/authentication/token/refresh?systemId=CONNECT) [500 Internal Server Error]>

AMajland commented 1 week ago

If i try to add it again i get the error that it is already configured. - but it seems to read a lot about the car

2024-09-10 18:03:03.518 DEBUG (MainThread) [skodaconnect.vehicle] Creating Vehicle class object with data {'vin': 'TMBJC7NY5MF006429', 'connectivities': ['REMOTE'], 'capabilities': ['DCS', 'AUTOMATION', 'CHARGING', 'CHARGING_STATIONS', 'AIR_CONDITIONING', 'DEALER_APPOINTMENT', 'DESTINATIONS', 'MAP_UPDATE', 'MEASUREMENTS', 'ONLINE_SPEECH', 'ONLINE_SPEECH_GPS', 'PARKING_INFORMATION', 'PARKING_POSITION', 'PLUG_AND_CHARGE', 'POI_SEARCH', 'ROADSIDE_ASSISTANT', 'ROUTING', 'STATE', 'TRAFFIC_INFORMATION', 'VEHICLE_HEALTH', 'VEHICLE_LIGHTS', 'WEB_RADIO'], 'specification': {'title': 'Škoda Enyaq', 'model': 'Enyaq', 'modelYear': '2021', 'body': 'SUV', 'systemCode': 'UNKNOWN', 'systemModelId': '5AZJJ2', 'engine': {'type': 'iV', 'powerInKW': 150}, 'battery': {'capacityInKWh': 77}, 'gearbox': {'type': 'E1H'}, 'trimLevel': '80', 'manufacturingDate': '2020-12-16', 'maxChargingPowerInKW': 125}} 2024-09-10 18:03:03.519 DEBUG (MainThread) [skodaconnect.connection] Checking vehicle {'vin': 'TMBJB9NS4K8501166', 'name': 'KODIAQ STY TS11015A7F', 'licensePlate': 'CJ92226', 'connectivities': [{'type': 'INCAR', 'detail': {'incar': {'state': 'ACTIVATED'}}}, {'type': 'ONLINE', 'detail': {'online': {'state': 'ACTIVATED'}}}], 'capabilities': {'capabilities': [{'id': 'DCS', 'statuses': []}, {'id': 'ACCESS', 'statuses': [], 'serviceExpiration': datetime.datetime(2025, 6, 8, 13, 51, tzinfo=datetime.timezone.utc)}, {'id': 'DEALER_APPOINTMENT', 'statuses': [], 'serviceExpiration': datetime.datetime(2033, 5, 10, 13, 20, tzinfo=datetime.timezone.utc)}, {'id': 'DESTINATIONS', 'statuses': ['LICENSE_MISSING', 'LICENSE_EXPIRED'], 'serviceExpiration': datetime.datetime(2021, 5, 16, 20, 49, tzinfo=datetime.timezone.utc)}, {'id': 'EMERGENCY_CALLING', 'statuses': [], 'serviceExpiration': datetime.datetime(2033, 5, 10, 13, 20, tzinfo=datetime.timezone.utc)}, {'id': 'FUEL_STATUS', 'statuses': [], 'serviceExpiration': datetime.datetime(2025, 6, 8, 13, 51, tzinfo=datetime.timezone.utc)}, {'id': 'GEO_FENCE', 'statuses': [], 'serviceExpiration': datetime.datetime(2025, 6, 8, 13, 51, tzinfo=datetime.timezone.utc)}, {'id': 'MEASUREMENTS', 'statuses': [], 'serviceExpiration': datetime.datetime(2025, 6, 8, 13, 51, tzinfo=datetime.timezone.utc)}, {'id': 'NEWS', 'statuses': ['LICENSE_MISSING', 'LICENSE_EXPIRED'], 'serviceExpiration': datetime.datetime(2021, 5, 16, 20, 49, tzinfo=datetime.timezone.utc)}, {'id': 'PARKING_INFORMATION', 'statuses': ['LICENSE_MISSING', 'LICENSE_EXPIRED'], 'serviceExpiration': datetime.datetime(2021, 5, 16, 20, 49, tzinfo=datetime.timezone.utc)}, {'id': 'PARKING_POSITION', 'statuses': [], 'serviceExpiration': datetime.datetime(2025, 6, 8, 13, 51, tzinfo=datetime.timezone.utc)}, {'id': 'ROADSIDE_ASSISTANT', 'statuses': [], 'serviceExpiration': datetime.datetime(2033, 5, 10, 13, 20, tzinfo=datetime.timezone.utc)}, {'id': 'SPEED_ALERT', 'statuses': [], 'serviceExpiration': datetime.datetime(2025, 6, 8, 13, 51, tzinfo=datetime.timezone.utc)}, {'id': 'STATE', 'statuses': [], 'serviceExpiration': datetime.datetime(2025, 6, 8, 13, 51, tzinfo=datetime.timezone.utc)}, {'id': 'VEHICLE_HEALTH', 'statuses': [], 'serviceExpiration': datetime.datetime(2033, 5, 10, 13, 20, tzinfo=datetime.timezone.utc)}, {'id': 'VEHICLE_LIGHTS', 'statuses': [], 'serviceExpiration': datetime.datetime(2025, 6, 8, 13, 51, tzinfo=datetime.timezone.utc)}, {'id': 'SMART_PARKING', 'statuses': []}]}, 'specification': {'title': 'Škoda Kodiaq', 'model': 'Kodiaq', 'modelYear': '2019', 'body': 'SUV', 'systemCode': 'UNKNOWN', 'systemModelId': 'NS74ND', 'engine': {'type': 'TSI', 'powerInKW': 110, 'capacityInLiters': 1.5}, 'gearbox': {'type': 'A7F'}, 'trimLevel': 'Style', 'manufacturingDate': '2019-04-23'}, 'servicePartner': {'dealerId': '00452', 'allocatedDealerCountry': 'DK'}, 'devicePlatform': 'MBB', 'phaseout': {'endOfSupportDate': '2024-12-31', 'name': 'mod_1_3', 'stage': 1, 'allowedOperations': []}} 2024-09-10 18:03:03.519 DEBUG (MainThread) [skodaconnect.connection] Check if vehicle exists 2024-09-10 18:03:03.519 DEBUG (MainThread) [skodaconnect.connection] Adding vehicle TMBJB9NS4K8501166, with connectivities: ['INCAR', 'ONLINE'] 2024-09-10 18:03:03.519 DEBUG (MainThread) [skodaconnect.vehicle] Creating Vehicle class object with data {'vin': 'TMBJB9NS4K8501166', 'connectivities': ['INCAR', 'ONLINE'], 'capabilities': ['DCS', 'ACCESS', 'DEALER_APPOINTMENT', 'DESTINATIONS', 'EMERGENCY_CALLING', 'FUEL_STATUS', 'GEO_FENCE', 'MEASUREMENTS', 'NEWS', 'PARKING_INFORMATION', 'PARKING_POSITION', 'ROADSIDE_ASSISTANT', 'SPEED_ALERT', 'STATE', 'VEHICLE_HEALTH', 'VEHICLE_LIGHTS', 'SMART_PARKING'], 'specification': {'title': 'Škoda Kodiaq', 'model': 'Kodiaq', 'modelYear': '2019', 'body': 'SUV', 'systemCode': 'UNKNOWN', 'systemModelId': 'NS74ND', 'engine': {'type': 'TSI', 'powerInKW': 110, 'capacityInLiters': 1.5}, 'gearbox': {'type': 'A7F'}, 'trimLevel': 'Style', 'manufacturingDate': '2019-04-23'}}

AMajland commented 1 week ago

I removed the option to "Save session tokens in configuration" and that did the trick :-) i.e forcing it to use the login information instead of the stored token (that was invalidated due to the change of password)

All good again now