-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Cannot get remote refresh token error #851
Comments
Same issue here! I run it a separate app. |
Looks like a PSA Server issue, I also got the message including rate limit exceeded, but I didn't forced updates or something like that. |
Same error too here.
|
more log for debug maybe...
|
After multiple retries I managed to run the ad-on, but this is what happens when i try to wakeup using rest command
After this the adon crashed. |
Also experiencing the same issue since this weekend. It retrieves data just fine, but I am unable to start the pre-condtioning or do a wakeup call for example. Getting the same errors as everyone else ^^
I also tried to re-authenticate this weekend, when entering the GUID from the oauth redirect, the loading bar kept spinning forever after clicking the |
I Also have the exact same issue: Started with the info not being available in Home Assistant. Restarted the docker container. And saw the token wasn't valid anymore. When trying to Re-activat.. The above error occurs |
Since you are getting {'err': 'NOK:FORBIDDEN'} error, I think you exceeded the limit of sms activations set by the psa server. To fix this, install mypeugeot app from the play/apple store ( uninstall and reinstall if already installed ), login then try to turn on the climate control. The app now ask you to reset your pin and send sms. once you do this, this error will be fixed. This is explained here |
Datas are retrieving now after multple reinstallations and tries but no remote commands are working
This is what happens with a climate control call |
same issue with app (docker) and /or HA add-on 2024-04-17 11:14:30,858 :: WARNING :: Disconnected with result code 1 |
Peugeot app is also unable to retrieve current data, so it looks like the PSA server issues. |
The myOpel App is working fine, including precondition, data sync of SOC etc. |
+1 same to me I think for two days.. |
Can't refresh token anymore and no commands work. Has been like this for a couple of days. |
I think, MyPeugeot app hit the same rate limit exception as psacc in my case. |
I can now confirm that my peugeot app works just fine from today morning. |
I have exactly the same issue with each remote command to a e208
|
Update again: |
Had the same issue yesterday :
It looks like the same behaviour from a few weeks ago. I wonder if the SoC update is working during a DC charge, could be interesting to know |
Just want to add just in case. I just tried preconditioning and that triggers the Refresh token error.
|
Data is indeed still being received but all actions from this app to the Peugeot servers are giving the token error |
I still get the data as well. It updates odometer, battery level and everything during trip and other times. The issue is we cannot manually force a remote command like precondition or wakeup call which will give this error. The battery level is not updating during charging. I have to manually go to car and unlock it to get the data in the app. So obviously charge control won't work. |
I have the same 'can't refresh_remote_token' problem. |
Now my battery is at 100% and I will sit here till tomorrow on it. This is frustrating. |
How can I add addons from a github that is not on homeassistant addons? |
Addon-Store three dots upper right, Repositories. Add the URL. |
I feel stupid now >.< thanks |
Why HA adon is not showing any updates eventhough there is a release tag v3.5.1 |
Did you click the reload button on the top right corner, it's located on the Add-On page. Flobz's home assistant add-on is still linking to 3.5.0. |
Im still sticking to flobz add-on. Created a pull request for version bump there. |
Still not working for me. Update psacc done, OTP config done, still the same error. SoC level isn't updating in the Peugeot app either so maybe something is wrong with my account / car. I have contacted Peugeot to check it. |
I am still not seeing the 3.5.1 update in HA yet. |
Depends on when the owner decides to change the psacc-ha github. It isn't automated. |
I already created a pull request for version bump but not yet merged by @flobz |
It's merged now |
Not at all useless. Having just one UI and analysing the data e.g. within grafana makes it 100x more valuable than just another app. There's so much more than just limiting the charge. |
Well that was the thing. Controlling the car with this wasn't working and no new info was coming up at all unless you triggered it with other software. |
I have done the update and gone through the login and otp again but I still can't wake the car? |
Now that you mention it. The car still doesn't respond to any action. Edit: did the login again, but still no deal. Edit2: Redid OTP anyways and the token still doesn't refresh. I get an extra ratelimmiterror now: Edit3: I restarted and now the wake up command works |
I did a restart this morning and was still seeing refresh token errors but after some time it seems to have settled down with no more errors. Will see if I can use wake up this evening with my intelligent Octopus charging ( the main reason I use this car controller ) |
Worked perfectly last night - thanks everyone |
I did a complete reinstall of the container and it worked last night. Whereas the offical application couldn't refresh the SoC. |
Everything’s ok for me now, but the soh doesn’t update |
Token refresh error still comes up. The refresh is still broken! |
I am not seeing any token refresh issues anymore? |
It works for a couple days, then you have to do otp again and it will work for a couple more days. |
No problem here, after the token expired, there will be an error message and after it, I get a new token without the OTP dance again |
Not sure why others are having issues. Mine has been refreshing fine. I assume you are on the latest version? (there was a bug with the older ones) |
Mine has been fine since the last fix. |
It is saying to redo otp procedure, but after doing that is still asks to do the same procedure but it still cannot get the token refreshed. Seems that refreshing token doesn't work at all anymore. Not even after redoing otp. Vendor app is working fine without any issues. |
Have you totally deleted the addin and installed from scratch - I had similar issues to yours until I installed from scratch again |
I have done that before, but not recently. |
In case someone is stuck with this error like I was: When doing the OTP procedure, if you enter a wrong PIN code, there is no error, the procedure ends up in a success. You just get the "Can't refresh remote token" when you charge the car. |
Error : 2024-04-15 11:02:36,058 :: ERROR :: Can't refresh remote token 'refresh_token'
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/psa_car_controller/psa/RemoteClient.py", line 167, in _refresh_remote_token
self.remoteCredentials.refresh_token = data["refresh_token"]
KeyError: 'refresh_token'
Platform: home assistant.
I tried to redo the authentication with --web-conf and once I did the authentication, I tried to restart the ad-on with -f config.json -c charge_config.json -r parameter gives me this error.
Sometimes, restarting the homeassistant fixes this issue sometimes not.
The text was updated successfully, but these errors were encountered: