-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autarc_LAN_User_Stats stopped working after +-12 h #62
Comments
I think I will do a long term test with opened Arduino IDE Serial Monitor attached. |
If I'm right, |
|
Currently the tracker is functioning about 24h in a row! |
I think I found the reason for this problem: The Apache server crashed tonight and around the same time the tracker completely stooped to work. So this seem to crash the tracker. Can could that be solved by an timeout on the client that stops waiting after let's say 1-2 minutes when the server does not respond? |
Great! |
Oh! I'll see! It's a recursive function! Probably we have a buffer overflow after to many fails! |
Can you check it again please? |
I will check it soon. Not sure when. Maybe tomorrow. Thanks for fixing it! |
Have you checked yet? |
I think it worked. The tracker is still running, but I'm currently not sure on which firmware... |
While doing the first real world test the setup stopped working after about 12-14 hours.
@PcTim suggests it might be connected to the DHCP renewal. I think this could be solved by calling
Ethernet.maintain();
http://www.arduino.cc/en/Reference/EthernetMaintain every some hours. Or maybe when starting a new IP scan loop.Another idea was that it stopped working because of some memory overflow.
The text was updated successfully, but these errors were encountered: