Hello @Muralidharan, Chetana ,
I am not a python expert, you may need to increase the timeout using the startup file please refer Flask startup section from https://learn.microsoft.com/en-us/azure/developer/python/tutorial-deploy-app-service-on-linux-04
and also make sure that the Configuration->General Settings->Always On Set to "On"