Skip to content
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

Default backend 404 #90

Open
R3ffoTz opened this issue Oct 27, 2024 · 10 comments
Open

Default backend 404 #90

R3ffoTz opened this issue Oct 27, 2024 · 10 comments

Comments

@R3ffoTz
Copy link

R3ffoTz commented Oct 27, 2024

Suddenly all entities became unavailable.
When trying to re-configure all I get is this:

Screenshot_20241027-135529
Screenshot_20241026-221513

@tieskuh
Copy link

tieskuh commented Oct 27, 2024

Same problem here.
024-10-27 20:00:31.852 DEBUG (MainThread) [audiconnectpy.auth] Request: https://emea.bff.cariad.digital/vehicles/WAUXXXX/selectivestatus?jobs=userCapabilities (GET) - None 2024-10-27 20:00:31.927 ERROR (MainThread) [audiconnectpy.api] Error while updating - WAUXXXX - (Service not found: https://emea.bff.cariad.digital/vehicles/WAUXXXX/selectivestatus?jobs=userCapabilities - default backend - 404 (404)) 2024-10-27 20:00:31.928 DEBUG (MainThread) [audiconnectpy.auth] TOKEN TYPE: idk

It seems Audi has made changes to their API. The other Audi Connect integration has the same issue: audiconnect#480

@tieskuh
Copy link

tieskuh commented Oct 27, 2024

And this issue might be related as well: cyr-ius/audiconnectpy#53

@strutings
Copy link

2024-11-04T17:42:46.012587+01:00 odin hass[3632657]: 2024-11-04 17:42:46.007 DEBUG (MainThread) [audiconnectpy.auth] Response: b'{"access":{"accessStatus":{"value":{"overallStatus":"safe","carCapturedTimestamp":"2024-11-04T13:57:08Z","doors":[{"name":"bonnet","status":["closed"]},{"name":"frontLeft","status":["locked","closed"]},{"name":"frontRight","status":["locked","closed"]},{"name":"rearLeft","status":["locked","closed"]},{"name":"rearRight","status":["locked","closed"]},{"name":"trunk","status":["locked","closed"]}],"windows":[{"name":"frontLeft","status":["closed"]},{"name":"frontRight","status":["closed"]},{"name":"rearLeft","status":["closed"]},{"name":"rearRight","status":["closed"]},{"name":"roofCover","status":["unsupported"]},{"name":"sunRoof","status":["unsupported"]}],"doorLockStatus":"locked"}}},"userCapabilities":{"capabilitiesStatus":{"value":[{"id":"charging","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"chargingTimers","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"climatisation","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"climatisationTimers","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"engineType","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"fuelStatus","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"measurements","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"parkingPosition","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":true},{"id":"state","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"tripStatistics","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"vehicleHealthInspection","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"vehicleLights","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"vehicleWakeUp","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false},{"id":"vehicleWakeUpTrigger","expirationDate":"2025-05-27T22:00:00Z","userDisablingAllowed":false}]}},"charging":{"batteryStatus":{"value":{"carCapturedTimestamp":"2024-11-04T13:55:56Z","currentSOC_pct":90,"cruisingRangeElectric_km":43}},"chargingStatus":{"value":{"carCapturedTimestamp":"2024-11-04T13:55:54Z","remainingChargingTimeToComplete_min":5,"chargingState":"notReadyForCharging","chargeMode":"invalid","chargeType":"unsupported"}},"plugStatus":{"value":{"carCapturedTimestamp":"2024-11-04T13:55:54Z","plugConnectionState":"disconnected","plugLockState":"unlocked","externalPower":"unavailable","ledColor":"none"}},"chargeMode":{"value":{"preferredChargeMode":"invalid","availableChargeModes":[]}}},"chargingTimers":{"chargingTimersStatus":{"value":{"carCapturedTimestamp":"2024-09-13T11:42:12Z","timeInCar":"","timers":[{"id":1,"enabled":false,"climatisation":true,"singleTimer":{"targetDateTime":"2024-03-05T08:05:00Z","departureDateTime":"2024-03-05T08:05:00Z"}},{"id":2,"enabled":false,"climatisation":false,"recurringTimer":{"departureTime":"11:01","targetTime":"11:01","repetitionDays":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],"recurringOn":{"mondays":true,"tuesdays":true,"wednesdays":true,"thursdays":true,"fridays":true,"saturdays":true,"sundays":true}}}]}}},"climatisation":{"climatisationSettings":{"value":{"carCapturedTimestamp":"2024-09-13T11:42:14Z","climatisationWithoutExternalPower":true}},"climatisationStatus":{"value":{"carCapturedTimestamp":"2024-11-04T13:55:53Z","climatisationState":"off"}},"climatisationTemperatureOutside":{"error":{"message":"Bad Gateway","errorTimeStamp":"2024-11-04T16:42:45Z","info":"Something went wrong. Please try to re-login. If the problem persists, please contact our support.","code":4003,"group":3,"retry":true}},"windowHeatingStatus":{"value":{"carCapturedTimestamp":"2024-11-04T13:55:57Z","windowHeatingStatus":[{"windowLocation":"front","windowHeatingState":"off"},{"windowLocation":"rear","windowHeatingState":"off"}]}}},"climatisationTimers":{"climatisationTimersStatus":{"value":{"carCapturedTimestamp":"2024-09-13T11:42:12Z","timeInCar":"2024-11-04T08:50:27Z","timers":[{"id":1,"enabled":false,"singleTimer":{"startDateTime":"2024-11-04T08:50:00Z","targetDateTime":"2024-11-04T08:50:00Z"}}]}}},"fuelStatus":{"rangeStatus":{"value":{"carCapturedTimestamp":"2024-11-04T13:55:56Z","carType":"hybrid","primaryEngine":{"type":"electric","currentSOC_pct":90,"remainingRange_km":43},"secondaryEngine":{"type":"gasoline"},"totalRange_km":43}}},"measurements":{"rangeStatus":{"value":{"carCapturedTimestamp":"2024-11-04T13:55:56Z","electricRange":43,"totalRange_km":43}},"odometerStatus":{"value":{"carCapturedTimestamp":"2024-11-04T13:57:08Z","odometer":127084}},"fuelLevelStatus":{"value":{"carCapturedTimestamp":"2024-11-04T13:55:56Z","currentSOC_pct":90,"primaryEngineType":"electric","secondaryEngineType":"gasoline","carType":"hybrid"}}},"vehicleLights":{"lightsStatus":{"value":{"carCapturedTimestamp":"2024-11-04T13:57:08Z","lights":[{"name":"right","status":"off"},{"name":"left","status":"off"}]}}},"vehicleHealthInspection":{"maintenanceStatus":{"value":{"carCapturedTimestamp":"2024-11-04T12:57:09Z","inspectionDue_days":501,"inspectionDue_km":18100,"mileage_km":127084}}}}\n' (207) 2024-11-04T17:42:46.013090+01:00 odin hass[3632657]: 2024-11-04 17:42:46.007 DEBUG (MainThread) [audiconnectpy.auth]

I've tried audiconnect v.2.5.22 and got a bit further, at least with the login. Seems like almost all the values have changed. Will try to find some time in the next days to make a PR.

@tieskuh
Copy link

tieskuh commented Nov 25, 2024

Issue has been solved. Many thanks for the fix @cyr-ius !

@bschmitt
Copy link

Thank you! I'm quite new to HA, may I ask how the new release is distributed to HA, no matter what I do, I only see the 2.1.81. Thank you in advance!

@tieskuh
Copy link

tieskuh commented Nov 26, 2024

Easiest is via HACS.
Add this repository as custom repository in hacs. Than you are able to download and install it via hacs. It should than also auto-update in the future.

@Floriky
Copy link

Floriky commented Nov 27, 2024

Still the same problem here.

Error while updating - WAUZZZ - (Field "climatisation" of type Optional[Climatisation] in Model has invalid value {'climatisationSettings': {'carCapturedTimestamp': '2024-11-27T12:56:33Z', 'targetTemperature_C': 23, 'targetTemperature_F': 74, 'climatisationWithoutExternalPower': True, 'climatizationAtUnlock': False, 'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': False, 'zoneFrontRightEnabled': False, 'zoneRearLeftEnabled': False, 'zoneRearRightEnabled': False}, 'climatisationStatus': {'carCapturedTimestamp': '2024-11-27T12:56:32Z', 'remainingClimatisationTime_min': -256, 'climatisationState': 'invalid'}, 'climatisationTemperatureOutside': {'error': {'message': 'Not Found', 'errorTimeStamp': '2024-11-27T13:08:12Z', 'info': 'Upstream service responded with an unexpected status. If the problem persists, please contact our support.', 'code': 4103, 'group': 2, 'retry': True}}, 'windowHeatingStatus': {'windowHeatingStatus': [{'windowLocation': 'front', 'windowHeatingState': 'invalid'}, {'windowLocation': 'rear', 'windowHeatingState': 'invalid'}]}})
Error while updating - WAUZZZ - (Field "climatisation" of type Optional[Climatisation] in Model has invalid value {'climatisationSettings': {'carCapturedTimestamp': '2024-11-27T12:56:33Z', 'targetTemperature_C': 23, 'targetTemperature_F': 74, 'climatisationWithoutExternalPower': True, 'climatizationAtUnlock': False, 'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': False, 'zoneFrontRightEnabled': False, 'zoneRearLeftEnabled': False, 'zoneRearRightEnabled': False}, 'climatisationStatus': {'carCapturedTimestamp': '2024-11-27T12:56:32Z', 'remainingClimatisationTime_min': -256, 'climatisationState': 'invalid'}, 'climatisationTemperatureOutside': {'error': {'message': 'Not Found', 'errorTimeStamp': '2024-11-27T13:08:29Z', 'info': 'Upstream service responded with an unexpected status. If the problem persists, please contact our support.', 'code': 4103, 'group': 2, 'retry': True}}, 'windowHeatingStatus': {'windowHeatingStatus': [{'windowLocation': 'front', 'windowHeatingState': 'invalid'}, {'windowLocation': 'rear', 'windowHeatingState': 'invalid'}]}})
Error while updating - WAUZZZ - (Field "climatisation" of type Optional[Climatisation] in Model has invalid value {'climatisationSettings': {'carCapturedTimestamp': '2024-11-27T12:56:33Z', 'targetTemperature_C': 23, 'targetTemperature_F': 74, 'climatisationWithoutExternalPower': True, 'climatizationAtUnlock': False, 'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': False, 'zoneFrontRightEnabled': False, 'zoneRearLeftEnabled': False, 'zoneRearRightEnabled': False}, 'climatisationStatus': {'carCapturedTimestamp': '2024-11-27T12:56:32Z', 'remainingClimatisationTime_min': -256, 'climatisationState': 'invalid'}, 'climatisationTemperatureOutside': {'error': {'message': 'Not Found', 'errorTimeStamp': '2024-11-27T13:08:53Z', 'info': 'Upstream service responded with an unexpected status. If the problem persists, please contact our support.', 'code': 4103, 'group': 2, 'retry': True}}, 'windowHeatingStatus': {'windowHeatingStatus': [{'windowLocation': 'front', 'windowHeatingState': 'invalid'}, {'windowLocation': 'rear', 'windowHeatingState': 'invalid'}]}})
Error while updating - WAUZZZF - (Field "climatisation" of type Optional[Climatisation] in Model has invalid value {'climatisationSettings': {'carCapturedTimestamp': '2024-11-27T12:56:33Z', 'targetTemperature_C': 23, 'targetTemperature_F': 74, 'climatisationWithoutExternalPower': True, 'climatizationAtUnlock': False, 'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': False, 'zoneFrontRightEnabled': False, 'zoneRearLeftEnabled': False, 'zoneRearRightEnabled': False}, 'climatisationStatus': {'carCapturedTimestamp': '2024-11-27T12:56:32Z', 'remainingClimatisationTime_min': -256, 'climatisationState': 'invalid'}, 'climatisationTemperatureOutside': {'error': {'message': 'Not Found', 'errorTimeStamp': '2024-11-27T13:09:20Z', 'info': 'Upstream service responded with an unexpected status. If the problem persists, please contact our support.', 'code': 4103, 'group': 2, 'retry': True}}, 'windowHeatingStatus': {'windowHeatingStatus': [{'windowLocation': 'front', 'windowHeatingState': 'invalid'}, {'windowLocation': 'rear', 'windowHeatingState': 'invalid'}]}})
Error while updating - WAUZZ - (Field "climatisation" of type Optional[Climatisation] in Model has invalid value {'climatisationSettings': {'carCapturedTimestamp': '2024-11-27T12:56:33Z', 'targetTemperature_C': 23, 'targetTemperature_F': 74, 'climatisationWithoutExternalPower': True, 'climatizationAtUnlock': False, 'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': False, 'zoneFrontRightEnabled': False, 'zoneRearLeftEnabled': False, 'zoneRearRightEnabled': False}, 'climatisationStatus': {'carCapturedTimestamp': '2024-11-27T12:56:32Z', 'remainingClimatisationTime_min': -256, 'climatisationState': 'invalid'}, 'climatisationTemperatureOutside': {'error': {'message': 'Not Found', 'errorTimeStamp': '2024-11-27T13:10:10Z', 'info': 'Upstream service responded with an unexpected status. If the problem persists, please contact our support.', 'code': 4103, 'group': 2, 'retry': True}}, 'windowHeatingStatus': {'windowHeatingStatus': [{'windowLocation': 'front', 'windowHeatingState': 'invalid'}, {'windowLocation': 'rear', 'windowHeatingState': 'invalid'}]}})

@cyr-ius
Copy link
Owner

cyr-ius commented Nov 29, 2024

Still the same problem here.

Error while updating - WAUZZZ - (Field "climatisation" of type Optional[Climatisation] in Model has invalid value {'climatisationSettings': {'carCapturedTimestamp': '2024-11-27T12:56:33Z', 'targetTemperature_C': 23, 'targetTemperature_F': 74, 'climatisationWithoutExternalPower': True, 'climatizationAtUnlock': False, 'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': False, 'zoneFrontRightEnabled': False, 'zoneRearLeftEnabled': False, 'zoneRearRightEnabled': False}, 'climatisationStatus': {'carCapturedTimestamp': '2024-11-27T12:56:32Z', 'remainingClimatisationTime_min': -256, 'climatisationState': 'invalid'}, 'climatisationTemperatureOutside': {'error': {'message': 'Not Found', 'errorTimeStamp': '2024-11-27T13:08:12Z', 'info': 'Upstream service responded with an unexpected status. If the problem persists, please contact our support.', 'code': 4103, 'group': 2, 'retry': True}}, 'windowHeatingStatus': {'windowHeatingStatus': [{'windowLocation': 'front', 'windowHeatingState': 'invalid'}, {'windowLocation': 'rear', 'windowHeatingState': 'invalid'}]}})
Error while updating - WAUZZZ - (Field "climatisation" of type Optional[Climatisation] in Model has invalid value {'climatisationSettings': {'carCapturedTimestamp': '2024-11-27T12:56:33Z', 'targetTemperature_C': 23, 'targetTemperature_F': 74, 'climatisationWithoutExternalPower': True, 'climatizationAtUnlock': False, 'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': False, 'zoneFrontRightEnabled': False, 'zoneRearLeftEnabled': False, 'zoneRearRightEnabled': False}, 'climatisationStatus': {'carCapturedTimestamp': '2024-11-27T12:56:32Z', 'remainingClimatisationTime_min': -256, 'climatisationState': 'invalid'}, 'climatisationTemperatureOutside': {'error': {'message': 'Not Found', 'errorTimeStamp': '2024-11-27T13:08:29Z', 'info': 'Upstream service responded with an unexpected status. If the problem persists, please contact our support.', 'code': 4103, 'group': 2, 'retry': True}}, 'windowHeatingStatus': {'windowHeatingStatus': [{'windowLocation': 'front', 'windowHeatingState': 'invalid'}, {'windowLocation': 'rear', 'windowHeatingState': 'invalid'}]}})
Error while updating - WAUZZZ - (Field "climatisation" of type Optional[Climatisation] in Model has invalid value {'climatisationSettings': {'carCapturedTimestamp': '2024-11-27T12:56:33Z', 'targetTemperature_C': 23, 'targetTemperature_F': 74, 'climatisationWithoutExternalPower': True, 'climatizationAtUnlock': False, 'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': False, 'zoneFrontRightEnabled': False, 'zoneRearLeftEnabled': False, 'zoneRearRightEnabled': False}, 'climatisationStatus': {'carCapturedTimestamp': '2024-11-27T12:56:32Z', 'remainingClimatisationTime_min': -256, 'climatisationState': 'invalid'}, 'climatisationTemperatureOutside': {'error': {'message': 'Not Found', 'errorTimeStamp': '2024-11-27T13:08:53Z', 'info': 'Upstream service responded with an unexpected status. If the problem persists, please contact our support.', 'code': 4103, 'group': 2, 'retry': True}}, 'windowHeatingStatus': {'windowHeatingStatus': [{'windowLocation': 'front', 'windowHeatingState': 'invalid'}, {'windowLocation': 'rear', 'windowHeatingState': 'invalid'}]}})
Error while updating - WAUZZZF - (Field "climatisation" of type Optional[Climatisation] in Model has invalid value {'climatisationSettings': {'carCapturedTimestamp': '2024-11-27T12:56:33Z', 'targetTemperature_C': 23, 'targetTemperature_F': 74, 'climatisationWithoutExternalPower': True, 'climatizationAtUnlock': False, 'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': False, 'zoneFrontRightEnabled': False, 'zoneRearLeftEnabled': False, 'zoneRearRightEnabled': False}, 'climatisationStatus': {'carCapturedTimestamp': '2024-11-27T12:56:32Z', 'remainingClimatisationTime_min': -256, 'climatisationState': 'invalid'}, 'climatisationTemperatureOutside': {'error': {'message': 'Not Found', 'errorTimeStamp': '2024-11-27T13:09:20Z', 'info': 'Upstream service responded with an unexpected status. If the problem persists, please contact our support.', 'code': 4103, 'group': 2, 'retry': True}}, 'windowHeatingStatus': {'windowHeatingStatus': [{'windowLocation': 'front', 'windowHeatingState': 'invalid'}, {'windowLocation': 'rear', 'windowHeatingState': 'invalid'}]}})
Error while updating - WAUZZ - (Field "climatisation" of type Optional[Climatisation] in Model has invalid value {'climatisationSettings': {'carCapturedTimestamp': '2024-11-27T12:56:33Z', 'targetTemperature_C': 23, 'targetTemperature_F': 74, 'climatisationWithoutExternalPower': True, 'climatizationAtUnlock': False, 'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': False, 'zoneFrontRightEnabled': False, 'zoneRearLeftEnabled': False, 'zoneRearRightEnabled': False}, 'climatisationStatus': {'carCapturedTimestamp': '2024-11-27T12:56:32Z', 'remainingClimatisationTime_min': -256, 'climatisationState': 'invalid'}, 'climatisationTemperatureOutside': {'error': {'message': 'Not Found', 'errorTimeStamp': '2024-11-27T13:10:10Z', 'info': 'Upstream service responded with an unexpected status. If the problem persists, please contact our support.', 'code': 4103, 'group': 2, 'retry': True}}, 'windowHeatingStatus': {'windowHeatingStatus': [{'windowLocation': 'front', 'windowHeatingState': 'invalid'}, {'windowLocation': 'rear', 'windowHeatingState': 'invalid'}]}})

Please upload diagnostic file

@Floriky
Copy link

Floriky commented Nov 29, 2024

Please upload diagnostic file

I have just seen that it has been working again since yesterday evening. Thanks @cyr-ius anyway

@JamieP83
Copy link

Thanks
All working for me!

I did have to remove and re-add the integration for it to work however I think the trick for me was that I needed to log into the Audi app on my phone as there was some new version and policy to approve - I think that did the trick for this to all work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants