Random streamlit app crashes with error Failed to process a Websocket message (AxiosError: Request failed with status code 404)

Running my Streamlit application (1.39) in snowflake and it is crashing on a fairly frequent basis with the error:
Failed to process a Websocket message (AxiosError: Request failed with status code 404)

It can happen on any page, at any point in the navigation, and it doesn’t seem to be related to any code or logic on any specific page. After the crash, I have to hit refresh, or back to leave the app, and then reenter the application.

Is anyone else encountering this?

2 Likes

Yes, facing the same issue.

yes, I’m also facing same issue. Any solution for this?

same issue.

Same issue here Connection error

Failed to process a Websocket message (AxiosError: Request failed with status code 404)

Any solutions shared?