Huzzah32 Webserver crashes after a day or so
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- JoshuaDR
- Posts: 2
- Joined: Sun May 29, 2022 4:43 am
Huzzah32 Webserver crashes after a day or so
I have an esp32 running a websocket server using the async library. The server is rather simple in the fact that it just monitors the status of inputs and some sensors. The webserver works great, everything updates as it should in real-time. However, after a day to a couple of days when I connect to the webserver it is unavailable. When I power cycle the esp32 it goes back to working great with the same ip address. Any thoughts on what would be causing the server to crash?
- dastels
- Posts: 15674
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Huzzah32 Webserver crashes after a day or so
What language are you programming in?
Dave
Dave
- JoshuaDR
- Posts: 2
- Joined: Sun May 29, 2022 4:43 am
Re: Huzzah32 Webserver crashes after a day or so
I am using Arduino so C++ using the async web server library
- dastels
- Posts: 15674
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Huzzah32 Webserver crashes after a day or so
Are you doing any logging to see what's happening? A memory leak is my first thought.
Dave
Dave
Please be positive and constructive with your questions and comments.