Using JWT of distributed deployment services Error: JWT check failure:

===2021-09-18 15:55:14.445 ERROR [http-nio-8014-exec-6] com.croot.common.utils.JwtTokenKit Line:72 – JWT Check Failure:
io.jsonwebtoken.PrematureJwtException: JWT must not be accepted before 2021-09-18T15:55:42Z. Current time: 2021-09-18T15:55:14Z, a difference of 27556 milliseconds. Allowed clock skew: 0 milliseconds.
Synchronize server time
Write a script:

Add permissions for the script to be executable by all users for later testing: chmod a+x
Stop the crond service: service crond stop
Add timed tasks:
[[email protected] install]# crontab -e

* * * * * /bin/sh /install/

View scheduled tasks:
[ [email protected] install]# crontab -l

* * * * * /bin/sh /install/

View which users have scheduled tasks:
[ [email protected] ~]# ls /var/spool/cron

Start the crond service: service crond start

Check whether there is a test.log file in the/install/directory;

Display the contents of test.log in real time: Tail – F test.log

Read More: