I’m trying to reach my streamlit app which is deployed in a docker container behind a load balance and nginx.
So, to reach this application a dynamic route is created, the base url to reach application is something like https://base.url.com/app-65
But I’m facing the following error from my browser console :
WebSocket connection to ‘wss://base.url.com/stream’ failed: Error during WebSocket handshake: Unexpected response code: 200
Here I think that this error is due of the base url from the websocket which is wrong.
Is there any way to change the base url for websocket ?
Like from ‘wss://base.url.com/stream’ to ‘wss://base.url.com/app-65/stream’
This means that when we release Streamlit 0.49.0 in a few days you’ll be able to fix this by setting the following config option in ~/.streamlit/config.toml: