Hi @Application error ,
I looked at your logs attachment. It appears that WEBSITES_PORT you've configured for 5000. Try removing this setting from your application settings. I see that your app is binding port 8372. Port 5000 is normally configured for local development but unless you're using a docker container image that's using EXPOSE 5000
, you shouldn't need this setting. I believe that's what's causing your application to not start up.
Also, app service will look for these files for starting your application. I'm assuming you have an app.py
file based on the attached log file, but if that's not case, adjust your startup command to be gunicorn --bind=0.0.0.0 --timeout 600 <your-startup-file>:app
. Another thing to do is enable application logging and check your deployment logs to ensure your pip install -r requirements.txt
ran without issue.
If after removing the WEBSITES_PORT app setting and confirming your startup command is correct, please comment below with additional logs.
Regards,
Ryan