arduino-libraries / NTPClient

Connect to a NTP server
533 stars 366 forks source link

Release 3.2.0 makes ESP32 error and boot loop #164

Closed tmargot closed 2 years ago

tmargot commented 2 years ago

I had a previous version downloaded via the Arduino IDE library manager, but realised it did not have isTimeSet(). So I swapped it out for the latest version downloaded from here but now there is an assertion error and the ESP32 just boot loops.

11:57:42.430 -> assertion "Invalid mbox" failed: file "/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c", line 374, function: tcpip_send_msg_wait_sem
11:57:42.477 -> abort() was called at PC 0x400d92d7 on core 1
11:57:42.477 -> 
11:57:42.477 -> ELF file SHA256: 0000000000000000
11:57:42.477 -> 
11:57:42.477 -> Backtrace: 0x4008923c:0x3ffb1d80 0x400894b9:0x3ffb1da0 0x400d92d7:0x3ffb1dc0 0x4011a2a7:0x3ffb1df0 0x40119aed:0x3ffb1e20 0x40119ca0:0x3ffb1e40 0x4011da8e:0x3ffb1e80 0x400d3afe:0x3ffb1ea0 0x400d3b95:0x3ffb1ee0 0x401451a9:0x3ffb1f10 0x400d4b80:0x3ffb1f30 0x400d12a2:0x3ffb1f50 0x400d1367:0x3ffb1f80 0x400d6aca:0x3ffb1fb0 0x4008a4ba:0x3ffb1fd0
11:57:42.477 -> 
11:57:42.477 -> Rebooting...
tmargot commented 2 years ago

Fixed... was not calling WiFi.begin() before.