-
-
Notifications
You must be signed in to change notification settings - Fork 303
Open
Description
Describe the bug
When initially setting up the user configuartion I get the following eror "Invalid or expired client certificate"
To Reproduce
Steps to reproduce the behavior:
- freshly install Home assistant add-on
- Go to psa car controller web ui
- fill out config (see attached screenshot)
- Click submit
Config file
PSACC_OPTIONS: "-r --web-conf -c"
Environment (please complete the following information):
- OS: HASS OS
- Opel Astra electric
- v3.6.2
- Log
2026-01-04 21:18:01,548 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:18:01] "POST /_dash-update-component HTTP/1.1" 200 -
2026-01-04 21:25:36,618 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "POST /_dash-update-component HTTP/1.1" 200 -
2026-01-04 21:25:36,643 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "GET /config_login HTTP/1.1" 200 -
2026-01-04 21:25:36,665 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "GET /assets/images/settings.svg HTTP/1.1" 304 -
2026-01-04 21:25:36,699 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "GET /assets/99_custom_overides.css HTTP/1.1" 304 -
2026-01-04 21:25:36,700 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "GET /assets/clientside.js HTTP/1.1" 304 -
2026-01-04 21:25:36,774 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "GET /_dash-layout HTTP/1.1" 200 -
2026-01-04 21:25:36,776 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "GET /_dash-dependencies HTTP/1.1" 200 -
2026-01-04 21:25:36,809 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "POST /_dash-update-component HTTP/1.1" 200 -
2026-01-04 21:25:36,849 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "GET /assets/images/settings.svg HTTP/1.1" 304 -
2026-01-04 21:25:36,857 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "POST /_dash-update-component HTTP/1.1" 204 -
2026-01-04 21:25:36,861 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "POST /_dash-update-component HTTP/1.1" 204 -
2026-01-04 21:25:36,877 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:25:36] "POST /_dash-update-component HTTP/1.1" 200 -
2026-01-04 21:27:49,323 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET / HTTP/1.1" 200 -
2026-01-04 21:27:49,363 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /assets/99_custom_overides.css HTTP/1.1" 304 -
2026-01-04 21:27:49,383 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /assets/clientside.js HTTP/1.1" 304 -
2026-01-04 21:27:49,535 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /_dash-layout HTTP/1.1" 200 -
2026-01-04 21:27:49,550 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /_dash-dependencies HTTP/1.1" 200 -
2026-01-04 21:27:49,585 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "POST /_dash-update-component HTTP/1.1" 200 -
2026-01-04 21:27:49,614 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /config_login HTTP/1.1" 200 -
2026-01-04 21:27:49,618 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /assets/images/settings.svg HTTP/1.1" 304 -
2026-01-04 21:27:49,685 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /assets/99_custom_overides.css HTTP/1.1" 304 -
2026-01-04 21:27:49,686 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /assets/clientside.js HTTP/1.1" 304 -
2026-01-04 21:27:49,765 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /_dash-layout HTTP/1.1" 200 -
2026-01-04 21:27:49,767 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /_dash-dependencies HTTP/1.1" 200 -
2026-01-04 21:27:49,800 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "POST /_dash-update-component HTTP/1.1" 200 -
2026-01-04 21:27:49,840 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "GET /assets/images/settings.svg HTTP/1.1" 304 -
2026-01-04 21:27:49,846 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "POST /_dash-update-component HTTP/1.1" 204 -
2026-01-04 21:27:49,855 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "POST /_dash-update-component HTTP/1.1" 204 -
2026-01-04 21:27:49,861 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:27:49] "POST /_dash-update-component HTTP/1.1" 200 -
2026-01-04 21:28:37,552 :: INFO :: Initial setup...
2026-01-04 21:28:40,453 :: ERROR :: Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/psa_car_controller/psa/setup/app_decoder.py", line 105, in __fetch_user_info
res_dict = res2.json()["success"]
~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'success'
{"code":"495", "message": "Invalid or expired client certificate"}
2026-01-04 21:28:40,453 :: ERROR :: Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/psa_car_controller/psa/setup/app_decoder.py", line 105, in __fetch_user_info
res_dict = res2.json()["success"]
~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'success'
{"code":"495", "message": "Invalid or expired client certificate"}
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/psa_car_controller/psa/setup/app_decoder.py", line 105, in __fetch_user_info
res_dict = res2.json()["success"]
~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'success'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/psa_car_controller/web/view/config_views.py", line 137, in connectPSA
INITIAL_SETUP = InitialSetup(app_name, email, password, countrycode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/psa_car_controller/psa/setup/app_decoder.py", line 76, in __init__
self.user_info = self.__fetch_user_info()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/psa_car_controller/psa/setup/app_decoder.py", line 113, in __fetch_user_info
raise ConnectionError(msg) from ex
ConnectionError: Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/psa_car_controller/psa/setup/app_decoder.py", line 105, in __fetch_user_info
res_dict = res2.json()["success"]
~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'success'
{"code":"495", "message": "Invalid or expired client certificate"}
2026-01-04 21:28:40,456 :: INFO :: 172.30.32.1 - - [04/Jan/2026 21:28:40] "POST /_dash-update-component HTTP/1.1" 200 -
Additional context
related issues
#938
SirBenga and AndreFjeld
Metadata
Metadata
Assignees
Labels
No labels