Event ID 2269 (HTTP.SYS communication error)

Published May 25 2021 01:30 PM 942 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.

%3CLINGO-SUB%20id%3D%22lingo-sub-2385287%22%20slang%3D%22en-US%22%3EEvent%20ID%202269%20(HTTP.SYS%20communication%20error)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2385287%22%20slang%3D%22en-US%22%3E%3CP%3EFor%20an%20issue%20I%20worked%20on%2C%20the%20application%20pool%20kept%20stopping%20with%20Event%20ID%202269%2C%205139%2C%20and%205002.%20The%20errors%20and%20warnings%20I%20saw%20in%20Event%20Viewer%20are%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-html%22%3E%3CCODE%3EEvent%202269%0AThe%20worker%20process%20for%20app%20pool%20'DefaultAppPool'%20failed%20to%20initialize%20the%20http.sys%20communication%20when%20asked%20to%20start%20processing%20http%20requests%0A%0AEvent%205139%0AA%20listener%20channel%20for%20protocol%20'http'%20in%20worker%20process%20serving%20application%20pool%20'DefaultAppPool'%20reported%20a%20listener%20channel%20failure.%0A%0AEvent%205002%0AApplication%20pool%20'DefaultAppPool'%20is%20being%20automatically%20disabled%20due%20to%20a%20series%20of%20failures%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Nedim_0-1621974511679.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F283673i4745ECD26CC15BC3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Nedim_0-1621974511679.png%22%20alt%3D%22Nedim_0-1621974511679.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20style%3D%22font-style%3A%20inherit%3B%22%20id%3D%22toc-hId-2033850836%22%20id%3D%22toc-hId-2033850861%22%3E%3CSTRONG%3ESolution%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3ECheck%20if%20the%20application%20pool%20identity%20has%20%E2%80%9CBypass%20traverse%20checking%E2%80%9D%20permission.%20This%20is%20group-policy%20permission%20to%20determine%20which%20users%20can%20traverse%20folders%20even%20if%20they%20don%E2%80%99t%20have%20permission%20on%20folders.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20give%20%E2%80%9CBypass%20traverse%20checking%E2%80%9D%20permission%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EGo%20to%20%E2%80%9CStart%20%26gt%3B%20Run%E2%80%9D%2C%26nbsp%3Btype%20%E2%80%9Cgpedit.msc%E2%80%9D%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EFollow%20%E2%80%9CComputer%20Configuration%20%26gt%3B%20Windows%20Settings%20%26gt%3B%20Security%20Settings%20%26gt%3B%20Local%20Policies%20%26gt%3B%20User%20Rights%20Assignment%E2%80%9D%3C%2FLI%3E%0A%3CLI%3ERight%20click%20%E2%80%9CBypass%20traverse%20checking%E2%80%9D%20and%20click%20%E2%80%9CProperties%E2%80%9D%3C%2FLI%3E%0A%3CLI%3EClick%20%E2%80%9CAdd%20User%20or%20Group%E2%80%9D.%20Add%20these%20users%20and%20groups%3A%20Everyone%2C%20Users%2C%20IIS_IUSRS%2C%20IIS%20AppPool%5CDefaultAppPool%3C%2FLI%3E%0A%3CLI%3ERestart%20the%20server%3C%2FLI%3E%0A%3CLI%3EOpen%20the%20same%20window%20and%20make%20sure%20the%20users%2Fgroups%20you%20added%20are%20still%20there%3C%2FLI%3E%0A%3CLI%3ETest%20the%20application%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Nedim_1-1621974511697.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F283674i5096CE8AEB8C6085%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Nedim_1-1621974511697.png%22%20alt%3D%22Nedim_1-1621974511697.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20this%20doesn%E2%80%99t%20work%2C%20use%20%E2%80%9Cnetstat%E2%80%9D%20and%20see%20if%20there%20are%20port%20conflicts.%20There%20might%20be%20network%20and%20file%20structure%20related%20issues%20as%20well%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%20With%20the%20steps%20above%2C%20we%20added%20more%20users%20than%20we%20should.%20This%20is%20for%20testing%20only.%20You%20can%20later%20harden%20this%20configuration.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2385287%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20worker%20process%20for%20app%20pool%20'DefaultAppPool'%20failed%20to%20initialize%20the%20http.sys%20communication%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Co-Authors
Version history
Last update:
‎May 25 2021 01:30 PM
Updated by: