My problem in short:
My application is to read sensors and send that data to a Sensor, my sketch is very similar to the PatchubeClient sketch. The software is running on an Arduino Mega2560 with an µSD Ethernet Shield. Everything seems to work fine but after 3 days of operation (my sketch sends every 30 seconds) the server didn’t get any new data. After a Reset of the Arduino it worked for five days (more than 10,000 data entries logged on the server), then it stopped working again.
I am suspecting some functions of the Ethernet Client class to hang on some specific exceptions, but knows somebody better? I dont think the rest of the code could be wrong, because it is very basic(not much more than some analogRead() function calls). It is frustrating to see your sketch hang and because I don’t know what I can do about it.