Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

The JWT is expired. Therefore please check your local system clock.

Amandeep
Participant
0 Kudos
5,700

Hi Guys,

Has an one faced following issue while connecting to ABAP trial on Cloud foundry while making connection via JSON Service Key ??

'"An error occurred during JWT validiation. The JWT is expired. Therefore please check your local system clock."

Thanks

-A

8 REPLIES 8

SvenS
Participant
0 Kudos
1,859

The error indicates that there is a clock set incorrectly. I haven't had this error before with Cloud foundry so I can't tell if it's the clock of your own pc or somewhere on cloud foundry.

JWT have an expiration time set to reduce the possibility of replay attacks, so if your clock is off it will throw this error.

Note your clock needs to be the same within at least a minute and you need to be in the same time-zone.

0 Kudos
1,859

I tried setting my system clock to Frakfurt timezone, but doesnt help.

Cheers

-A

1,859

Hi,

changing your timezone won't help if the time is off in general.

Please check if your clock is off a few minutes by comparing with other devices (e.g. your phone). If it is off, please try to set it correctly (manually if necessary). It shouldn't matter if it is a bit ahead, but it must not be behind, otherwise - from ADT perspective - your JWT will be issued in the future and therefore invalid.

Best Regards,

Thomas

0 Kudos
1,859

This worked for me

Thank you

oli_gasp
Explorer
0 Kudos
1,859

Hi,

I get the same issue while connecting to ABAP Cloud. Any chance you found a solution to this ?

Thanks

O.

1,859

Hi,

Change your timezone, one minute can be the difference. This worked for me.

CaioRanegel
Discoverer
0 Kudos
1,431

really make difference