things4u / ESP-1ch-Gateway

Version 6 of the single channel gateway
MIT License
364 stars 147 forks source link

reboot in loop after two weeks #14

Closed Jamiro75 closed 4 years ago

Jamiro75 commented 4 years ago

Hi there i've tested this gw, for about two weeks but last day is not working i'was in loop reboot, i've try to re-upload the code but is the same, reboot and not woking, another sketch es ttnmapper is working ... below the error mesage:

readConfig:: Starting 00:20:00.342 -> .SSID= ** 00:20:00.375 -> .PASS= **** 00:20:00.375 -> .CH= 0 00:20:00.375 -> .SF= 7 00:20:00.375 -> .FCNT= 0 00:20:00.375 -> .DEBUG= 1 00:20:00.375 -> .PDEBUG= 64 00:20:00.375 -> .CAD= 1 00:20:00.375 -> .HOP= 0 00:20:00.375 -> .NODE= 0 00:20:00.375 -> .BOOTS= 2 00:20:00.375 -> .RESETS= 0 00:20:00.375 -> .WIFIS= 30 00:20:00.375 -> .VIEWS= 41 00:20:00.375 -> .REFR= 1 00:20:00.375 -> .REENTS= 0 00:20:00.375 -> .NTPETIM= 1579007021 00:20:00.375 -> .NTPERR= 10 00:20:00.375 -> .NTPS= 57 00:20:00.375 -> .FILEREC= 25 00:20:00.375 -> .FILENO= 1 00:20:00.375 -> .FILENUM= 1 00:20:00.375 -> .DELAY= 0 00:20:00.375 -> .TRUSTED= 1 00:20:00.375 -> .EXPERT= 0 00:20:00.375 -> .SEEN= 1 00:20:00.375 -> .MONITOR= 0 00:20:00.375 -> readConfig:: Fini 00:20:00.375 -> 00:20:01.169 -> assertion "offset == dataSize" failed: file "/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_storage.cpp", line 438, function: esp_err_t nvs::Storage::readMultiPageBlob(uint8_t, const char, void*, size_t) 00:20:01.202 -> abort() was called at PC 0x40127e6f on core 0 00:20:01.202 -> 00:20:01.202 -> Backtrace: 0x4008cc2c:0x3ffaf8b0 0x4008ce5d:0x3ffaf8d0 0x40127e6f:0x3ffaf8f0 0x40108a31:0x3ffaf920 0x40108a9c:0x3ffaf9a0 0x40107b62:0x3ffafa00 0x40108099:0x3ffafa40 0x40117bf7:0x3ffafa60 0x40117dcf:0x3ffafab0 0x40115e16:0x3ffafad0 0x40112a86:0x3ffafaf0 0x4008fd7b:0x3ffafb10 0x40089341:0x3ffafb50 00:20:01.259 -> 00:20:01.259 -> Rebooting... thanks in advantage Simone.

Jamiro75 commented 4 years ago

Hi there i've tested this gw, for about two weeks but last day is not working i'was in loop reboot, i've try to re-upload the code but is the same, reboot and not woking, another sketch es ttnmapper is working ... below the error mesage:

readConfig:: Starting 00:20:00.342 -> .SSID= ** 00:20:00.375 -> .PASS= **** 00:20:00.375 -> .CH= 0 00:20:00.375 -> .SF= 7 00:20:00.375 -> .FCNT= 0 00:20:00.375 -> .DEBUG= 1 00:20:00.375 -> .PDEBUG= 64 00:20:00.375 -> .CAD= 1 00:20:00.375 -> .HOP= 0 00:20:00.375 -> .NODE= 0 00:20:00.375 -> .BOOTS= 2 00:20:00.375 -> .RESETS= 0 00:20:00.375 -> .WIFIS= 30 00:20:00.375 -> .VIEWS= 41 00:20:00.375 -> .REFR= 1 00:20:00.375 -> .REENTS= 0 00:20:00.375 -> .NTPETIM= 1579007021 00:20:00.375 -> .NTPERR= 10 00:20:00.375 -> .NTPS= 57 00:20:00.375 -> .FILEREC= 25 00:20:00.375 -> .FILENO= 1 00:20:00.375 -> .FILENUM= 1 00:20:00.375 -> .DELAY= 0 00:20:00.375 -> .TRUSTED= 1 00:20:00.375 -> .EXPERT= 0 00:20:00.375 -> .SEEN= 1 00:20:00.375 -> .MONITOR= 0 00:20:00.375 -> readConfig:: Fini 00:20:00.375 -> 00:20:01.169 -> assertion "offset == dataSize" failed: file "/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_storage.cpp", line 438, function: esp_err_t nvs::Storage::readMultiPageBlob(uint8_t, const char, void*, size_t) 00:20:01.202 -> abort() was called at PC 0x40127e6f on core 0 00:20:01.202 -> 00:20:01.202 -> Backtrace: 0x4008cc2c:0x3ffaf8b0 0x4008ce5d:0x3ffaf8d0 0x40127e6f:0x3ffaf8f0 0x40108a31:0x3ffaf920 0x40108a9c:0x3ffaf9a0 0x40107b62:0x3ffafa00 0x40108099:0x3ffafa40 0x40117bf7:0x3ffafa60 0x40117dcf:0x3ffafab0 0x40115e16:0x3ffafad0 0x40112a86:0x3ffafaf0 0x4008fd7b:0x3ffafb10 0x40089341:0x3ffafb50 00:20:01.259 -> 00:20:01.259 -> Rebooting... thanks in advantage Simone.

i've try to format the SPIFFS, but nothing, then i've try to erase the entire flash and the problem is SOLVED, i thing that the log file and other have saturated the memory