esp-rfid icon indicating copy to clipboard operation
esp-rfid copied to clipboard

Web GUI stops working after a minuite or so

Open TomDrifter opened this issue 5 years ago • 3 comments

Heya, i am impressed with this project but have hit a issue i cant seem to fix.

when i boot the esp up i can log into the web gui easily, add cards, read events etc. but after about a minuite or so it seems to hang. the device still works fine with cards triggering the gpio i have set etc but events stop showing etc, pressing the restart button or unplugging and plugging back in resovles the issue for another minuite.

i have tried it as a access point and connected to my wifi to eliminate comms issues.

any help or what to check ? thanks

TomDrifter avatar Jan 20 '20 18:01 TomDrifter

ok so i have narrowed this down to mainly the event logs, comes up and hangs on "fetching data"

TomDrifter avatar Jan 21 '20 17:01 TomDrifter

Hi @TomDrifter , can you please tell us which hardware you are using and which version of the software and how you built it please ? (Downloaded from releases, dev/stable, version number, built with platformio etc.), the reason for my request being that there has been a lot of development in the last 6 months namely on logfiles and maybe you are using an older version? Many thanks.

frenchie71 avatar Jan 26 '20 16:01 frenchie71

hey, i'm having the same issue: cloned via platformio changed to v1.3.7 and added manually the 4h mqtt loss fix and changed some text to spanish in the frontend, eerytime i go to "log maintenance" and go back to access events, my nodemcu resets.

using nodemcu v0.9(i believe) and a mfrc522

EDIT: i changed to the dev branch, compiled the debug frimware, and got this on the terminal after going through "log maintenance"

[ INFO ] User Name: a3dae1e9 has admin access, enable wifimili : 28498
activating relay 0 now
28914
28514
400
0
deactivate relay after this
mili : 28915
[ INFO ] PICC's UID: a3dae1e9 MIFARE 1KB = known PICC
[ INFO ] User Name: a3dae1e9 has admin access, enable wifimili : 49562
activating relay 0 now
49977
49577
400
0
deactivate relay after this
mili : 49978
[ INFO ] PICC's UID: 50156f1e MIFARE 1KB = unknown PICC
[ INFO ] PICC's UID: 50156f1e MIFARE 1KB = unknown PICC
[ INFO ] PICC's UID: a3dae1e9 MIFARE 1KB = known PICC
[ INFO ] User Name: a3dae1e9 has admin access, enable wifimili : 77657
activating relay 0 now
78073
77673
400
0
deactivate relay after this
mili : 78074
[DEBUG] Log Maintenance Action: delete on /eventlog.json
[DEBUG] Log Maintenance Action: delete on /eventlog.json.1[DEBUG] Log Maintenance Action: delete on /eventlog.json.split.1
[DEBUG] Log Maintenance Action: delete on /eventlog.json.split.2
[DEBUG] Log Maintenance Action: delete on /latestlog.json
[DEBUG] Log Maintenance Action: delete on /latestlog.json.1

Exception (3):
epc1=0x40101524 epc2=0x00000000 epc3=0x00000000 excvaddr=0x40050801 depc=0x00000000

>>>stack>>>

ctx: sys
sp: 3fffebb0 end: 3fffffb0 offset: 01a0
3fffed50:  000029c0 00000021 00000020 40101716  
3fffed60:  000029c0 00000538 00000538 0000003a  
3fffed70:  00000000 0000003a 00000020 40101716  
3fffed80:  00002c68 0000058d 0000058d 40101454  
3fffed90:  4010197a 06bc4670 3fff40c4 40209afa  
3fffeda0:  00000000 3fff4274 00000020 401016df  
3fffedb0:  3fff41ec 00000001 00000001 00000000  
3fffedc0:  00000002 00000000 3fff5764 3fff5824  
3fffedd0:  3fff584c 3fff4274 00000000 0000003a  
3fffede0:  3fff40c4 0000003a 3fff578c 40209d3b  
3fffedf0:  01ff72d0 00000000 00000000 3fff5824  
3fffee00:  3fff584c 3fff4274 3fff5824 4020a735  
3fffee10:  00000069 00000039 3fff5824 4020ae30  
3fffee20:  01ff72ca 00000080 3fff2c6c 402487f8  
3fffee30:  00000039 3fffee70 3fff40c4 4020ae85  
3fffee40:  00000039 3fffee70 3fff40c4 4020845d  
3fffee50:  3fff2860 3fff3f64 3fff2859 3fff2874  
3fffee60:  3fff3f64 00000039 3fff40c4 40208b3e  
3fffee70:  3fff2c3c 3fff41ac 3fff57c4 3fff2874  
3fffee80:  3fff3f64 3fff2858 3fff2859 40249f0c  
3fffee90:  00002cc8 00000000 4bc6a7f0 00000000  
3fffeea0:  3fff29e0 2900a8c0 0001ba99 3fff31bc
3fffeeb0:  00000000 00000000 00000020 3fff2a90  
3fffeec0:  3fff29e0 3fff57e2 3fff57c4 4024fac6  
3fffeed0:  00000014 3fff29e0 00000036 4025082c  
3fffeee0:  00000000 0001ba54 3fff2850 4024a65c  
3fffeef0:  4029a504 021bdc57 3ffeee08 3fff31bc  
3fffef00:  00000008 3fff29e0 3fff57c4 40246a2d
3fffef10:  3fffdc80 3fff311c 3fff57e4 4024684c  
3fffef20:  4027061e 3fff311c 3fff57e4 4027062f
3fffef30:  3fff57d4 3fff57c4 00000000 3fffdcb0  
3fffef40:  3fff0720 00000000 3fff57e4 4026be27  
3fffef50:  40000f49 3fffdab0 3fffdab0 40000f49  
3fffef60:  40000e19 40001878 00000002 00000000  
3fffef70:  3fffff10 aa55aa55 000000da 4010562d  
3fffef80:  40105633 00000002 00000000 a3534f4d  
3fffef90:  4010000d 0cf77ff3 e36ec703 ad0fb9dd
3fffefa0:  40264c04 3fffef3c 40264bb5 3ffffe48  
3fffefb0:  3fffffc0 00000000 00000000 feefeffe  
3fffefc0:  feefeffe feefeffe feefeffe feefeffe  
3fffefd0:  feefeffe feefeffe feefeffe feefeffe  
3fffefe0:  feefeffe feefeffe feefeffe feefeffe  
3fffeff0:  feefeffe feefeffe feefeffe feefeffe  
3ffff000:  feefeffe feefeffe feefeffe feefeffe  
3ffff010:  feefeffe feefeffe feefeffe feefeffe  
3ffff020:  feefeffe feefeffe feefeffe feefeffe  
3ffff030:  feefeffe feefeffe feefeffe feefeffe  
3ffff040:  feefeffe feefeffe feefeffe feefeffe  
3ffff050:  feefeffe feefeffe feefeffe feefeffe  
3ffff060:  feefeffe feefeffe feefeffe feefeffe  

NESforthis avatar May 28 '20 10:05 NESforthis