-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NTP server time setting #40
Comments
This is the exact issue: Time zone is being set to Shanghai time. |
The AWS docs on the importance of the client have a correct understanding of time are here. The important bit: In order for a device to validate the server certificate presented by AWS IoT Core for an MQTT connection, the device’s time should be within some reasonable distance of the server’s time, e.g. no more than a few hours. Devices connecting using WebSocket/SigV4 authentication have an additional and more stringent requirement on the server side and must be within 15 minutes of the server’s time. At the moment our time diff is 7 hours, and will become 8 hours on October 27. Need to monitor for connection stability. |
A patch in the ESP8266 Arduino library was committed 23 days ago: |
Checkpoint facts
|
Seems like configTime is unaffected by changing the timezones in the config files, or passing in vars directly. It always seems to pull time with GMT +8 regardless of the arg passed into time set.
AWS IoT Core certs seem to be validated in this window, so functionally it works, but there are definitely errors occurring.
The text was updated successfully, but these errors were encountered: