0xagil / WhatsApp-Online-Status-Monitor

📱 Track WhatsApp contacts' online activity in real-time. Get notifications, view history, and analyze patterns. Open-source, privacy-focused tool.
11 stars 0 forks source link

When a stop and restart ocurre, we lose the tracking #3

Open Rantun opened 1 month ago

Rantun commented 1 month ago

When happen something like "[Client/Socket ERROR] Error closing websocket: tls: failed to send closeNotify alert (but connection was closed anyway): write tcp [2800:300:6f31:d730:1876:2c0d:65c:415a]:49273->[2a03:2880:f247:c6:face:b00c:0:167]:443: write: broken pipe" and you stop and restart the program... you lose all the tracking data.. is possible to have an saving data every 5 minutes in a csv or restore the old data?

Rantun commented 1 week ago

hello again, the same thing keeps happening, after several hours of running, the application has the following error.. 21:40:59.308 [Client/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF.... and then when restarting, all data is lost.

Rantun commented 1 week ago

add this little routine to the status.html page to generate the output csv file for the contacts you select... it's not very elegant, but it's functional. Insert this code inside the HTML file, just before the tag.