fossasia / visdom

A flexible tool for creating, organizing, and sharing visualizations of live, rich data. Supports Torch and Numpy.
Apache License 2.0
9.99k stars 1.14k forks source link

ERROR:tornado.application:Uncaught exception POST /events (127.0.0.1) #934

Open linnuo520 opened 4 months ago

linnuo520 commented 4 months ago

I have recently encountered an issue while using Visdom for data visualization, specifically receiving frequent WebSocketClosedError errors when attempting to send data to the client via WebSocket. The problem seems to arise when attempting to write a message to the WebSocket connection, only to find that the connection has already been closed. The detailed error trace is as follows:

image

Given this context, I have several inquiries seeking your assistance:

Are there known scenarios or configuration issues that could lead to unexpected closure of WebSocket connections during data transmission? Are there any recommended best practices or configuration adjustments to enhance the stability of WebSocket connections?