Issue with: WebsocketConnection WebSocket onerror

If you’re creating a debugging post, please include the following info:

  1. Are you running your app locally or is it deployed? - Local
  2. If your app is deployed:
    a. Is it deployed on Community Cloud or another hosting platform?
    b. Share the link to the public deployed app.
  3. Share the link to your app’s public GitHub repository (including a requirements file).
  4. Share the full text of the error message (not a screenshot).
  5. Share the Streamlit and Python versions.

Hi folks,

The situation is the following:

I do have a local application that was working until last Friday (08/11/2024), application with streamlit version 1.26, that for some unknow reason today is not working with the following error message: (Websocket failure: failed to read a websocket message from the server: read tcp [::1]:54198->[::1]:8080: use of closed network connection\r\n").

I didn’t change anything on the code, but the error is occurring.

I did tried to go back a version (1.11) in which the error didn’t occur, but, there are key features that this version doesn’t cover, so in the same case my application won’t work as intended.

I saw that there are some old posts with some similar error, but I’m not using nginx, only running the basic streamlit and thats it.

I appreciate in advance.

Thiago Poletto