Failed to process a Websocket message

Hi,

I deploy my streamlit application in a docker container. The docker image build was successful.

While I run the docker container, I get the below error message in the browser on the first launch.

After I click on “Done” in the error screen, the screen goes blank with a error saying “Unable to connect to streamlit server” as shown in the below image.

Once I refresh the page the error vanishes and application loads without any issue.

This initial error creates issue while deploying on the server. Could anyone help to get rid of this issue.

Thanks.