Deployment issue and stops at promote in autoscale

Getting this error when deploying the project

2024-04-23T13:47:59Z error: The deployment failed to initialize due to a configuration or code error. Check the logs tab for more information. For additional support, please post on and a staff member will take a look.

Hi @celeritas78 , welcome to the forums!
Can you send the full logs to your deployment?

2024-04-23 19:16:34.08 Press CTRL+C to quit

2024-04-23 19:16:34.08 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

2024-04-23 19:16:34.08 * Running on all addresses (

2024-04-23 19:16:34.08 * Running on

2024-04-23 19:16:34.08 * Running on

Are you using Autoscale Deployments?

1 Like

“Deployment issue and stops at promote in autoscale”

1 Like

Does it work in development?

Could you also send the link to your repl?

here it is -

Try removing all of the [[ports]] sections from your .replit file, and re-run the repl.
Or, replace all with this:

localPort = 8080
externalPort = 80

You can access the .replit file, by first clicking on the three dots () next to where it says Files >, then click Show Hidden Files, finally open the .replit file.

Helpful Images

Hi @celeritas78 I just forked your Repl and it seemed to deploy successfully on Autoscale. Did @NateDhaliwal 's advice help? If so, please feel free to mark the response above as the solution!

1 Like

thanks for checking. The above solution of changing the ports didn’t work. I am trying a different code now and this one deployed. So not sure what the issue was.


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