I tried all the fixes in the troubleshooting page but the solutions did not work. I am seeing the following error:
main.a776e35c.chunk.js:1 WebSocket connection to ‘ws://34.X.X.X:8501/stream’ failed: Error during WebSocket handshake: Unexpected response code: 403. Very similar to @razor.
this also suddenly started for me, it was working one moment and it didn’t the next (I didn’t upgrade any packages or install anything) and restarting didn’t help.
I should have been more clear- I was trying to deploy behind a load balancer running http-proxy, which doesn’t support websockets. Not sure if this is the case for you, but definitely check if it is. Hope this helps!
A year later I’m still experiencing issues when I deploy to EC2. I’ve gone through the FAQ again, but still couldn’t find a permanent solution to the issue
I tried all the troubleshooting things here App is not loading when running remotely - Streamlit Docs and no luck. I’m behind a proxy. It works on most machines, 2 computers and 2 iphones, but it doesn’t work on 2 other iphones, so it is some kind of weird something or other. It just says “Please wait…” on those two unlucky phones.
I am having the same problem here. Nginx is serving my streamlit app trough reverse proxy and it works fine in desktop (Chrome and Firefox) but when I try to access it from an iPhone it gets stuck in “Please wait…”