esp-google-iot icon indicating copy to clipboard operation
esp-google-iot copied to clipboard

Waiting for system time to be set... (CA-5)

Open DeveloperChand opened this issue 6 years ago • 2 comments

The module is successfully connected to the internet, but unable to set time. Please check the following console log I (5108) APP: Initializing SNTP I (5108) APP: Waiting for system time to be set... I (7108) APP: Waiting for system time to be set... I (9108) APP: Waiting for system time to be set... I (11108) APP: Waiting for system time to be set... I (13108) APP: Waiting for system time to be set... I (15108) APP: Waiting for system time to be set... I (17108) APP: Waiting for system time to be set... I (19108) APP: Waiting for system time to be set... I (21108) APP: Waiting for system time to be set... I (23108) APP: Waiting for system time to be set... I (25108) APP: Waiting for system time to be set... I (27108) APP: Waiting for system time to be set... I (29108) APP: Waiting for system time to be set... I (31108) APP: Waiting for system time to be set... I (33108) APP: Waiting for system time to be set... I (35108) APP: Waiting for system time to be set... I (37108) APP: Waiting for system time to be set... I (39108) APP: Waiting for system time to be set... I (41108) APP: Waiting for system time to be set... I (43108) APP: Waiting for system time to be set... I (45108) APP: Waiting for system time to be set... I (47108) APP: Waiting for system time to be set... I (49108) APP: Waiting for system time to be set...

DeveloperChand avatar Jul 03 '19 08:07 DeveloperChand

Can you once check with some other NTP server, say "pool.ntp.org" instead of "time.google.com" here: https://github.com/espressif/esp-google-iot/blob/master/examples/smart_outlet/main/smart_outlet_example.c#L72

shahpiyushv avatar Jul 03 '19 15:07 shahpiyushv

Tried it but no use

DeveloperChand avatar Jul 04 '19 07:07 DeveloperChand