arduinoWebSockets
arduinoWebSockets copied to clipboard
WiFiClient.cpp:517 flush(): fail on fd 48, errno: 11, "No more processes"
Hello, I give a try with WebSocket on ESP32 TTGO, I always get the following error then disconnected.
[232048][E][WiFiClient.cpp:517] flush(): fail on fd 48, errno: 11, "No more processes"
[WSc] Disconnected!
On the server side (Node-RED) I do receive message (and Node-RED node indicate "connected")
"GET /ws/pixels HTTP/1.1" 101 0 "-" "arduino-WebSocket-Client"
My code query my server the following way :
webSocket.begin("server.address", 80, "/ws/pixels");
webSocket.onEvent(webSocketEvent);
webSocket.setReconnectInterval(5000);
I have an NGINX that forward the request from 80/443 to the node I follow node-red documentation for websocket.
I have the exact same issue. My code didn't work so i reduced it to the example esp32 websocket client code and i'm still getting the same error. my own endpoint or even wss://socketsbay.com/wss/v2/1/demo/ . It seams like as basic as it gets it wont work. (I'm using a espressif esp32 wrover-e module).
Hello @JpEncausse ,
Thank you for adding this error, I am also facing the same issue.
Have you got any solution for the said problem?
No I didn't find the answer it seems to be in a core library. My only chance is pulling with HTTP Request every x seconds :-( (like a long pulling) but it's kludge.
Hi, on my LilyGO + ETH-POE, I also got the same problem with WS Server, specially when my phone with WS client, move from 4G network to WiFi network
Same here. No solution?