Markus
Markus
are you still able to ping the ESP via the ENC28J60 when this happens?
what I where trying to check with this is if the ENC28j60 is still working and communicating with the ESP. ping will only work when the ENC28j60 sends the data...
ok strange the log shows that the Websocket code sends a ping and the ENC says it has send it, but after 5 pings and no pongs the code declares...
the latest version is 2.3.5. can you enable the debug output to get more details?
for http querys you can use: https://github.com/espressif/arduino-esp32/blob/master/libraries/HTTPClient/examples/BasicHttpClient/BasicHttpClient.ino https://github.com/espressif/arduino-esp32/blob/46d5afb17fb91965632dc5fef237117e1fe947fc/libraries/HTTPClient/src/HTTPClient.h#L196 feel free to create a PR for the `setExtraHeaders` change.
not sure why you need to store the IP, but you can call `remoteIP` with the client num to get the IP of a connected client any time you need...
setting the define in you ino will not set it globally for the compile, if you using the limited arduino IDE the only way is to edit https://github.com/Links2004/arduinoWebSockets/blob/a14b6b73b4f05e189ca49d6e84202c2b55db528a/src/WebSockets.h#L117 if you...
if you fragment it, yes (fragmentation is needed since you can not load the full 1MB in to the RAM at once)
can you try with the latest master? this looks like its may the same as https://github.com/Links2004/arduinoWebSockets/issues/611
so you are on the `master` branch? since based on the log you dont have the EIO=4 detect fix. https://github.com/Links2004/arduinoWebSockets/blob/a484da47ed01609fc4e2be5fdc9608cc9baf7029/src/SocketIOclient.cpp#L69-L74