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’