Token Has Expired

Anton Tananaeva year ago

Not sure about that. I suspect it just doesn't save the new token for some reason. Have you tried doing a clean install?

Dwight Doerhoffa year ago

I have done a clean install of the app on iOS but the error still occurs.

Jonaya year ago

I solved this problem by changing the password. I hope it helps you.

Anton Tananaeva year ago

If it happens after reinstalling, it means it's NOT a clean install. You probably have backed up settings that iOS restores.

Dwight Doerhoffa year ago

I just did a delete app and install again on iOS. I made sure to delete app data when deleting. After setting server name, sign-in screen appeared and token error appeared again even before signing in again for the 1st time.
IMG_4105.PNG

Anton Tananaeva year ago

That proves that the token was saved from the previous install.

Dwight Doerhoffa year ago

Fine, but how do you do get a clean install without restoring iOS to clean default config and manually reinstalling all apps if I am telling iOS to delete Traccar Manager and its data but it is somehow retaining the token?

Anton Tananaeva year ago

Typically you just need to login and it will update the token, but for some reason it's not happening in your case. If you want to figure out why, we probably need to look at the logs.

Dwight Doerhoffa year ago

I would be happy to work on figuring out why. Please advise next steps to get you the logs.

Anton Tananaeva year ago

I believe you can use either Apple Configurator or Xcode to retrieve logs. I'm not sure about exact steps.

Chris10 months ago

I had the same problem, here's how I fixed it.

  1. Go to passwords in iPhone setup
  2. Find your traccar entry and note the password
  3. Delete the password entry in Passwords.
  4. Open Traccar app on iPhone login with your username and current password.
  5. fixed!
Vadim9 months ago

The same problem on iPhone, permanently, many times per day for long time

Token has expired - SecurityException (TokenManager:80 < LoginService:65 < SessionResource:81 < ...)

Tried all I found here, no effect. Please help to resolve this problem. Thanks in advance!

Anton Tananaev9 months ago

Disable iCloud sync, remove data for the app from iCloud and reinstall the app. That should clear everything. Then just login again.

Vadim9 months ago

Dear Anton, there is no iCloud sync available for Traccar and wasn't. Not possible even activate sync. I tried to reinstall few times, problem the same

Anton Tananaev9 months ago

If that's true, then a simple reinstall should help. There won't be any outdate token locally.