Skip to content

Commit 3fe9677

Browse files
committed
Merge remote-tracking branch 'upstream/main' into AB#8618-Data-corruption-and-storage-replication-failures
2 parents 7d16ce1 + ae295f2 commit 3fe9677

13 files changed

Lines changed: 765 additions & 80 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: ASP.NET Core applications hosted in App Service stop responding
3+
description: This article provides guidance on addressing ASP.NET Core applications that are hosted in Azure App Service when they stop responding.
4+
author: JarrettRenshaw
5+
manager: dcscontentpm
6+
ms.topic: troubleshooting-general
7+
ms.date: 12/18/2025
8+
ms.author: jarrettr
9+
ms.reviewer: v-ryanberg
10+
ms.service: azure-app-service
11+
ms.custom: sap:Availability, Performance, and Application Issues
12+
---
13+
14+
# ASP.NET Core applications hosted in App Service stop responding
15+
16+
This article provides guidance on addressing ASP.NET Core applications that are hosted in Azure App Service when they stop responding. You might also see this message: "The specified CGI Application encountered an error and the server terminated the process."
17+
18+
## Symptom
19+
20+
ASP.NET Core applications that are hosted in App Service sometimes stop responding.
21+
22+
## Cause
23+
24+
A known issue with an earlier [Kestrel version](https://github.com/aspnet/KestrelHttpServer/issues/1182) might cause an ASP.NET Core 1.0 app that's hosted in App Service to intermittently stop responding.
25+
26+
## Resolution
27+
28+
This issue is fixed in Kestrel version 1.0.2. This version is included in the ASP.NET Core 1.0.3 update. To resolve this issue, make sure you update your app dependencies to use Kestrel 1.0.2. Alternatively, you can use one of two workarounds that are described in the blog post [ASP.NET Core 1.0 slow perf issues in App Service web apps](/archive/blogs/waws/asp-net-core-slow-perf-issues-on-azure-websites).
29+

support/azure/app-service/connection-issues-with-ssl-or-tls/troubleshoot-custom-domain-issues-azure-app-service.md

Lines changed: 340 additions & 0 deletions
Large diffs are not rendered by default.
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: An Attempt was Made to Access a Socket in a Way Forbidden by its Access Permissions Message
3+
description: This article discusses possible causes and solutions for the message "An attempt was made to access a socket in a way forbidden by its access permissions" in Azure App Service.
4+
author: JarrettRenshaw
5+
manager: dcscontentpm
6+
ms.topic: troubleshooting-general
7+
ms.date: 12/19/2025
8+
ms.author: jarrettr
9+
ms.reviewer: v-ryanberg
10+
ms.service: azure-app-service
11+
ms.custom: sap:Availability, Performance, and Application Issues
12+
---
13+
# "An attempt was made to access a socket in a way forbidden by its access permissions" message
14+
15+
This article discusses possible causes and solutions for the message "An attempt was made to access a socket in a way forbidden by its access permissions" in Azure App Service.
16+
17+
## Symptom
18+
19+
You see the message "An attempt was made to access a socket in a way forbidden by its access permissions."
20+
21+
## Cause 1
22+
23+
This error typically occurs if the outbound TCP connections on the virtual machine (VM) instance are exhausted. In App Service, limits are enforced for the maximum number of outbound connections that can be made for each VM instance.
24+
25+
## Solution 1
26+
27+
For more information, see [Cross-VM numerical limits](https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#cross-vm-numerical-limits).
28+
29+
## Cause 2
30+
31+
This error might also occur if you try to access a local address from your application.
32+
33+
## Solution 2
34+
35+
For more information, see [Local address requests](https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#local-address-requests).
36+
37+
## Resources
38+
39+
For more information about outbound connections in your web app, see the blog post about [outgoing connections to Azure websites](https://www.freekpaans.nl/2015/08/starving-outgoing-connections-on-windows-azure-web-sites/).
40+

support/azure/app-service/toc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ items:
1717
href: ./capture-memory-dumps-app-service.md
1818
- name: Availability, performance, and application FAQs
1919
href: web-apps-performance-faqs.md
20+
- name: An attempt was made to access a socket in a way forbidden by its access permissions message
21+
href: socket-forbidden-access-permissions-message.md
22+
- name: ASP.NET Core applications hosted in App Service stop responding
23+
href: asp-net-core-apps-stop-responding.md
2024
- name: Error 403 - This web app is stopped message
2125
href: error-403-web-app-stopped-message.md
2226
- name: Worker Process requested recycle due to Percent Memory limit message
@@ -63,6 +67,8 @@ items:
6367
href: ./connection-issues-with-ssl-or-tls/troubleshoot-domain-and-tls-ssl-certificates.md
6468
- name: Unable to configure custom domains on an app
6569
items:
70+
- name: Troubleshoot custom domain issues in Azure App Service for web apps on Windows and Linux
71+
href: ./connection-issues-with-ssl-or-tls/troubleshoot-custom-domain-issues-azure-app-service.md
6672
- name: Set up an existing custom domain
6773
href: /azure/app-service/app-service-web-tutorial-custom-domain
6874
- name: App Service Certificates

support/azure/virtual-machines/windows/windows-azure-guest-agent-tools-vmassist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ The following table lists the current checks and findings together with any pote
111111
| Check for binaries | Verifies that the guest agent .exe files (WindowsAzureGuestAgent.exe and WaAppAgent.exe) exist and is also used to help determine that the Guest Agent was installed.<br><br>If this check doesn't exist, it's likely that the guest agent has to be installed. |
112112
| Status of agent services | Verifies that the guest agent services (WindowsAzureGuestAgent and RdAgent) exist. Also used to help determine whether the guest agent was installed.<br><br>If this check doesn't exist, it's likely that the guest agent has to be installed. If it is installed, make sure that it's set to `Running` and that the StartType is `Automatic`. |
113113
| Status of `winmgmt` service | Verifies that the winmgmt service is running. |
114-
| Status of `KeyIso` service | Verifies that the `KeyIso (CNG Key Isolation)` service is running.<br><br> See [Needs to be Public](windows-azure-guest-agent#remote-procedure-call-rpc-issues---rdcrypt-initialization-failed). |
114+
| Status of `KeyIso` service | Verifies that the `KeyIso (CNG Key Isolation)` service is running.<br><br>See [Solution: Start the CNG Key Isolation service](windows-azure-guest-agent#solution-start-the-cng-key-isolation-service). |
115115
| Check if agent services/processes have crashed | This checks whether the Guest Agent services and processes have failed during the past day. If the incident is only a one-time event, it might not be important unless it occurs at the time when the issue is reported. However, if the services constantly fail, the incident must be investigated.<br><br>Start the investigation by looking in the WaAppAgent.log and system and application event logs. |
116116
| Checks if `stdregprov` is working | The VM agent MSI uses WMI StdRegProv to access the registry. If WMI isn't working correctly, the MSI can't set the RdAgent service path from the registry, and the MSI installation fails. <br><br> See [Guest Agent installation fails because of faulty WMI](windows-azure-guest-agent#guest-agent-installation-fails-because-of-faulty-wmi). |
117117
| Agent is installed | Returns True if the guest agent is installed. Otherwise, the guest agent has to be installed. |

0 commit comments

Comments
 (0)