I ran a streamlit hello page on a Ubuntu 24 server and tried to access it from local machine that was able telnet the server. The browser appears to be loading:
And the browser console keep getting this error
WebSocket connection to ‘ws://myserveraddr:myserverport/_stcore/stream’ failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET
Client Error: WebSocket onerror
This is my config.toml, i do not have a nginx proxy
[theme]
base=“dark”
primaryColor=‘red’
backgroundColor=“black”
secondaryBackgroundColor=“#000000”
textColor=“#ffffff”
[client]
toolbarMode = “developer”
[server]
enableCORS = false
enableXsrfProtection = false
enableWebsocketCompression = false
maxUploadSize = 1000
maxMessageSize = 200
[browser]
gatherUsageStats = false
Does anyone know the solution or experieced similar problem?
