I am not quite sure if this is the right place to ask this question but I hav been trying for weeks now to solv it and Í definitly need help.
The project I am working on is a data collection procedure with three ESP 32, one asking for data and two answering. The asking is using HTTPClient and the two ansering is using ESPAsyncWebServer.
The problem is that the asking client crashes in an unpredictable manner. Sometimes it reboots a couple of times before working correct, sometimes i strarts right from the beginning (not often) and sometimes it reboots after a while. I just cant get sense in it.
The first attached file is the asking (client) and the second one of the answering.
There are some other code in the files but I beleive you can see what is what.
So, the problem is; Memory leak, bad connections, faulty programming, hardware fault or something else.
Kyrkeledet_WiFI_client_datainsamling.ino (3.7 KB)
VhusTempRH.ino (1.51 KB)