Relative Content

Tag Archive for herokuwebsocketdeploymentstreamlit

Streamlit Deployment with Websocket Server

I am trying to deploy a streamlit app and a websocket server on Heroku and I have been able to successfully do the same. However, the error occurs once I have made the deployment. When I open the Heroku app and check the logs from both the dynos (I have 2 dynos: web and worker). The worker dyno runs the websocket server. According to the logs the web application is unable to send any requests to the websocket server. I have also confirmed that the address I am connecting to in the app is the correct one. Please let me know where I am going wrong given this is the first deployment I am making.