Apologies for any inconvenience with this issue and my delayed response from over the weekend.
Do you recall making any changes prior to this issue?
Have you observed this behavior since the Webapp first deployment or started seeing this more recently? What App Service Plan are you using?
I understand, a restart fixes the problem, and the issue is sporadic. Please try the following steps to fetch more info:
- You may leverage App Service diagnostics from Azure Portal> Navigate to your App Service app in the Azure Portal. (screenshot below)
-- In the left navigation, click onDiagnose and solve problems
- Review - “Configuration and Management and “Availability and Performance” options. - Navigate directly to https://<app-name>.scm.azurewebsites.net/api/logs/docker for the Docker logs.
Also, kindly check diagnostic logs troubleshoot-diagnostic-logs for more info - Review Service Health notification info. Kindly let us know how it goes, I'll follow-up further with you.