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: WinHttpReadData Error 12002

App Control: WinHttpReadData Error 12002

Environment

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

Symptoms

  • Errors when attempting to download the Agent upgrade package, similar to:
    Failed to download upgrade package: https://ServerAddress/hostpkg/pkg.php?pkg=/ParityHostAgent.msi. WinHttpReadData Error[12002]
  • Errors when attempting to download some other file from the Resource Download Location (RDL), similar to:
    Failed to download Server Cert List file from URL [https://ServerAddress/hostpkg/pkg.php?pkg=TrustedCertList.pem]: Error[WinHttpSendRequest Error[12002:]]. Options[00000003] TotalFailures[1] FailureId[961]

Cause

The endpoint encountered some network timeout when attempting to access the files on the Resource Download Location.

Microsoft defines this WinHttp Error[12002] as:
ERROR_WINHTTP_TIMEOUT: 12002
The request has timed out.

This error can be returned as a result of TCP/IP time-out behavior, regardless of time-out values set in Windows HTTP Services.

Resolution

  1. Verify the Resource Download Location (RDL) specified is correct.
  2. Verify Port 443 to the RDL is open.
  3. 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=ParityHostAgent.msi
  4. If a Proxy is in use, add an exception for the Server Address and/or the RDL.
  5. Perform the relevant task manually on the endpoint:

Related Content


Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎09-09-2020
Views:
2340