Huzzah32 Webserver crashes after a day or so

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
JoshuaDR
 
Posts: 2
Joined: Sun May 29, 2022 4:43 am

Huzzah32 Webserver crashes after a day or so

Post by JoshuaDR »

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?

User avatar
dastels
 
Posts: 15667
Joined: Tue Oct 20, 2015 3:22 pm

Re: Huzzah32 Webserver crashes after a day or so

Post by dastels »

What language are you programming in?

Dave

User avatar
JoshuaDR
 
Posts: 2
Joined: Sun May 29, 2022 4:43 am

Re: Huzzah32 Webserver crashes after a day or so

Post by JoshuaDR »

I am using Arduino so C++ using the async web server library

User avatar
dastels
 
Posts: 15667
Joined: Tue Oct 20, 2015 3:22 pm

Re: Huzzah32 Webserver crashes after a day or so

Post by dastels »

Are you doing any logging to see what's happening? A memory leak is my first thought.

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”