-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Expired Certificate #938
Comments
Getting the same error for Citroen. |
Same from Germany with a Opel Corsa E |
Same from Italy with a Peugeot E-208 |
Maybe we can find a way to fix it ourself. This apk is located under: https://github.com/flobz/psa_apk |
Same from France with a DS4 e-Tense. |
The "problem" is to find the password for the changed certificate |
Same goes from Finland with Opel Mokka e. Things were working until yesterday, after that the Opel app ceased to have connection and PSA car controller also stopped updating. After that I installed HAOS update and the PSA car controller stopped working. This has happened to me a couple of times before and I have managed to get it back going with a reinstall. When I tried to do this, I ran into this problem. |
Same for the Netherlands with Peugeot e208 |
Same here, Citroen C5,.... |
Same problem for me with docker image on DS3 : KeyError: 'success' {"code":"495", "message": "Invalid or expired client certificate"} |
@flobz
|
Same problem with 208 GT in germany |
Having the same issue. Hopefully there'll be a fix soon |
Can you please stop posting that you have the same issue? It seems to be clear that this is a generic problem. Just 👍 up the initial report. |
Seems to be working again for me. Not done anything to fix it.
|
I am still getting:
|
I've forked the repos and bumped the app versions. The newest ones doesn't have the certificate anymore. They changed how the apps authenticates. |
What do we have to do now? I am getting still the same error as before. |
Based on my previous comment, a developer can help fixing that. Unfortunately my dev skills are quite limited and can't help much |
Hmm, actually, the latest app version has that certificate! Still looking into it |
PSA V3.5.1, does not work with the home assistant on the last version. Same certificate issue. |
@raphaelbarreiros did you find out anything new? I followed the following path:
I guess the next step would be to look into |
Yeah, I did almost the same as you @HansUweRempler but then I decided to try to make the API calls from Postman to make sure everything was working ok before making any changes to the code. So I've extracted the Cert, Client_ID and Client_Secret manually - just like the apk_parser.py The last one I did literally 1 minute before going to bed. Just starting my day here, so as soon as I can I'm going to debug the code but it looks like it's not finding the file with the client id and client secret, they might have changed that in some of the versions, so shouldn't be too difficult to fix! |
@HansUweRempler did you restart your container after modify? If not the changes will not be happend, and it still download the old stuff After restart the container it will run in: res1 must be zero! Which comes from androguard which is used in 3.3.5, maybe a newer version may help here, on the other hand the file can just be unzipped, w/o using androdguard like @raphaelbarreiros described Here it is how it works:
apt install python3.9-distutils open apk_parser.py
open app_decoder.py
I have issued a pull request for it #944 |
@kurim brilliant! In case someone wants to install my fork in the meantime: https://github.com/raphaelbarreiros/psacc-ha |
@raphaelbarreiros your fork works well. Thank you very much! |
@kurim Ah, yes, of course, you're absolutely right, I missed to restart the container! Thank you very much for your hints, it worked like a charm 🥇. @raphaelbarreiros thank you for starting all of this. Let's see how long this will hold up until the next update. |
@kurim I've applied your suggestion but I receive the same error .. Where I wrong ? |
I used your fork now I don't get the error cert... anymore, but as soon as I have entered my data and click submit it loads for a very long time, restarts my ha and nothing happens. What can i do? |
How can install the fork?
Il giorno sab 31 ago 2024 alle 08:31 Jjanssen1991 ***@***.***>
ha scritto:
… @raphaelbarreiros <https://github.com/raphaelbarreiros>
I used your fork now I don't get the error cert... anymore, but as soon as
I have entered my data and click submit it loads for a very long time,
restarts my ha and nothing happens.
What can i do?
—
Reply to this email directly, view it on GitHub
<#938 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAXC6YNJWJCIPB4V4S54QSDZUFPMTAVCNFSM6AAAAABNBSEUIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSG44TMMRUGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
You need to use the url https://github.com/raphaelbarreiros/psacc-ha then you get de psa controllor fix |
Seems like your HA can't process the APK for some reason. It shouldn't restart. |
@raphaelbarreiros |
Doesn't say anything. Maybe HA logs or keep trying to get them after you try to make the login, before it crashes |
In HA I think is not possible ... Do you now when "official" release will be updated ? |
I work with PSA Car Controller via HA Addons. |
Hi, Thanks to everyone inspecting and solving the problem. I am using the version found here:
This is a temporary fix, but an ugly one. Unfortunately, I have no bandwith for git-lfs on github, so I can not prepare a pull request with a proper fix. But maybe it would make sense to have a configuration variable that can change the source of the .apk used so that one can manually circumvent the hard coded github repo that is used for this. Jan |
Okay, everything works as before now and probably even better than before after updating HA-Addon to v3.5.3. |
Still a lot of problems here.. and home assistant reboot everytime I start psacontroller... see here below |
Describe the bug
Today expired the Peugeout certificate in the APK version that you store on psa_apk.
Additional context
Please update the APK so I can login into the app
The text was updated successfully, but these errors were encountered: