Hello,
Am trying to deploy and run a webapp on Azure based on Python 3.10.
The deployment is from Visual Studio Code and it works seamlessly. However, when I run the app based on the command:
python -m streamlit run Dashboard.py --server.port 8000 --server.address 0.0.0.0.
it fails saying it could not create websockets.
WebSocket connection to ‘wss:// < default domain > /stream’ failed:
We enabled websockets via:
az webapp config set --web-sockets-enabled true --name MyAppName --resource-group MyResourceGroup
(The documentation says Linux boxes on the B1 tier should have it on already)
The app is SSO enabled.
Tried a few other combinations like disabling HTTPS only, setting CORS to false, etc . Nothing has helped.
Any ideas?