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 https://ask.replit.com/c/help/13 and a staff member will take a look.

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

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 (0.0.0.0)

2024-04-23 19:16:34.08 * Running on http://127.0.0.1:8080

2024-04-23 19:16:34.08 * Running on http://169.254.8.1:8080

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 - https://replit.com/@celeritas78/Folio

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

[[ports]]
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.

3 Likes

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