OpenHands
OpenHands copied to clipboard
Automatic reconnection after websocket disconnects
What problem or use case are you trying to solve?
Client websocket always disconnected
Describe the UX of the solution you'd like
Do you have thoughts on the technical implementation?
Maybe autodetect the connection status and reconnect the server
Describe alternatives you've considered
Additional context
Error sending data to client Error sending data to client Client websocket disconnected (<CloseCode.ABNORMAL_CLOSURE: 1006>, None) INFO: connection closed
Got the same error, WSL2 under Windows 11 using GPT4 API
"Error sending data to client" shows up for me after a few Steps. I see more steps being performed once this happens, but from then on, the UI no longer updates.
Environment is WSL2, Windows 11, using Ollama model
Fixed now!