You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 500 | 1000 | There was some issue dispatching the request to IISNODE – Check if node.exe was started. Node.exe could have crashed when starting. Check your web.config configuration for errors. |
113
-
| 500 | 1001 | - Win32Error 0x2 - App is not responding to the URL. Check the URL rewrite rules or check if your express app has the correct routes defined. - Win32Error 0x6d – named pipe is busy – Node.exe is not accepting requests because the pipe is busy. Check high cpu usage. - Other errors – check if node.exe crashed. |
| 500 | 1003 | Pipe configuration Issue – The named pipe configuration is incorrect. |
116
-
| 500 | 1004-1018 | There was some error while sending the request or processing the response to/from node.exe. Check if node.exe crashed. check d:\home\LogFiles\logging-errors.txt for stack trace. |
117
-
| 503 | 1000 | Not enough memory to allocate more named pipe connections. Check why your app is consuming so much memory. Check maxConcurrentRequestsPerProcess setting value. If it's not infinite and you have many requests, increase this value to prevent this error. |
118
-
| 503 | 1001 | Request could not be dispatched to node.exe because the application is recycling. After the application has recycled, requests should be served normally. |
119
-
| 503 | 1002 | Check win32 error code for actual reason – Request could not be dispatched to a node.exe. |
120
-
| 503 | 1003 | Named pipe is too Busy – Verify if node.exe is consuming excessive CPU. |
121
-
122
104
# Troubleshooting Common Issues
123
105
124
106
## Hard coding the PORT
@@ -189,6 +171,38 @@ An example of an updated package.json start script file using PM2. Replace .bin/
189
171
```
190
172
To validate CPU usage, you can review the detectors under the App Service [Diagnose and Solve Problems](https://learn.microsoft.com/en-us/azure/app-service/overview-diagnostics) blade.
191
173
174
+
## NPM version conflict
175
+
176
+
If you run into an issue where you believe the conflict is due to the NPM version, you can test by updating the NPM version using the application setting <b>WEBSITE_NPM_DEFAULT_VERSION=desired-version</b>.
177
+
178
+
To validate the NPM version being used, you can run the below command within the SCM site debug console found here: <b>webapp-name.scm.azurewebsites.net/DebugConsole</b>
179
+
180
+
```sh
181
+
npm --version
182
+
```
183
+
184
+
To validate which versions of NPM are installed on your App Service plan, you can browse your application's SCM site and review the runtime versions here: <b>webapp-name.scm.azurewebsites.net/api/diagnostics/runtime</b>
185
+
186
+
Testing the behaviour locally to validate a conflict with a specific NPM version is best.
| 500 | 1000 | There was some issue dispatching the request to IISNODE – Check if node.exe was started. Node.exe could have crashed when starting. Check your web.config configuration for errors. |
197
+
| 500 | 1001 | - Win32Error 0x2 - App is not responding to the URL. Check the URL rewrite rules or check if your express app has the correct routes defined. - Win32Error 0x6d – named pipe is busy – Node.exe is not accepting requests because the pipe is busy. Check high cpu usage. - Other errors – check if node.exe crashed. |
| 500 | 1003 | Pipe configuration Issue – The named pipe configuration is incorrect. |
200
+
| 500 | 1004-1018 | There was some error while sending the request or processing the response to/from node.exe. Check if node.exe crashed. check d:\home\LogFiles\logging-errors.txt for stack trace. |
201
+
| 503 | 1000 | Not enough memory to allocate more named pipe connections. Check why your app is consuming so much memory. Check maxConcurrentRequestsPerProcess setting value. If it's not infinite and you have many requests, increase this value to prevent this error. |
202
+
| 503 | 1001 | Request could not be dispatched to node.exe because the application is recycling. After the application has recycled, requests should be served normally. |
203
+
| 503 | 1002 | Check win32 error code for actual reason – Request could not be dispatched to a node.exe. |
204
+
| 503 | 1003 | Named pipe is too Busy – Verify if node.exe is consuming excessive CPU. |
205
+
192
206
# Troubleshooting 5xx Server Errors
193
207
194
208
If your application is returning a **HTTP 500 error**, the next place to look is the detailed errors within the **/home/LogFiles** directory. This will give you the **substatus code** and **win32 error code**, which can be used to help isolate the issue further. An example of the detailed error output can be observed in the next section.
0 commit comments