Is Kudu down?

Robert H:ius 0 Reputation points

Since at least yesterday, I cannot access Kudu for my app service or any of its slots. The service itself runs as usual, I can even restart and redeploy it, but I cannot SSH into it or access https://[my-app] (it gives HTTP 502). In the resource explorer, my application has state = "Running" and scmSiteAlsoStopped = false. I cannot access the application logstream either:

Exception in thread Thread-1 (_get_log):
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/", line 1016, in _bootstrap_inner
  File "/opt/az/lib/python3.10/", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/appservice/", line 2812, in _get_log
    raise CLIError("Failed to connect to '{}' with status code '{}' and reason '{}'".format(
knack.util.CLIError: Failed to connect to 'https://[my-app]' with status code '502' and reason 'Bad Gateway'
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,946 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. brtrach-MSFT 8,066 Reputation points Microsoft Employee

    @Robert H:ius I just checked internally, and I am not seeing any other reports of issues with KUDU.

    The fact that both KUDU and application logstream are not working is a likely indication that there has been a firewall rule put in place to block external traffic from hitting your app service. Both of these features require access to the internet, or you need to add your apps outbound IP addresses to your firewall's allow list.

    Can you please check and verify that there is nothing from a firewall perspective blocking your app?

  2. brtrach-MSFT 8,066 Reputation points Microsoft Employee

    @Robert H:ius With being on forums, our insights into your app's Azure configuration and external configuration (your network) are limited. With that said, we can suggest a few items for you to check.

    1. Navigate to
    2. Select your web app
    3. Navigate to the networking blade
    4. Check the access restriction feature. Make sure there isn't anything here such as, which would block internet access.

    If there are no access restrictions in place, I would suggest scaling your web app up to see if this resolves the issue.

    1. Select the scale up blade
    2. If you're using something like a standard S1, try selecting the standard S2 and then click the 'select' button.
    3. Wait a few minutes and then see if you are able to access kudu

    Let us know the outcome of the above steps.