Log stream not connecting when app service public access is off

Jimmy Anttila 20 Reputation points
2023-06-16T08:33:17.1133333+00:00

We have a bunch of app services in a virtual network running containers with linux as the OS. When we disable public access (Networking -> Inbound Traffic -> Access Restriction = ON), log stream stops working and is stuck on "connecting...". Turning public access back on everything works as expected. Is this by design?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,960 questions
0 comments No comments
{count} votes

Accepted answer
  1. Konstantinos Passadis 19,591 Reputation points MVP
    2023-06-16T09:23:34.1333333+00:00

    Hello @Jimmy Anttila !

    Welcome to Microsoft QnA!

    The behavior you are encountering is expected

    The log stream feature in Azure App Service relies on the App Service management endpoint to stream logs from the underlying container or web app. When public access is disabled, the log stream may be unable to establish a connection to the management endpoint, resulting in the "connecting..." message.

    In this case you can work with Private Endpoints

    https://learn.microsoft.com/en-us/azure/app-service/networking/private-endpoint

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.