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…”
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.