App stuck on blank page when setting up a reverse proxy on IIS

Hello everyone !

I created a Streamlit application and deployed it on a Windows server, successfully setting up the following IIS Reverse Proxy method :

IIS Reverse Proxy and Windows Authentication for Streamlit

On the server, the Streamlit app is accessible via an HTTPS link using a domain name. However, when accessing it from the another PC, the app starts but never fully loads.

To configure the proxy, I followed the tutorial, and everything seems to be set up correctly. Despite this, when I try to access the app remotely using the domain name, I encounter the following error in the browser console:

GET http://localhost:8502/
net::ERR_CONNECTION_REFUSED

App On the server loading through Https link :

App on other computers :

To rule out any issues with my app, I also tested with the default “hello” app, but the problem persists.

"C:\Python\python.exe" -m streamlit run "Path\to\app.py" --server.headless=true --server.enableCORS=false --server.enableXsrfProtection=false --server.enableWebsocketCompression=false

Thanks in advance for any help !

A blank screen typically indicates that the frontend website is unable to establish a WebSocket connection with the backend Streamlit server due to a configuration issue with the reverse proxy. Therefore, this error is related to the reverse proxy configuration rather than Streamlit itself.