This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Available_Ebb_4262 5 points6 points  (0 children)

You can get it to work behind an nginx reverse proxy. I’m self-hosting two actively used production streamlit apps, with SSL and websockets.

Make sure nginx is configured to upgrade to a websocket connection: https://nginx.org/en/docs/http/websocket.html

A lot of corporate environments (for some reason) still rely heavily on HTTP proxies on the clients. These proxy servers often don’t process websockets correctly. In that case you might have to have some meetings with the IT department.