traccar / traccar-manager-ios

Traccar Manager for iOS
https://www.traccar.org/manager
Apache License 2.0
109 stars 193 forks source link

App logs out and gives error after interfal. Invalid signature - SecurityException (CryptoManager:76 < TokenManager:77 < LoginService:65 < ...) #51

Closed Vinestou closed 4 months ago

Vinestou commented 4 months ago

Describe the bug On all IOS devices we use Traccar Manager app on Traccar logs out and gives this error: Invalid signature - SecurityException (CryptoManager:76 < TokenManager:77 < LoginService:65 < ...) Then I need to log in again and after sometime or server reboot te error comes back. Nothing in the logs to trace.

To Reproduce Steps to reproduce the behavior:

  1. Open Traccar Manager on Iphone
  2. Look at screen
  3. See error

Expected behavior Dont log out and dont give error, or give clear discription of error reason.

Screenshots If applicable, add screenshots to help explain your problem. Traccar error

Smartphone (please complete the following information):

tananaev commented 4 months ago

The error seems to indicate that your signing keys have changed on the server side.

Vinestou commented 4 months ago

The error seems to indicate that your signing keys have changed on the server side.

But its a fresh install of traccar server and the app, how could I fix this?

tananaev commented 4 months ago

Fresh install? I thought you said something about logout? I'm very confused.

Vinestou commented 4 months ago

Fresh install? I thought you said something about logout? I'm very confused.

Sorry, maby I was not clear. So:

tananaev commented 4 months ago

We're back to my original comment then. For some reason it looks like your encryption keys have changed.

Vinestou commented 4 months ago

We're back to my original comment then. For some reason it looks like your encryption keys have changed.

Do you know how to fix that? Or a pointer at were to look? Is this proxy related or in traccar?

tananaev commented 4 months ago

Unclear where, but you should start by checking encryption keys in the database.

Vinestou commented 4 months ago

Could it be the H2 database? What database do you mean?

tananaev commented 4 months ago

It's whatever database you're using on the server.