evcc-io / evcc

Solar Charging ☀️🚘
https://evcc.io
MIT License
3.66k stars 686 forks source link

evcc vehicle liefert unexpected status: 400 (Bad Request) nach update auf 0.127.0 #14343

Closed mborgelt closed 5 months ago

mborgelt commented 5 months ago

Describe the bug

Nach dem Update auf 0.127.0 liefert ein 'evcc vehicle':

[main  ] ERROR 2024/06/13 18:55:31 creating vehicle citigo-iv failed: cannot create vehicle type 'template': cannot create vehicle type 'skoda': unexpected status: 400 (Bad Request)

### Steps to reproduce

1. Update auf  0.127.0
2. evcc vehicle

### Configuration details

```yaml
vehicles:
- type: template
  template: skoda
  title: BI-XX1234
  vin: TMBZXXXXXXXXXXXXXXX
  user: skoda@xxxxx.xxx
  password: ***redacted****
  capacity: 36
  phases: 2
  priority: 2  
  name: citigo-iv
  identifiers:
    - Citigo-iv
  mode: pv

Log details

[main  ] INFO 2024/06/13 18:55:30 evcc 0.127.0 (3735c8c0)
[main  ] INFO 2024/06/13 18:55:30 using config file: /etc/evcc.yaml
[db    ] INFO 2024/06/13 18:55:30 using sqlite database: /var/lib/evcc/evcc.db
[db    ] TRACE 2024/06/13 18:55:30 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT * FROM `settings` 42 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_configs_details"" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT `fk_configs_details`%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT  fk_configs_details      %") -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_devices_details"" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT `fk_devices_details`%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT  fk_devices_details      %") -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%""device_id"" %" OR sql LIKE "%device_id %" OR sql LIKE "%`device_id`%" OR sql LIKE "%[device_id]%" OR sql LIKE "% device_id       %") -1 <nil>
[db    ] TRACE 2024/06/13 18:55:30 SELECT * FROM `configs` WHERE `configs`.`class` = 3 ORDER BY id 0 <nil>
[skoda ] TRACE 2024/06/13 18:55:30 GET https://identity.vwgroup.io/oidc/v1/authorize?client_id=7f045eee-7003-4379-9968-9355ed2adb06%40apps_vw-dilab_com&code_challenge=DiGy0x5RBtaiM_eJI-FpRYxn2_aFYFWDaLbhupCoHTM&code_challenge_method=S256&redirect_uri=myskoda%3A%2F%2Fredirect%2Flogin%2F&response_type=code+id_token&scope=address+badge+birthdate+cars+driversLicense+dealers+email+mileage+mbb+nationalIdentifier+openid+phone+profession+profile+vin&nonce=qwiYMwwomnnwbnrCyIZpxdYMkjzPyGdhLuwaJlyDnwV&state=78a3054a-04b1-4b81-b7d1-a565834a591a
[skoda ] TRACE 2024/06/13 18:55:30 
GET /oidc/v1/authorize?client_id=7f045eee-7003-4379-9968-9355ed2adb06%40apps_vw-dilab_com&code_challenge=DiGy0x5RBtaiM_eJI-FpRYxn2_aFYFWDaLbhupCoHTM&code_challenge_method=S256&redirect_uri=myskoda%3A%2F%2Fredirect%2Flogin%2F&response_type=code+id_token&scope=address+badge+birthdate+cars+driversLicense+dealers+email+mileage+mbb+nationalIdentifier+openid+phone+profession+profile+vin&nonce=qwiYMwwomnnwbnrCyIZpxdYMkjzPyGdhLuwaJlyDnwV&state=78a3054a-04b1-4b81-b7d1-a565834a591a HTTP/1.1
Host: identity.vwgroup.io
User-Agent: Go-http-client/1.1
Accept-Encoding: gzip

HTTP/2.0 302 Found
Apigw-Requestid: ZUKkdjJPliAEJ9Q=
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Date: Thu, 13 Jun 2024 16:55:30 GMT
Expires: 0
Location: https://identity.vwgroup.io/signin-service/v1/signin/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com?relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf
Pragma: no-cache
Referrer-Policy: origin
Set-Cookie: vcap_journey=ff6d8ae3-3870-4c0f-a23e-0f8f39a64d1a; Path=/; Secure
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 0
Content-Length: 0
[skoda ] TRACE 2024/06/13 18:55:30 GET https://identity.vwgroup.io/signin-service/v1/signin/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com?relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf
[skoda ] TRACE 2024/06/13 18:55:30 
GET /signin-service/v1/signin/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com?relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf HTTP/1.1
Host: identity.vwgroup.io
User-Agent: Go-http-client/1.1
Cookie: vcap_journey=ff6d8ae3-3870-4c0f-a23e-0f8f39a64d1a
Referer: https://identity.vwgroup.io/oidc/v1/authorize?client_id=7f045eee-7003-4379-9968-9355ed2adb06%40apps_vw-dilab_com&code_challenge=DiGy0x5RBtaiM_eJI-FpRYxn2_aFYFWDaLbhupCoHTM&code_challenge_method=S256&redirect_uri=myskoda%3A%2F%2Fredirect%2Flogin%2F&response_type=code+id_token&scope=address+badge+birthdate+cars+driversLicense+dealers+email+mileage+mbb+nationalIdentifier+openid+phone+profession+profile+vin&nonce=qwiYMwwomnnwbnrCyIZpxdYMkjzPyGdhLuwaJlyDnwV&state=78a3054a-04b1-4b81-b7d1-a565834a591a
Accept-Encoding: gzip

HTTP/2.0 200 OK
Content-Length: 69131
Apigw-Requestid: ZUKkejH4liAEJaQ=
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Language: en
Content-Type: text/html;charset=UTF-8
Date: Thu, 13 Jun 2024 16:55:30 GMT
Expires: 0
Pragma: no-cache
Set-Cookie: SESSION=YjcyNWE4NWMtZDQyNi00M2NhLWEzY2ItYzdkZGY1NTcyOTY0; Path=/signin-service/v1; Secure; HttpOnly; SameSite=Lax
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 0

<!DOCTYPE html>
    <html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport"
          content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, user-scalable=no"/>
    <meta name="identitykit" content="loginIdentifier"/>

<script type="text/javascript">(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.eu01.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={agentID:"535875755",accountID:"2547829",trustKey:"2217462",xpid:"VgMDVl5RARAEUlFQBQQOXlY=",licenseKey:"NRJS-ecd5929e8859410bbd9",applicationID:"460225982"};;/*! For license information please see nr-loader-spa-1.260.1.min.js.LICENSE.txt */
(()=>{var e,t,r={234:(e,t,r)=>{"use strict";r.d(t,{P_:()=>m,Mt:()=>b,C5:()=>s,DL:()=>w,OP:()=>O,lF:()=>D,Yu:()=>_,Dg:()=>v,CX:()=>c,GE:()=>E,sU:()=>I});var n=r(8632),i=r(9567);const o={beacon:n.ce.beacon,errorBeacon:n.ce.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0},a={};function s(e){if(!e)throw new Error("All info objects require an agent identifier!");if(!a[e])throw new Error("Info for ".concat(e," was never set"));return a[e]}function c(e,t){if(!e)throw new Error("All info objects require an agent identifier!");a[e]=(0,i.D)(t,o);const r=(0,n.ek)(e);r&&(r.info=a[e])}const u=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var d=r(7056),l=r(50);const f="[data-nr-mask]",h=()=>{const e={mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{feature_flags:[],proxy:{assets:void 0,beacon:void 0},privacy:{cookies_enabled:!0},ajax:{deny_list:void 0,block_internal:!0,enabled:!0,harvestTimeSeconds:10,autoStart:!0},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},session:{expiresMs:d.oD,inactiveMs:d.Hb},ssl:void 0,obfuscate:void 0,jserrors:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},metrics:{enabled:!0,autoStart:!0},page_action:{enabled:!0,harvestTimeSeconds:30,autoStart:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,harvestTimeSeconds:30,long_task:!1,autoStart:!0},session_trace:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},harvest:{tooManyRequestsDelay:60},session_replay:{autoStart:!0,enabled:!1,harvestTimeSeconds:60,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_images:!1,inline_stylesheet:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){u(t)?e.mask_selector="".concat(t,",").concat(f):""===t||null===t?e.mask_selector=f:(0,l.Z)("An invalid session_replay.mask_selector was provided. '*' will be used.",t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){u(t)?e.block_selector+=",".concat(t):""!==t&&(0,l.Z)("An invalid session_replay.block_selector was provided and will not be used",t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,l.Z)("An invalid session_replay.mask_input_option was provided and will not be used",t)}},spa:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},soft_navigations:{enabled:!0,harvestTimeSeconds:10,autoStart:!0}}},p={},g="All configuration objects require an agent identifier!";function m(e){if(!e)throw new Error(g);if(!p[e])throw new Error("Configuration for ".concat(e," was never set"));return p[e]}function v(e,t){if(!e)throw new Error(g);p[e]=(0,i.D)(t,h());const r=(0,n.ek)(e);r&&(r.init=p[e])}function b(e,t){if(!e)throw new Error(g);var r=m(e);if(r){for(var n=t.split("."),i=0;i<n.length-1;i++)if("object"!=typeof(r=r[n[i]]))return;r=r[n[n.length-1]]}return r}const y={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},A={};function w(e){if(!e)throw new Error("All loader-config objects require an agent identifier!");if(!A[e])throw new Error("LoaderConfig for ".concat(e," was never set"));return A[e]}function E(e,t){if(!e)throw new Error("All loader-config objects require an agent identifier!");A[e]=(0,i.D)(t,y);const r=(0,n.ek)(e);r&&(r.loader_config=A[e])}const _=(0,n.mF)().o;var x=r(385),R=r(6818);const S={buildEnv:R.Re,distMethod:R.gF,version:R.q4,originTime:x.sK},T={customTransaction:void 0,disabled:!1,isolatedBacklog:!1,loaderType:void 0,maxBytes:3e4,onerror:void 0,origin:""+x._A.location,ptid:void 0,releaseIds:{},appMetadata:{},session:void 0,denyList:void 0,harvestCount:0,timeKeeper:void 0},N={};function O(e){if(!e)throw new Error("All runtime objects require an agent identifier!");if(!N[e])throw new Error("Runtime for ".concat(e," was never set"));return N[e]}function I(e,t){if(!e)throw new Error("All runtime objects require an agent identifier!");N[e]={...(0,i.D)(t,T),...S};const r=(0,n.ek)(e);r&&(r.runtime=N[e])}function D(e){return function(e){try{const t=s(e);return!!t.licenseKey&&!!t.errorBeacon&&!!t.applicationID}catch(e){return!1}}(e)}},9567:(e,t,r)=>{"use strict";r.d(t,{D:()=>i});var n=r(50);function i(e,t){try{if(!e||"object"!=typeof e)return(0,n.Z)("Setting a Configurable requires an object as input");if(!t||"object"!=typeof t)return(0,n.Z)("Setting a Configurable requires a model to set its initial properties");const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),o=0===Object.keys(r).length?e:r;for(let a in o)if(void 0!==e[a])try{if(null===e[a]){r[a]=null;continue}Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=Array.from(new Set([...e[a],...t[a]])):"object"==typeof e[a]&&"object"==typeof t[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){(0,n.Z)("An error occurred while setting a property of a Configurable",e)}return r}catch(e){(0,n.Z)("An error occured while setting a Configurable",e)}}},6818:(e,t,r)=>{"use strict";r.d(t,{Re:()=>i,gF:()=>o,lF:()=>a,q4:()=>n});const n="1.260.1",i="PROD",o="CDN",a="2.0.0-alpha.12"},385:(e,t,r)=>{"use strict";r.d(t,{FN:()=>u,IF:()=>f,LW:()=>s,Nk:()=>p,Tt:()=>d,_A:()=>a,iS:()=>c,il:()=>i,sK:()=>g,ux:()=>l,v6:()=>o,w1:()=>h});var n=r(7894);const i="undefined"!=typeof window&&!!window.document,o="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),a=i?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),s="complete"===a?.document?.readyState,c=Boolean("hidden"===a?.document?.visibilityState),u=""+a?.location,d=/iPad|iPhone|iPod/.test(a.navigator?.userAgent),l=d&&"undefined"==typeof SharedWorker,f=(()=>{const e=a.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),h=Boolean(i&&window.document.documentMode),p=!!a.navigator?.sendBea
[skoda ] TRACE 2024/06/13 18:55:30 POST https://identity.vwgroup.io/signin-service/v1/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com/login/identifier
[skoda ] TRACE 2024/06/13 18:55:30 
POST /signin-service/v1/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com/login/identifier HTTP/1.1
Host: identity.vwgroup.io
User-Agent: Go-http-client/1.1
Content-Length: 250
Content-Type: application/x-www-form-urlencoded
Cookie: SESSION=YjcyNWE4NWMtZDQyNi00M2NhLWEzY2ItYzdkZGY1NTcyOTY0; vcap_journey=ff6d8ae3-3870-4c0f-a23e-0f8f39a64d1a
Accept-Encoding: gzip

_csrf=Of-hlu-hM9FpdZdyTl4ldYliII6LDtNJLoC_LLtf3SeIxggUWJ6Xp4yYUeFEEfIReHMRTbwBDe-_ObdkSrKGHIJr6UHp9Tws&email=***&hmac=b670b929295076c35dea0ed5c28609b2a2e25521ecf64e3c2cf705963bf67854&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf

HTTP/2.0 303 See Other
Content-Length: 0
Apigw-Requestid: ZUKkfi7fFiAEJcg=
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Language: en
Date: Thu, 13 Jun 2024 16:55:30 GMT
Expires: 0
Location: /signin-service/v1/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com/login/authenticate?relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 0
[skoda ] TRACE 2024/06/13 18:55:30 GET https://identity.vwgroup.io/signin-service/v1/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com/login/authenticate?relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf
[skoda ] TRACE 2024/06/13 18:55:30 
GET /signin-service/v1/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com/login/authenticate?relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf HTTP/1.1
Host: identity.vwgroup.io
User-Agent: Go-http-client/1.1
Content-Type: application/x-www-form-urlencoded
Cookie: SESSION=YjcyNWE4NWMtZDQyNi00M2NhLWEzY2ItYzdkZGY1NTcyOTY0; vcap_journey=ff6d8ae3-3870-4c0f-a23e-0f8f39a64d1a
Referer: https://identity.vwgroup.io/signin-service/v1/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com/login/identifier
Accept-Encoding: gzip

HTTP/2.0 200 OK
Content-Length: 66116
Apigw-Requestid: ZUKkgg9gliAEJMA=
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Language: en
Content-Type: text/html;charset=UTF-8
Date: Thu, 13 Jun 2024 16:55:30 GMT
Expires: 0
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 0

<!DOCTYPE html>
    <html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport"
          content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, user-scalable=no"/>
    <meta name="identitykit" content="loginAuthenticate"/>

<script type="text/javascript">(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.eu01.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={agentID:"535875755",accountID:"2547829",trustKey:"2217462",xpid:"VgMDVl5RARAEUlFQBQQOXlY=",licenseKey:"NRJS-ecd5929e8859410bbd9",applicationID:"460225982"};;/*! For license information please see nr-loader-spa-1.260.1.min.js.LICENSE.txt */
(()=>{var e,t,r={234:(e,t,r)=>{"use strict";r.d(t,{P_:()=>m,Mt:()=>b,C5:()=>s,DL:()=>w,OP:()=>O,lF:()=>D,Yu:()=>_,Dg:()=>v,CX:()=>c,GE:()=>E,sU:()=>I});var n=r(8632),i=r(9567);const o={beacon:n.ce.beacon,errorBeacon:n.ce.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0},a={};function s(e){if(!e)throw new Error("All info objects require an agent identifier!");if(!a[e])throw new Error("Info for ".concat(e," was never set"));return a[e]}function c(e,t){if(!e)throw new Error("All info objects require an agent identifier!");a[e]=(0,i.D)(t,o);const r=(0,n.ek)(e);r&&(r.info=a[e])}const u=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var d=r(7056),l=r(50);const f="[data-nr-mask]",h=()=>{const e={mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{feature_flags:[],proxy:{assets:void 0,beacon:void 0},privacy:{cookies_enabled:!0},ajax:{deny_list:void 0,block_internal:!0,enabled:!0,harvestTimeSeconds:10,autoStart:!0},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},session:{expiresMs:d.oD,inactiveMs:d.Hb},ssl:void 0,obfuscate:void 0,jserrors:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},metrics:{enabled:!0,autoStart:!0},page_action:{enabled:!0,harvestTimeSeconds:30,autoStart:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,harvestTimeSeconds:30,long_task:!1,autoStart:!0},session_trace:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},harvest:{tooManyRequestsDelay:60},session_replay:{autoStart:!0,enabled:!1,harvestTimeSeconds:60,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_images:!1,inline_stylesheet:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){u(t)?e.mask_selector="".concat(t,",").concat(f):""===t||null===t?e.mask_selector=f:(0,l.Z)("An invalid session_replay.mask_selector was provided. '*' will be used.",t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){u(t)?e.block_selector+=",".concat(t):""!==t&&(0,l.Z)("An invalid session_replay.block_selector was provided and will not be used",t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,l.Z)("An invalid session_replay.mask_input_option was provided and will not be used",t)}},spa:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},soft_navigations:{enabled:!0,harvestTimeSeconds:10,autoStart:!0}}},p={},g="All configuration objects require an agent identifier!";function m(e){if(!e)throw new Error(g);if(!p[e])throw new Error("Configuration for ".concat(e," was never set"));return p[e]}function v(e,t){if(!e)throw new Error(g);p[e]=(0,i.D)(t,h());const r=(0,n.ek)(e);r&&(r.init=p[e])}function b(e,t){if(!e)throw new Error(g);var r=m(e);if(r){for(var n=t.split("."),i=0;i<n.length-1;i++)if("object"!=typeof(r=r[n[i]]))return;r=r[n[n.length-1]]}return r}const y={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},A={};function w(e){if(!e)throw new Error("All loader-config objects require an agent identifier!");if(!A[e])throw new Error("LoaderConfig for ".concat(e," was never set"));return A[e]}function E(e,t){if(!e)throw new Error("All loader-config objects require an agent identifier!");A[e]=(0,i.D)(t,y);const r=(0,n.ek)(e);r&&(r.loader_config=A[e])}const _=(0,n.mF)().o;var x=r(385),R=r(6818);const S={buildEnv:R.Re,distMethod:R.gF,version:R.q4,originTime:x.sK},T={customTransaction:void 0,disabled:!1,isolatedBacklog:!1,loaderType:void 0,maxBytes:3e4,onerror:void 0,origin:""+x._A.location,ptid:void 0,releaseIds:{},appMetadata:{},session:void 0,denyList:void 0,harvestCount:0,timeKeeper:void 0},N={};function O(e){if(!e)throw new Error("All runtime objects require an agent identifier!");if(!N[e])throw new Error("Runtime for ".concat(e," was never set"));return N[e]}function I(e,t){if(!e)throw new Error("All runtime objects require an agent identifier!");N[e]={...(0,i.D)(t,T),...S};const r=(0,n.ek)(e);r&&(r.runtime=N[e])}function D(e){return function(e){try{const t=s(e);return!!t.licenseKey&&!!t.errorBeacon&&!!t.applicationID}catch(e){return!1}}(e)}},9567:(e,t,r)=>{"use strict";r.d(t,{D:()=>i});var n=r(50);function i(e,t){try{if(!e||"object"!=typeof e)return(0,n.Z)("Setting a Configurable requires an object as input");if(!t||"object"!=typeof t)return(0,n.Z)("Setting a Configurable requires a model to set its initial properties");const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),o=0===Object.keys(r).length?e:r;for(let a in o)if(void 0!==e[a])try{if(null===e[a]){r[a]=null;continue}Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=Array.from(new Set([...e[a],...t[a]])):"object"==typeof e[a]&&"object"==typeof t[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){(0,n.Z)("An error occurred while setting a property of a Configurable",e)}return r}catch(e){(0,n.Z)("An error occured while setting a Configurable",e)}}},6818:(e,t,r)=>{"use strict";r.d(t,{Re:()=>i,gF:()=>o,lF:()=>a,q4:()=>n});const n="1.260.1",i="PROD",o="CDN",a="2.0.0-alpha.12"},385:(e,t,r)=>{"use strict";r.d(t,{FN:()=>u,IF:()=>f,LW:()=>s,Nk:()=>p,Tt:()=>d,_A:()=>a,iS:()=>c,il:()=>i,sK:()=>g,ux:()=>l,v6:()=>o,w1:()=>h});var n=r(7894);const i="undefined"!=typeof window&&!!window.document,o="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),a=i?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),s="complete"===a?.document?.readyState,c=Boolean("hidden"===a?.document?.visibilityState),u=""+a?.location,d=/iPad|iPhone|iPod/.test(a.navigator?.userAgent),l=d&&"undefined"==typeof SharedWorker,f=(()=>{const e=a.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),h=Boolean(i&&window.document.documentMode),p=!!a.navigator?.sendBeacon,g=Date.now()-(0,n.z)()},1117:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(50);const i={agentIdentifier:"",ee:void 0};c
[skoda ] TRACE 2024/06/13 18:55:30 POST https://identity.vwgroup.io/signin-service/v1/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com/login/authenticate
[skoda ] TRACE 2024/06/13 18:55:31 
POST /signin-service/v1/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com/login/authenticate HTTP/1.1
Host: identity.vwgroup.io
User-Agent: Go-http-client/1.1
Content-Length: 304
Content-Type: application/x-www-form-urlencoded
Cookie: SESSION=YjcyNWE4NWMtZDQyNi00M2NhLWEzY2ItYzdkZGY1NTcyOTY0; vcap_journey=ff6d8ae3-3870-4c0f-a23e-0f8f39a64d1a
Accept-Encoding: gzip

_csrf=iA7jnwhN7UM86WV_St0yTLm90jrXXef9aBHBdcAnvzHuo3Iu6W_Vrmt0j3MRjQAcfPAGdIze_1vjaoPQDCP4RfkTi1ePkEYW&email=***&hmac=a5f9ce202ddef0fa6abbe418334fe61497d2cf922871cb2d90c4101c7faf8423&password=***&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf

HTTP/2.0 302 Found
Content-Length: 0
Apigw-Requestid: ZUKkhhxZliAEJDw=
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Language: en
Date: Thu, 13 Jun 2024 16:55:31 GMT
Expires: 0
Location: https://identity.vwgroup.io/oidc/v1/oauth/sso?clientId=7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&userId=51d59173-b2aa-4f8e-9074-c83affc82839&HMAC=bc70d13c071976533bc31f5e5047afdc2135ea1da20aadb8692bffbba6d5ba93
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 0
[skoda ] TRACE 2024/06/13 18:55:31 GET https://identity.vwgroup.io/oidc/v1/oauth/sso?clientId=7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&userId=51d59173-b2aa-4f8e-9074-c83affc82839&HMAC=bc70d13c071976533bc31f5e5047afdc2135ea1da20aadb8692bffbba6d5ba93
[skoda ] TRACE 2024/06/13 18:55:31 
GET /oidc/v1/oauth/sso?clientId=7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&userId=51d59173-b2aa-4f8e-9074-c83affc82839&HMAC=bc70d13c071976533bc31f5e5047afdc2135ea1da20aadb8692bffbba6d5ba93 HTTP/1.1
Host: identity.vwgroup.io
User-Agent: Go-http-client/1.1
Content-Type: application/x-www-form-urlencoded
Cookie: vcap_journey=ff6d8ae3-3870-4c0f-a23e-0f8f39a64d1a
Referer: https://identity.vwgroup.io/signin-service/v1/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com/login/authenticate
Accept-Encoding: gzip

HTTP/2.0 302 Found
Apigw-Requestid: ZUKkjjJGFiAEJaQ=
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Language: en-US
Date: Thu, 13 Jun 2024 16:55:31 GMT
Expires: 0
Location: https://identity.vwgroup.io/signin-service/v1/consent/users/51d59173-b2aa-4f8e-9074-c83affc82839/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com?scopes=address%20badge%20birthdate%20cars%20driversLicense%20dealers%20email%20mileage%20mbb%20nationalIdentifier%20openid%20phone%20profession%20profile%20vin&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&callback=https://identity.vwgroup.io/oidc/v1/oauth/client/callback&hmac=cf5de597572ac68cea679d856a822b22e1be9d03cacb4b4770f50983c998e67d
Pragma: no-cache
Referrer-Policy: origin
Set-Cookie: s_0b765c37-d0a1-4110-998f-2457ebe48e86=eyJhbGciOiJIUzI1NiJ9.eyJsIjoiMGI3NjVjMzctZDBhMS00MTEwLTk5OGYtMjQ1N2ViZTQ4ZTg2IiwidSI6IjUxZDU5MTczLWIyYWEtNGY4ZS05MDc0LWM4M2FmZmM4MjgzOSIsImlhdCI6MTcxODI5NzczMX0.ncJz6XHCFO06rt2G_OGS8bjQ4ZS9WDkyx-feN6-FhkE; Max-Age=86400; Expires=Fri, 14 Jun 2024 16:55:31 GMT; Domain=identity.vwgroup.io; Path=/oidc/; Secure; HttpOnly
Set-Cookie: d_0b765c37-d0a1-4110-998f-2457ebe48e86=eyJhbGciOiJIUzI1NiJ9.eyJsIjoiMGI3NjVjMzctZDBhMS00MTEwLTk5OGYtMjQ1N2ViZTQ4ZTg2IiwidSI6IjUxZDU5MTczLWIyYWEtNGY4ZS05MDc0LWM4M2FmZmM4MjgzOSIsImlhdCI6MTcxODI5NzczMX0.ncJz6XHCFO06rt2G_OGS8bjQ4ZS9WDkyx-feN6-FhkE; Max-Age=31536000; Expires=Fri, 13 Jun 2025 16:55:31 GMT; Domain=identity.vwgroup.io; Path=/oidc/; Secure; HttpOnly
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 0
Content-Length: 0
[skoda ] TRACE 2024/06/13 18:55:31 GET https://identity.vwgroup.io/signin-service/v1/consent/users/51d59173-b2aa-4f8e-9074-c83affc82839/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com?scopes=address%20badge%20birthdate%20cars%20driversLicense%20dealers%20email%20mileage%20mbb%20nationalIdentifier%20openid%20phone%20profession%20profile%20vin&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&callback=https://identity.vwgroup.io/oidc/v1/oauth/client/callback&hmac=cf5de597572ac68cea679d856a822b22e1be9d03cacb4b4770f50983c998e67d
[skoda ] TRACE 2024/06/13 18:55:31 
GET /signin-service/v1/consent/users/51d59173-b2aa-4f8e-9074-c83affc82839/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com?scopes=address%20badge%20birthdate%20cars%20driversLicense%20dealers%20email%20mileage%20mbb%20nationalIdentifier%20openid%20phone%20profession%20profile%20vin&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&callback=https://identity.vwgroup.io/oidc/v1/oauth/client/callback&hmac=cf5de597572ac68cea679d856a822b22e1be9d03cacb4b4770f50983c998e67d HTTP/1.1
Host: identity.vwgroup.io
User-Agent: Go-http-client/1.1
Content-Type: application/x-www-form-urlencoded
Cookie: SESSION=YjcyNWE4NWMtZDQyNi00M2NhLWEzY2ItYzdkZGY1NTcyOTY0; vcap_journey=ff6d8ae3-3870-4c0f-a23e-0f8f39a64d1a
Referer: https://identity.vwgroup.io/oidc/v1/oauth/sso?clientId=7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&userId=51d59173-b2aa-4f8e-9074-c83affc82839&HMAC=bc70d13c071976533bc31f5e5047afdc2135ea1da20aadb8692bffbba6d5ba93
Accept-Encoding: gzip

HTTP/2.0 302 Found
Apigw-Requestid: ZUKkkjm4liAEJoA=
Cache-Control: no-store
Content-Language: en
Date: Thu, 13 Jun 2024 16:55:31 GMT
Location: https://identity.vwgroup.io/oidc/v1/oauth/client/callback/success?user_id=51d59173-b2aa-4f8e-9074-c83affc82839&client_id=7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com&scopes=address%20badge%20birthdate%20cars%20driversLicense%20dealers%20email%20mileage%20mbb%20nationalIdentifier%20openid%20phone%20profession%20profile%20vin&consentedScopes=address%20badge%20birthdate%20cars%20driversLicense%20dealers%20email%20mileage%20mbb%20nationalIdentifier%20openid%20phone%20profession%20profile%20vin&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&hmac=b9b5849cc6bb32c9931868ad294abadb9e7908e3c146060d3feb3b8dba5a1d19
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 0
Content-Length: 0
[skoda ] TRACE 2024/06/13 18:55:31 GET https://identity.vwgroup.io/oidc/v1/oauth/client/callback/success?user_id=51d59173-b2aa-4f8e-9074-c83affc82839&client_id=7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com&scopes=address%20badge%20birthdate%20cars%20driversLicense%20dealers%20email%20mileage%20mbb%20nationalIdentifier%20openid%20phone%20profession%20profile%20vin&consentedScopes=address%20badge%20birthdate%20cars%20driversLicense%20dealers%20email%20mileage%20mbb%20nationalIdentifier%20openid%20phone%20profession%20profile%20vin&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&hmac=b9b5849cc6bb32c9931868ad294abadb9e7908e3c146060d3feb3b8dba5a1d19
[skoda ] TRACE 2024/06/13 18:55:31 
GET /oidc/v1/oauth/client/callback/success?user_id=51d59173-b2aa-4f8e-9074-c83affc82839&client_id=7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com&scopes=address%20badge%20birthdate%20cars%20driversLicense%20dealers%20email%20mileage%20mbb%20nationalIdentifier%20openid%20phone%20profession%20profile%20vin&consentedScopes=address%20badge%20birthdate%20cars%20driversLicense%20dealers%20email%20mileage%20mbb%20nationalIdentifier%20openid%20phone%20profession%20profile%20vin&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&hmac=b9b5849cc6bb32c9931868ad294abadb9e7908e3c146060d3feb3b8dba5a1d19 HTTP/1.1
Host: identity.vwgroup.io
User-Agent: Go-http-client/1.1
Content-Type: application/x-www-form-urlencoded
Cookie: s_0b765c37-d0a1-4110-998f-2457ebe48e86=eyJhbGciOiJIUzI1NiJ9.eyJsIjoiMGI3NjVjMzctZDBhMS00MTEwLTk5OGYtMjQ1N2ViZTQ4ZTg2IiwidSI6IjUxZDU5MTczLWIyYWEtNGY4ZS05MDc0LWM4M2FmZmM4MjgzOSIsImlhdCI6MTcxODI5NzczMX0.ncJz6XHCFO06rt2G_OGS8bjQ4ZS9WDkyx-feN6-FhkE; d_0b765c37-d0a1-4110-998f-2457ebe48e86=eyJhbGciOiJIUzI1NiJ9.eyJsIjoiMGI3NjVjMzctZDBhMS00MTEwLTk5OGYtMjQ1N2ViZTQ4ZTg2IiwidSI6IjUxZDU5MTczLWIyYWEtNGY4ZS05MDc0LWM4M2FmZmM4MjgzOSIsImlhdCI6MTcxODI5NzczMX0.ncJz6XHCFO06rt2G_OGS8bjQ4ZS9WDkyx-feN6-FhkE; vcap_journey=ff6d8ae3-3870-4c0f-a23e-0f8f39a64d1a
Referer: https://identity.vwgroup.io/signin-service/v1/consent/users/51d59173-b2aa-4f8e-9074-c83affc82839/7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com?scopes=address%20badge%20birthdate%20cars%20driversLicense%20dealers%20email%20mileage%20mbb%20nationalIdentifier%20openid%20phone%20profession%20profile%20vin&relayState=ccfc2326f3b93f3e9e8235867173417ed082f6bf&callback=https://identity.vwgroup.io/oidc/v1/oauth/client/callback&hmac=cf5de597572ac68cea679d856a822b22e1be9d03cacb4b4770f50983c998e67d
Accept-Encoding: gzip

HTTP/2.0 302 Found
Apigw-Requestid: ZUKkmhKYliAEJew=
Cache-Control: no-cache, no-store, max-age=0, must-revalidate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er-Policy: origin
Set-Cookie: JSESSIONID=434454109EDF3BEDE1AC623A47D8AFE2; Path=/oidc; Secure; HttpOnly
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 0
Content-Length: 0
[skoda ] TRACE 2024/06/13 18:55:31 POST https://tokenrefreshservice.apps.emea.vwapps.io/exchangeAuthCode
[skoda ] TRACE 2024/06/13 18:55:31 
POST /exchangeAuthCode HTTP/1.1
Host: tokenrefreshservice.apps.emea.vwapps.io
User-Agent: Go-http-client/1.1
Content-Length: 6363
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

auth_code=eyJraWQiOiI0ODEyODgzZi05Y2FiLTQwMWMtYTI5OC0wZmEyMTA5Y2ViY2EiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI1MWQ1OTE3My1iMmFhLTRmOGUtOTA3NC1jODNhZmZjODI4MzkiLCJhdWQiOiI3ZjA0NWVlZS03MDAzLTQzNzktOTk2OC05MzU1ZWQyYWRiMDZAYXBwc192dy1kaWxhYl9jb20iLCJhY3IiOiJodHRwczovL2lkZW50aXR5LnZ3Z3JvdXAuaW8vYXNzdXJhbmNlL2xvYS0yIiwic2NwIjoiYWRkcmVzcyBiYWRnZSBiaXJ0aGRhdGUgY2FycyBkcml2ZXJzTGljZW5zZSBkZWFsZXJzIGVtYWlsIG1pbGVhZ2UgbWJiIG5hdGlvbmFsSWRlbnRpZmllciBvcGVuaWQgcGhvbmUgcHJvZmVzc2lvbiBwcm9maWxlIHZpbiIsImFhdCI6ImlkZW50aXR5a2l0IiwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS52d2dyb3VwLmlvIiwianR0IjoiYXV0aG9yaXphdGlvbl9jb2RlIiwiZXhwIjoxNzE4Mjk4MDMxLCJpYXQiOjE3MTgyOTc3MzEsIm5vbmNlIjoicXdpWU13d29tbm53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7oizZ5TFBvPORUSkM5xiYTbbQahfaFT21cJiQxn89mYpI1aAH2XNkonr4Dpm4STuzVILOurduzP5qzMc1O_S7oDaKZJ-kVVG3mbL6g_3usZYwTmzhHVfATaftZ9Ey_z_askg8pDWNsbEzZ795O1__rVmBJmwnyE0WP0lS9csbUbe3F49KGesnrgwLsJ_cdQRNJn4F_rOZCKMigy9HXX56UoQ0JLmwVZuUFcfmdi_Czzh1HPCJFPBZwWNoZ1A&state=78a3054a-04b1-4b81-b7d1-a565834a591a&token_type=bearer

HTTP/2.0 400 Bad Request
Content-Length: 236
Content-Type: application/json
Date: Thu, 13 Jun 2024 16:55:31 GMT

{"description":"IdentityKit Response: 400 : {\"error\":\"invalid_grant\",\"error_description\":\"redirect_uri request parameter must equal redirect_uri from initial /oauth/authorize request\"}","errorCode":"IDENTITY_KIT_RESPONSE_ERROR"}
[main  ] ERROR 2024/06/13 18:55:31 creating vehicle citigo-iv failed: cannot create vehicle type 'template': cannot create vehicle type 'skoda': unexpected status: 400 (Bad Request)
.Soc:        vehicle not available: cannot create vehicle type 'template': cannot create vehicle type 'skoda': unexpected status: 400 (Bad Request)
Capacity:    36.0kWh
Identifiers: [Citigo-iv]
Features:    [Offline Retryable]

What type of operating system are you running?

Linux

Version

evcc version 0.127.0 (3735c8c0)

StefanSchoof commented 5 months ago

Siehe auch https://github.com/evcc-io/evcc/discussions/14327

GrimmiMeloni commented 5 months ago

Danke Stefan - das hilft.

Hier gibt es in der Tat eine Wechselwirkung mit dem Change für den Enyaq. Wir fragen jetzt mit dem MySkoda Client das Auth Token an, wollen es dann aber nicht beim MySkoda Server, sondern beim alten SkodaConnect/VW abholen. Das geht dann schief.

Ich denke das beste ist, wir stellen alle anderen Skodas jetzt auch direkt auf MySkoda um. @StefanSchoof nutzt Du evcc dockerized, und könntest einen build testen wenn ich Dir einen Container baue?

GrimmiMeloni commented 5 months ago

Auf den zweiten Blick - kannst Du einfach mal das Template von skoda auf enyaq wechseln?

StefanSchoof commented 5 months ago

Ich habe das Problem nicht. Habe nur versucht die Diskussion und Issue zu verknüpfen.

GrimmiMeloni commented 5 months ago

@andig Wir könnten jetzt hier den Auth Flow auf den vom Enyaq (also MySkoda) umstellen. Scheinbar nutzt aber die bisherige Skoda Implementierung nochmal eine ganz andere API (also auch nicht SkodaConnect). Diese nutzt dann aber auch wiederum eine andere MBB Token Source. Da weiß ich wiederum nicht, ob diese auch mit den Tokens die der MySkoda AuthServer auswirft umgehen kann.

Bevor wir das anfassen würde ich erstmal einen Test von einem betroffenen User mit dem Enyaq (MySkoda) abwarten. Vielleicht müssen wir hier gar nichts machen und können das ganze auf die eine MySkoda basierte Implementierung vereinheitlichen.

mborgelt commented 5 months ago

Ich hab mal das Template enyaq für meinen citigo-iv ausprobiert. Damit klappt die Authentifizierung aber das Fahrzeug wird natürlich nicht gefunden.


{"vehicles":[],"errors":[{"type":"NOT_ONLY_MOD4_VEHICLES","description":"User’s garage contains vehicles other than the currently supported MOD3 and MOD4 vehicles. The unsupported vehicles were not returned."}]}
[main  ] ERROR 2024/06/13 21:05:18 creating vehicle citigo-iv failed: cannot create vehicle type 'template': cannot create vehicle type 'enyaq': cannot find vehicle, got: []
.Soc:        vehicle not available: cannot create vehicle type 'template': cannot create vehicle type 'enyaq': cannot find vehicle, got: []
Capacity:    36.0kWh
Identifiers: [Citigo-iv]
Features:    [Offline Retryable]
degit007 commented 5 months ago

@GrimmiMeloni Hi Michael, danke.

Mit type=enyaq funktioniert die Anmeldung für meinen Skoda Superb iV Hybrid wieder und ich kann in evcc den Ladestand des Auto auslesen.

GrimmiMeloni commented 5 months ago

Danke Euch.

OK, das bedeutet also, daß ältere(?) Fahrzeuge wie der Citigo nicht über die neue MySkoda Schnittstelle laufen. Somit können wir also aktuelle den Auth Server auch nicht teilen.