Hello, since last month, I have been experiencing frequent automatic disconnection errors when using Websocket to connect to my server on ESP32C3. The error message is as follows: E (84615472) transport_ws: Error read data(0)
E (84615472) transport_ws: Error reading payload data(0)
E (84646412) transport_base: tcp_read error, errno=Software caused connection abort
E (84646412) transport_ws: Error read data(-2)
E (84646413) websocket_client: esp_transport_read() failed with -2, transport_error=ESP_OK, tls_error_code=0, tls_flags=0, errno=113
E (84646445) websocket_client: Error receive data
app: Moonraker WS:disconnected...
app: Moonraker WS finish...
E (84646493) transport_ws: Error transport_poll_write(-1)
E (84646494) websocket_client: esp_transport_write() returned -1, transport_error=ESP_OK, tls_error_code=0, tls_flags=0, errno=9
app: Moonraker WS:---ERROR!!! ... !!! ... !!!
app: Moonraker WS http_code: 0
app: Moonraker WS error_type: 1
app: Moonraker WS tls_last_esp_err: 0x0
appt: Moonraker WS tls_stack_err: 0x0
app: Moonraker WS esp_sock_errno: 0 (Success)
app: WS_ERROR_UNKNOWN
app: Moonraker retry WS_ERROR_UNKNOWN...
E (84646555) websocket_client: esp_websocket_client_abort_connection(258): Websocket already stop
This really confused me. I guess it might be due to some fluctuation in my network connection or because after connecting to the server, the server would send hundreds of bytes of data every second, causing the connection to time out?
If there are any new developments, feel free to contact me. I'm willing to do something about it.Wish everyone a wonderful day!
Answers checklist.
General issue report