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

502 Server Error: Bad Gateway #72

Closed
epenet opened this issue Dec 1, 2020 · 8 comments
Closed

502 Server Error: Bad Gateway #72

epenet opened this issue Dec 1, 2020 · 8 comments

Comments

@epenet
Copy link
Collaborator

epenet commented Dec 1, 2020

Originally opened by @WinkelB on hassRenaultZE

Logger: custom_components.renault.pyzevehicleproxy
Source: helpers/update_coordinator.py:152
Integration: Renault (documentation)
First occurred: 21:55:16 (1 occurrences)
Last logged: 21:55:16

Error requesting VINXXXXXXXXXXXX hvac_status data: 502 Server Error: Bad Gateway for url: https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/ACCOUNTXXXXXXXXXXXXXXX/kamereon/kca/car-adapter/v1/cars/VINXXXXXXXXXXXX/hvac-status?country=DE
@epenet
Copy link
Collaborator Author

epenet commented Dec 1, 2020

I have the same issue here with charge-mode:

Received Kamereon response 500 on https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/ACCOUNTXXXXXXXXXXXXXXX/kamereon/kca/car-adapter/v1/cars/VINXXXXXXXXXXXX/charge-mode?country=FR:
{"type":"TECHNICAL","messages":[{"code":"err.tech.500","message":"{\"errors\":[{\"status\":\"Internal Server Error\",\"code\":\"500\",\"title\":\"Invalid response from the upstream server (The request sent to the GDC is erroneous) ; 502 Bad Gateway\"}]}"}],"errors":[{"errorCode":"err.tech.500","errorMessage":"{\"errors\":[{\"status\":\"Internal Server Error\",\"code\":\"500\",\"title\":\"Invalid response from the upstream server (The request sent to the GDC is erroneous) ; 502 Bad Gateway\"}]}"}],"error_reference":"TECHNICAL"}

I have contacted Renault about it, as it prevent me from planning the charges inside MyRenault application.

@epenet
Copy link
Collaborator Author

epenet commented Dec 17, 2020

@WinkelB: I have contacted Renault and they solved something at their end.
Now my charge management works fine.

Did you manage to get it working on your end?

@WinkelB
Copy link

WinkelB commented Dec 17, 2020 via email

@epenet
Copy link
Collaborator Author

epenet commented Dec 17, 2020

Do you have air conditioning in your vehicle?
Are you able to control it via the MyRenault application?

@WinkelB
Copy link

WinkelB commented Dec 17, 2020 via email

@epenet
Copy link
Collaborator Author

epenet commented Dec 17, 2020

The joys of Renault AIP...
On ZE40, it always returns "off" even when it's on. Maybe on ZE50 they simply disabled the endpoint.
On Home-Assistant, it will just display the error once at startup, and then disable the endpoint.

Are you happy to close this?

@PysX
Copy link
Contributor

PysX commented Dec 17, 2020

I can confirm for my ZE50: the hvac-status endpoint is not supported.
However I am able to start AC from MyRenault App and from API.
In Renault App, it is like it starts a timer for 5min, can not stop it.
Not tested “stop” from API.

@epenet
Copy link
Collaborator Author

epenet commented Dec 17, 2020

Documentation added to wiki: https://github.com/hacf-fr/renault-api/wiki/Data-endpoint:-hvac-status

I will close it, and we can discuss on hassRenaultZE what is the best way to handle it there.

@epenet epenet closed this as completed Dec 17, 2020
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

3 participants