We are deploying a streamlit webapp on Azure, and getting a perpetual “Please wait” message on the webpage.
This web application is working fine on a local computer with localhost. The application is also getting built successfully on Azure container deployment. However, when we open the URL, we see a please wait error message.
We attempted to follow instructions in this streamlit knowledge-base document to resolve the issue, but the advise hasn’t worked. This included …
- Changing port numbers.
- Flipping ‘server.enableCORS’ from true to false in config.toml file.
- Changing ‘server.enableWebsocketCompression’ from true to false in config.toml as well.
- Checking to ensure we have a valid SSL certificate.
We also attempted streamlit package update to latest version, but the effect was worse (streamlit failed to launch with an error message telling us to look at diagnostics, which we couldn’t find easily).
We noticed that in developer tools in chrome that “stream” websocket type perpetually says “Pending”.
Is there a log file where we can see what is the reason streamlit is stuck at Please Wait? Any other suggestions to try?