Skip to content

WebSocket Server will not accept new clients after running for a long while (ESP32) #314

Open
@JacoFourie

Description

@JacoFourie

Hi all.

I have been using this library for a while now and all works 100%. I did pick up something new and that is if the ESP32 has been running for a long time like more than 5 days the websocket server will not accept any new connections. Those connections that are still there will work. But as soon as you try to refresh a browser or try a new one the client will not connect. Why would that be and how can I reset the server? If there is a way to reset the server let say once a day then I will do that to see if it fixes the issue (Should I just issue a begin and set the callback again on a daily basis ?). The network is fine as I send data via MQTT as well and that still works fine.

Here is the ESP32 using this lib in action

https://www.youtube.com/watch?v=jYnhPLxoM1k&t=6s

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions