Network Configuration and Instance Stopping

App Type: Flask Application
Deployment Command: Using gunicorn run:app in Procfile

Problem Description: My Flask application deployed on Koyeb is failing to start properly. The instance is created, but it encounters network configuration issues and then stops. The logs show the following:

Deployment Logs:

Instance created. Preparing to start...
Failed to propagate the network configuration. If the error persists, try to redeploy or contact us.
Instance is starting. Propagating network configuration...
Network configuration propagated
Instance is stopping

What I’ve Tried:

  • Redeploying multiple times.
  • Confirming gunicorn is correctly set up in requirements.txt and Procfile.

Expected Behavior:

The instance should start successfully, and the application should be accessible.

Actual Behavior:

The instance fails to fully start and stops after failing to propagate the network configuration.

Request:

  • Insights on why the network configuration is failing.
  • Any troubleshooting steps or known solutions to resolve this issue.

Thank you in advance for your help!