Build is successful but deployment fails. Events show timed out error

I am having trouble deploying my portfolio. It is a flask app and it gives a successful build message but the deployment fails. the Events show a timed out error. How can I get my portfolio to deploy.

Hi,

You’ve not provided much detail here, there’s usually something in the deploy logs to give a clue about the issue.

If your service is building successfully but then failing, it sounds like your web server may not be configured properly. A common issue is having the web server start on 127.0.0.1, this won’t work, and should be configured to start on 0.0.0.0. The port should be detected, but the Web Service default is 10000, which is also available in the PORT env var.

Alan

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.