IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: Download Failures Due to WinHttp Error[12029]

App Control: Download Failures Due to WinHttp Error[12029]

Environment

  • App Control Server: All Supported Versions
  • App Control Agent: All Supported Versions
  • Microsoft Windows; All Supported Versions

Symptoms

  • Agents are showing with Approvals Out of Date or Yara Rules Out of Date
  • Agent is returning errors similar to:
    Error[Failed to obtain CL file[https://ServerAddress/hostpkg/pkg.php?pkg=configlistwithdeleteditems.xml.egk]: Error[WinHttpSendRequest Error[12029:]
    or
    Error[Failed to obtain file[https://ServerAddress/hostpkg/pkg.php?pkg=Yara.bt9]: Error[WinHttpReceiveResponse Error[12029:]

Cause

This error indicates that the endpoint has resolved the DNS name of the remote location, but cannot establish a connection with the remote location. Typically this happens when the port (such as 443) is blocked.

Microsoft defines this WinHttp Error[12029] as:
ERROR_WINHTTP_CANNOT_CONNECT: 12029
Returned if connection to the server failed.

Resolution

  1. Verify the Resource Download Location (RDL) specified is correct.
  2. Verify Port 443 to the RDL is open.
  3. Use PowerShell on the endpoint to test the connection:
    tnc -ComputerName ServerAddress -Port 443 -InformationLevel "Detailed"
  4. Log in to the endpoint encountering the error and use a browser to validate the file exists and can be downloaded (without error), example:
    https://ServerAddress/hostpkg/pkg.php?pkg=Yara.bt9
  5. Verify the Cipher Suites/Protocols enabled on the endpoint match those enabled on the application server.
  6. Manually import the problematic file on the endpoint (Yara, Configlist)

Related Content


Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎08-16-2021
Views:
948