Web Console Unavailable Due to IIS 500/503 Errors
book
Article ID: 286121
calendar_today
Updated On:
Products
Carbon Black App Control (formerly Cb Protection)
Show More
Show Less
Issue/Introduction
Issues start after triggering large amount of agent upgrades, refreshing policies on multiple agents at once, installing new rules package, or after recent server certificate update
Web console pages fail to load with errors:
500 Internal server error
503 Service is unavailable
IIS logs shows lost of GET requests with 500/503 status:
2022-11-15 03:43:12 10.11.12.13 GET /hostpkg/pkg.php pkg=configlistwithdeleteditems.xml.egk 443 - 10.22.33.44 Bit9+Parity - 500 0 64 81986
2022-11-15 03:43:12 10.11.12.13 GET /hostpkg/pkg.php pkg=ParityHostAgent.msi 443 - 10.22.33.44 Bit9+Parity - 500 0 64 41986
2022-11-15 03:43:12 10.11.12.13 GET /hostpkg/pkg.php pkg=TrustedCertList.pem 443 - 10.22.33.44 Bit9+Parity - 503 4 64 41986 2022-11-15 03:43:12 10.11.12.13 GET /hostpkg/pkg.php pkg=Yara.bt9 443 - 10.22.33.44 Bit9+Parity - 503 4 64 41986
Windows event logs may show:
Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures.
Environment
App Control Server: All Supported Versions
Microsoft Windows Server: All Supported Versions
Microsoft IIS: All Supported Versions
Cause
The Default App Pool is crashing or is unavailable
Resolution
Upgrade the App Control Server to version 8.10.4 or higher and make the following changes:
Navigate to System Configuration > Advanced Options
Update the Resource Download Location to match the Certificate Download Location, for example:
Resource Download Location: https://**ServerIP**/packages/ Certificate Download Location: https://**ServerIP**/packages/
Open IIS Manager > Sites > Parity Console Web > MIME Types Icon:
Add the following details:
File name extension: .egk | MIME type: application/x-egk-file File name extension: .enc | MIME type: application/x-enc-file File name extension: .bt9 | MIME type: application/x-bt9-file
If the issue still persist, please collect server logs
Additional Information
If unable to upgrade to 8.10.4+ at this time, make the following changes:
Open IIS manager (inetmgr) > Expand the web server name in the left menu options
From the left menu, right-click on "Application Pools" > right-click the "DefaultAppPool" > Advanced Setting
In the Advanced Settings, scroll down and update the following:
Process Model > Identity: Use the App Control Service Account
Rapid-Fail Protection > Maximum Failures: 10
Recycling > PrivateMemoryLimit: 0
Select the web server name in the left menu options
Select "FastCGI " Settings
Edit "C:\Program Files (x86)\Bit9\Parity Console\php\php-cgi.exe "
Verify and update the following:
Instance MaxRequests : 10000
Max Instances : 0
Queue Length : 10000
Restart the IIS Web Server from CMD: iisreset
Feedback
thumb_up
Yes
thumb_down
No