Event ID 2269 (HTTP.SYS communication error)
Published May 25 2021 01:30 PM 3,276 Views
Microsoft

For an issue I worked on, the application pool kept stopping with Event ID 2269, 5139, and 5002. The errors and warnings I saw in Event Viewer are below.

 

Event 2269
The worker process for app pool 'DefaultAppPool' failed to initialize the http.sys communication when asked to start processing http requests

Event 5139
A listener channel for protocol 'http' in worker process serving application pool 'DefaultAppPool' reported a listener channel failure.

Event 5002
Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures

 

Nedim_0-1621974511679.png

 

Solution

Check if the application pool identity has “Bypass traverse checking” permission. This is group-policy permission to determine which users can traverse folders even if they don’t have permission on folders.

 

To give “Bypass traverse checking” permission:

  1. Go to “Start > Run”, type “gpedit.msc” 
  2. Follow “Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment”
  3. Right click “Bypass traverse checking” and click “Properties”
  4. Click “Add User or Group”. Add these users and groups: Everyone, Users, IIS_IUSRS, IIS AppPool\DefaultAppPool
  5. Restart the server
  6. Open the same window and make sure the users/groups you added are still there
  7. Test the application

 

Nedim_1-1621974511697.png

 

If this doesn’t work, use “netstat” and see if there are port conflicts. There might be network and file structure related issues as well

 

Note: With the steps above, we added more users than we should. This is for testing only. You can later harden this configuration.

Co-Authors
Version history
Last update:
‎May 25 2021 01:30 PM
Updated by: