gilmaimon / ArduinoWebsockets

A library for writing modern websockets applications with Arduino (ESP8266 and ESP32)
GNU General Public License v3.0
482 stars 97 forks source link

Client always disconnects after about 30 seconds #119

Closed danspage closed 3 years ago

danspage commented 3 years ago

I'm currently running a simple example code on an ESP32, connecting to a local server that runs on python via its websockets library (that code here). The code on both ends is very simple, just an echo server and an ESP32 sending the message "Hello!" to it every 100 millis. For some reason though, the ESP always disconnects from the server after about 30 seconds of messages being sent back and forth. Unfortunately there seems to be no error on either end of the system, which has me a little stumped, it's just straight up disconnected messages. Any chance anyone's had a similar issue?

Thanks