Identity timestamp is outside of max skew window

Hi!

I tried to create storagenode, but:
./identity authorize storagenode my.email@is-here.com --log.level debug || date +%s
2020-09-07T17:24:58.311Z DEBUG Anonymized tracing disabled
2020-09-07T17:24:58.312Z DEBUG debug server listening on 127.0.0.1:37277
2020-09-07T17:24:59.050Z DEBUG Allowed minimum version from control server. {“Minimum Version”: “1.0.0”}
2020-09-07T17:24:59.050Z DEBUG Running on allowed version. {“Version”: “1.11.1”}
2020-09-07T17:24:59.488Z DEBUG Unrecoverable error {“error”: “certificates peer error: authorization claim error: claim timestamp is outside of max skew window: 1599499499”}
1599499499

Unix timestamps are identical.
I used official documentation: https://documentation.storj.io/dependencies/identity

That error means your clock is out of sync.

1 Like

Yes, but as You can see that error timestamp and server date are identical. Server datetime is synced.

root:~# ntpq -p
remote refid st t when poll reach delay offset jitter

*LOCAL(0) .LOCL. 10 l 5 64 377 0.000 +0.000 0.000
time1[dot]google[dot]co .INIT. 16 u - 1024 0 0.000 +0.000 0.000
time2[dot]google[dot]co .INIT. 16 u - 1024 0 0.000 +0.000 0.000
time3[dot]google[dot]co .INIT. 16 u - 1024 0 0.000 +0.000 0.000
time4[dot]google[dot]co .INIT. 16 u - 1024 0 0.000 +0.000 0.000

In the end ntp update via command line fixed the issue

ntpdate -u pool.ntp.org