witnessmenow / Universal-Arduino-Telegram-Bot

Use Telegram on your Arduino (ESP8266 or Wifi-101 boards)
MIT License
1.12k stars 311 forks source link

Reset only occurs at certain times. #150

Open qlalfdu opened 4 years ago

qlalfdu commented 4 years ago

Thanks to Brian Lough and everyone who solved the problem.

I am using esp8266 This problem occurred after using TLS1.2. I have observed this for over 20 days. It occurs only at 12:00 to 14:00 GMT. This time, I checked using only the sketches of the examples.

Arduino Version: 1.8.12 Board Version: 2.6.3 Library Version: 1.1.0 Added 'client.setInsecure ()' to setup. Here's the decoded exception

Exception 28: LoadProhibited: A load referenced a page mapped with an attribute that does not permit loads Decoding 19 results 0x40221a7a: br_ssl_hs_client_run at /home/earle/Arduino/hardware/esp8266com/esp8266/tools/sdk/ssl/bearssl/src/ssl/ssl_hs_client.c line 1871 0x40255f43: node_remove_from_list at ?? line ? 0x40222981: do_ctr at /home/earle/Arduino/hardware/esp8266com/esp8266/tools/sdk/ssl/bearssl/src/ssl/ssl_rec_gcm.c line 120 0x4021fa74: jump_handshake at /home/earle/Arduino/hardware/esp8266com/esp8266/tools/sdk/ssl/bearssl/src/ssl/ssl_engine.c line 1081 0x4021ff59: br_ssl_engine_recvrec_ack at /home/earle/Arduino/hardware/esp8266com/esp8266/tools/sdk/ssl/bearssl/src/ssl/ssl_engine.c line 1206 0x4021fd48: br_ssl_engine_sendapp_ack at /home/earle/Arduino/hardware/esp8266com/esp8266/tools/sdk/ssl/bearssl/src/ssl/ssl_engine.c line 1134 0x40204054: thunk_br_ssl_engine_recvrec_ack at ?? line ? 0x40203a7a: BearSSL::WiFiClientSecure::_run_until(unsigned int, bool) at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.cpp line 540 0x40207a7a: String::changeBuffer(unsigned int) at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\cores\esp8266/WString.cpp line 187 0x40203c29: BearSSL::WiFiClientSecure::available() at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.cpp line 386 (discriminator 2) 0x4020313e: BearSSL::WiFiClientSecure::connected() at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.cpp line 260 0x40204e5d: UniversalTelegramBot::sendGetToTelegram(String) at D:++ino\libraries\Universal-Arduino-Telegram-Bot-master\src/UniversalTelegramBot.cpp line 49 0x40207bb0: String::copy(char const*, unsigned int) at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\cores\esp8266/WString.cpp line 214 0x40207d94: String::operator=(String const&) at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\cores\esp8266/WString.cpp line 262 0x40207dc4: String::String(String const&) at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\cores\esp8266/WString.cpp line 41 0x40206e15: UniversalTelegramBot::getUpdates(long) at D:++ino\libraries\Universal-Arduino-Telegram-Bot-master\src/UniversalTelegramBot.cpp line 353 0x40201480: loop at i:\temp\arduino_modified_sketch_489817/ReplyKeyboardMarkup.ino line 111 0x4020838c: loop_wrapper() at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\cores\esp8266/core_esp8266_main.cpp line 180 0x40100bfd: cont_wrapper at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\cores\esp8266/cont.S line 81

witnessmenow commented 4 years ago

That is really odd, is this still a problem?