VNET + App Service Container (Linux) won't start

Cristian Bude 21 Reputation points


I'm trying to run an Linux container App Service with a VNET integration. The app service starts without any issue when the VNET integration isn't activated. I use WEBSITE_PORT to expose port 8080 for which my Keycloak container is running on. Everything works fine until I activate the VNET integration. When the VNET integration is active the App Service suddenly stops responding to health checks and gets a timeout and refuses to start. However in the log stream I can see that the app has started in the background well before the timeout was triggered.

Has anyone else experienced this issue and have you been able to solve it?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,342 questions
{count} votes

Accepted answer
  1. Ryan Hill 26,951 Reputation points Microsoft Employee

    For the benefit of the broader community, I configured a Web App for Containers on an S1 plan using jboss/keycloak:latest image and added to a VNET with Route All enabled. The web app was still able to respond to request. As a workaround, @Cristian Bude deployed his app as a pure java app to a Web App and is working as expected.

    0 comments No comments

0 additional answers

Sort by: Most helpful