-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
400 - server_error : Internal Server Error #674
Comments
Car: Peugeot E-208 I got the same error, was working fine until today, now if I want to get the vehicle info I get an error 400... I can still send wakeup though. I tried on my Raspberry Pi 4 too, on my windows 11 pc, reinstalled everything, logged back in but still not working. The app is up to date. 2023-11-24 00:08:54,771 :: INFO :: 127.0.0.1 - - [24/Nov/2023 00:08:54] "GET /favicon.ico HTTP/1.1" 200 - 2023-11-24 00:09:29,802 :: ERROR :: get_vehicle_info: ApiException: (400) 2023-11-24 00:09:29,804 :: ERROR :: Exception on /get_vehicleinfo/that's private [GET] |
Car: Peugeot E-2008 Same error: PSA Car Controller Thanks |
Same here... |
Same here, corsa-e. Opel App ist working, but PSACC won't retrieve anything with same error message (API exception 400) |
Same for me. At least I have a 100% charged car now. 😀 |
Same here, Citroen e-c4. |
The problem lies in the api client Do you get any message that starts with |
No API exception. I just get: |
Same issue for me: |
Same problem here with Corsa e |
Got the same error since yesterday |
Same here 2023-11-24 08:31:24,183 :: ERROR :: get_vehicle_info: ApiException: (400) |
+1
|
Now i see thats the same issue for me |
Same here... API must have changed somehow... Trying to re-login via the GUI also failed. |
Car: Peugeot 3008 |
Indeed API have changed! Tested with my library (wich is a rewrite of the core of this great project) they removed the vehicle extensions from the vehicle... need to better analyse the new payloads! |
API must have changed, but MyCitroën app is still working. |
#678 with possible fix |
Think there was 2 errors here, The "get_vehicle_info: ApiException: (400)" Error, but i think OP (and i) have a slightly different error when trying to authenticate to Vauxhall (Corsa E) 2023-11-24 14:33:07,102 :: ERROR :: 400 - server_error : Internal Server Error Have tried the odometer fix in Homa Assistant and still getting same error. |
I'm getting the same. Vauxhall Corsa-E giving same feed as above after making the odometer change. |
Hi @flobz, Still seems to be an issue with the Vauxhall Corsa E, Any advice would be much appreciated. 2023-11-24 14:33:07,102 :: ERROR :: 400 - server_error : Internal Server Error Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/psa_car_controller/web/view/config_views.py", line 133, in connectPSA res = firstLaunchConfig(app_name, email, password, countrycode) File "/usr/local/lib/python3.9/dist-packages/psa_car_controller/psa/setup/app_decoder.py", line 95, in firstLaunchConfig psacc.connect(client_email, client_password) File "/usr/local/lib/python3.9/dist-packages/psa_car_controller/psacc/application/psa_client.py", line 35, in connect self.manager.init_with_user_credentials_realm(user, password, self.realm) File "/usr/local/lib/python3.9/dist-packages/psa_car_controller/psa/oauth.py", line 26, in init_with_user_credentials_realm self._token_request(self._grant_password_request_realm(login, password, realm), True) File "/usr/local/lib/python3.9/dist-packages/oauth2_client/credentials_manager.py", line 205, in _token_request CredentialManager._handle_bad_response(response) File "/usr/local/lib/python3.9/dist-packages/oauth2_client/credentials_manager.py", line 87, in _handle_bad_response raise OAuthError(HTTPStatus(response.status_code), error.get('error'), error.get('error_description')) oauth2_client.credentials_manager.OAuthError: 400 - server_error : Internal Server Error |
@flobz thanks for quickly fixing this. Would it be possible to also follow up with a new version of the home assistant add-on? Thanks! |
Was also wondering why the addon wasn't updated >.< |
Please don't close, this isn't resolved for the Vauxhall Corsa E. We're still getting the error! |
@flobz How do we get this reopened? It's still an issue. I've tried looking into it, but I don't understand enough about the programming language or setup to work out whats going on. I'm a Perl programmer, so quite different. |
Still happening with Vauxhall Mokka-e as well @flobz |
Also with a new 2023 DS4. (Tested with 3.2.0 running in Docker) |
@flobz Im still hitting this - how do we get the ticket reopened? Can we do anything to help debug? Logs etc |
Hello, I have updated to 3.3.1 cause I couldn't receive new data (except the vehicle info: charge, autonomy), also impossible to launch the pre-conditioning :(
PS: I have an Opel corsa-e from 2022. What should I search for to solve this? |
Just updated the HA addon to 3.3.1, still getting this error:
|
I get this error after I upgraded my ha add-on from 3.2.0 to 3.3.1. I also have an Opel Corsa E 2021, my country code is DE.
|
Same here |
https://my.vauxhall.com/gb/en/ Looks like the website domain has now changed after being down for a week. Assume the API call needs to be updated. Edit: Nvm login page still redirects to .co.uk |
I confirm @thewhale21 the websites have changed: the same for myopel.com/fr it redirects now to https://id-dcr.opel.com and it asks for a new password due to a technical change. I did changed my password with my browser, but impossible to disconnect/reconnect in my app MyOpel... Anyway, the plugin psa-car-controller perhaps needs an update for the authentication url? :) BR. |
Same for Peugeot e2008 2024-01-26 07:22:11,263 :: INFO :: Namespace mapping (56, 451) already seen! This is usually not a problem but could indicate packers or broken AXML compilers. |
I am getting this error too - I only just tried to install this addon for my Peugeot in the last week - I haven't had it working at all yet. I was wondering if there was some additional configuration that I needed to do based on the installation instructions as there was a step involving finding and updating the config files that was a bit of a mystery to me. Would be grateful for some pointers or a fix to the addon. |
Its a known issue: Vauxhall decided to unceremoniously change the whole login method and API, without bothering to give anyone a chance to update their scripts! So a ton of PSA scripts no longer work (authentiation-wise). So now everyone is scrambling to fix it. Check out that other issue, and you should see that people are working on it - but its not a quick job Cheers Andy |
Hello, I have the same problem when I want to log in with my MyPeugeot account I use v3.3.2 of PSA Car Controller Thanks for your help Traceback (most recent call last): |
Please read: #733 ... its a known issue, and PSA are being CRAP about it! |
Car: Vauxhall Corsa E
When I attempt to authenticate under 'My Car Details' I get the error message: 400 - server_error : Internal Server Error
Attempted on: Windows 10 PC and HomeAssistant running on a Raspberry Pi 4
I have used this tool for years, but this error has just emerged. I have attempted on older versions and newer versions but the issue is recurring.
The text was updated successfully, but these errors were encountered: