WebSocket connection failed

I’m using Streamlit with two components, the AgGrid and streamlit-cookies-manager. My app works fine when run from Powershell or CMD window, but when run within a Docker container it often fails with the message:


and the console in the developer tools will have lots of errors of the form:

I’ve disabled CORS by adding the following to my ~/.streamlit/config.toml file:

enableCORS = false

but that didn’t help.

Thanks in advance.

– Rick


i have the same problem, help please. realice lo mismo y nada

I am also having this problem after deployment.

I have tried so many things to get streamlit app up, but not working with domain

I’m also getting the same error.