Closed shuntfield closed 2 years ago
I also have same kind of issue, after a restart of home assistant I have this log, like the page doesn't exist anymore :
Logger: custom_components.audiconnect.audi_connect_account
Source: custom_components/audiconnect/audi_connect_account.py:87
Integration: Audi Connect
First occurred: 16:34:30 (21 occurrences)
Last logged: 20:01:15
Login to Audi service failed: 404, message='Not Found', url=URL('https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration')
Logger: custom_components.audiconnect.audi_connect_account
Source: custom_components/audiconnect/audi_connect_account.py:74
Integration: Audi Connect
First occurred: 16:34:09 (42 occurrences)
Last logged: 20:01:05
Login to Audi service failed, trying again in 10 seconds
Same here :(
Same here!
Same for me :(
Same in DK
2021-10-22 14:28:52 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Login to Audi service failed, trying again in 10 seconds 2021-10-22 14:29:02 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Login to Audi service failed: 404, message='Not Found', url=URL('https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration')
+1
Same here :(
Same here
And here
same problem here. Andy idea how to solve the issue?
I think they might have disabled this login service in favor of the vwgroup signin (the one served to you when you log in in the browser). Unfortunately I don't have the means to investigate any further.
same here
Yup..
up
Same, seems to be a change from Audi.
Login to Audi service failed: 404, message='Not Found', url=URL('https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration')
Same here!
Same, seems to be a change from Audi.
Login to Audi service failed: 404, message='Not Found', url=URL('https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration')
I just recieved confirmation from Audi that they are having a lot of issues with their online portal the last few days. They advices for now to just use the MyAudi mobile app until they get it fixed.
I just changed to https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration in row 504 in audi_services.py and got it to work again.
configuration_endpoint = "https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration"
I am not good at github @ all, so can a smart person here create a pull request?
Sorry for Swedish in image:
I just changed to https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration in row 504 in audi_services.py and got it to work again.
configuration_endpoint = "https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration"
I am not good at github @ all, so can a smart person here create a pull request?
Your a star, thank you for this, now back and working for me, nice one
I believe the US endpoint is https://idkproxy-service.apps.emea.vwapps.io/v1/na/openid-configuration , but can´t test it. I got a reply at least.
"{"issuer":"https://identity.na.vwgroup.io","authorization_endpoint":"https://identity.na.vwgroup.io/oidc/v1/authorize","token_endpoint":"https://idkproxy-service.apps.emea.vwapps.io/v1/na/token","revocation_endpoint":"https://idkproxy-service.apps.emea.vwapps.io/v1/na/revoke","end_session_endpoint":"https://identity.na.vwgroup.io/oidc/v1/logout","jwks_uri":"https://identity.na.vwgroup.io/oidc/v1/keys","userinfo_endpoint":"https://identity-userinfo.na.vwgroup.io/oidc/userinfo","response_types_supported":["code","token","id_token","code token","code id_token","token id_token","code token id_token"],"subject_types_supported":["public"],"id_token_signing_alg_values_supported":["RS256"],"code_challenge_methods_supported":["S256"],"scopes_supported":["12vBattery","aboutMe","address","affinity","assistantSystems","badge","battery","beltLockStatus","birthdate","birthplace","carComfortSetup","carConfigurations","carMeasurements","cars","charging","climatisation","climatisationProfile","dealers","digitalKey","doors_windows","driversLicense","ecus","ecusMetaData","email","errors","flashLights","fuelLevels","gallery","healthReport","highVoltageBattery","honk","ignitionStatus","intExtTemperature","lock_unlock","maintenance","manageCharging","manageClimatisation","manageDestinations","marketplace","mbb","messageCenter","mileage","myPlaces","name","nationalIdentifier","nationality","navigation","nickname","oilLevels","openid","parkingBrakeStatus","parking_position","phone","picture","plugAndCharge","preferred_language","preferred_timezone","profession","profile","range","rssFeeds","serviceInterval","serviceScheduling","tripStatistics","userMileagePerYear","vehicleLights","vehicleOnlineCapabilities","vin","warning_lights","we_connect_vehicles","wl_raw"],"claims_supported":["iss","sub","aud","iat","exp","nonce","name","email","email_verified","phone_number","phone_number_verified","updated_at"],"grant_types_supported":["access_token","refresh_token","authorization_code","client_credentials"],"ui_locales_supported":["bg","bs","cnr-ME","cs","cs-CZ","da","da-DK","da-GL","de","de-AT","de-BG","de-CH","de-DE","de-LI","de-LU","de-PL","el","el-CY","el-GR","en","en-AE","en-AL","en-AM","en-AU","en-AZ","en-BA","en-BG","en-BH","en-BN","en-BW","en-CA","en-CL","en-CN","en-CY","en-DK","en-FI","en-GB","en-GE","en-GI","en-GL","en-GR","en-HU","en-ID","en-IE","en-IL","en-IN","en-IS","en-JO","en-KW","en-KZ","en-LS","en-LT","en-LV","en-MD","en-ME","en-MK","en-MT","en-MY","en-MZ","en-NA","en-NO","en-NZ","en-OM","en-PH","en-QA","en-RO","en-RS","en-SA","en-SE","en-SG","en-SK","en-TH","en-TW","en-UA","en-US","en-UZ","en-ZA","es","es-AD","es-AR","es-CL","es-ES","es-IC","es-MX","et","et-EE","fi","fi-FI","fr","fr-AD","fr-BE","fr-CA","fr-CH","fr-FR","fr-LU","fr-MC","hr","hr-HR","hu","hu-HU","is","it","it-CH","it-IT","it-SM","it-VA","ja","ja-JP","ko-KR","lt","lt-LT","lv","lv-LV","mk","nl","nl-BE","nl-NL","no","no-NO","pl","pl-PL","pt","pt-BR","pt-PT","ro","ru","ru-BY","ru-RU","ru-UA","sk","sk-SK","sl","sl-SI","sq","sr","sr-ME","sv","sv-SE","tr","tr-TR","uk","zh","zh-CN","zh-TW"],"acr_values_supported":["https://identity.na.vwgroup.io/assurance/loa-2","https://identity.na.vwgroup.io/assurance/loa-3"],"token_endpoint_auth_methods_supported":["client_secret_post","client_secret_basic"]}"
I just changed to https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration in row 504 in audi_services.py and got it to work again.
configuration_endpoint = "https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration"
I am not good at github @ all, so can a smart person here create a pull request? ' Did the trick. Thank you!
Tusen takk!
I just changed to https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration in row 504 in audi_services.py and got it to work again.
configuration_endpoint = "https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration"
I am not good at github @ all, so can a smart person here create a pull request?
Sorry for Swedish in image:
Thank you so much! I've created a pull request. Hopefully it will get merged soon.
Don´t thank me. I just saw this post https://github.com/davidgiga1993/AudiAPI/issues/13#issuecomment-951770881 and tested it. So cred to https://github.com/snoerenberg
Excellent, yes that worked for me too, I don't know how to really work the Github, but I guess we need a PR.
At least its working for now - with a manual edit., I will leave this open here for now.
I tested the NA version and it works with the following endpoint - https://idkproxy-service.apps.na.vwapps.io/v1/na/openid-configuration
I replaced the original endpoints on lines 501 and 504 in audi_services.py and everything seems to be working fine.
So to sum it up to anybody who opens up this thread before a permenent fix is in place
Open /config/custom_components/audiconnect/audi_services.py and fix the following: Line 501 replace "https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration" with "https://idkproxy-service.apps.na.vwapps.io/v1/na/openid-configuration" Line 504 replace "https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration" with "https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration"
Hmmm, I (think?) my situation is unique in that I'm based in Canada with a Q5 and cannot get this to work at all even with changing the new endpoint. Previously, I was able to add the integration with Region of CA but was getting a Bad Gateway error whenever I tried to execute an action; now I can't even add the integration after changing the endpoints - getting Invalid Credentials - trying with US, blank and CA - I did validate my credentials through the app. Hopefully my case can be figured out.
So to sum it up to anybody who opens up this thread before a permenent fix is in place
Open /config/custom_components/audiconnect/audi_services.py and fix the following: Line 501 replace "https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration" with "https://idkproxy-service.apps.na.vwapps.io/v1/na/openid-configuration" Line 504 replace "https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration" with "https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration"
Thank you, fix worked perfect here.
Great, thanks a lot! Works fine for me.
The latest update is working here :) Thanks again everyone.
Latest update has resolved this . Great work all.
Problems back... It doesn't immediately reject the creds, it waits a little while this time.
@Mr-Staffman can alkso you look at #94 ?
This morning (UK) the integration stopped working. No updated data.
I then logged out, restarted, and then tried to log back in. Each attempt immediately returns "Invalid Credentials".
I logged out of my Audi on my phone, and then logged back in, just to make sure my credentials were ok, and also that the app was working, which both were fine.
Seems like something has broken again, or been updated at Audi's end, which has broken the integration.