Software Update Downloads failing for some updates- - - HttpSendRequest failed 12002 / - 0x87D20417

Andrew Porter 1 Reputation point
2020-11-18T19:38:51.857+00:00

Hi,

I'm having an issue with certain updates downloading from the SCCM Console, either when using an ADR or when manually downloading them. Using Ie to manually open the URL results in:

  • On the SCCM SUP/Primary Server, if I open IE and open the non-working update URL it will connect (after 1-2 minute delay) and download successfully.
  • If I use a personal (home) machine with the non-working update URL it will connect immediately without a delay.
  • On the SCCM SUP/Primary Server, if I use the URL of an update that does download it will download immediately without a delay

The same issue occurs whether I use my own account and SCCM Console on my machine or use an admin account directly on the SUP / Primary SCCM Server.

It only fails on some updates, the majority work. Ones that I have found don't work are Edge updates and the Windows 10 LCU updates. One example is 'Microsoft Edge-Stable Channel Version 86 Update for x64 based Editions (Build 86.0.622.63)'

Error Messages

ADR Error

  • 0x87D20417

RuleEngine.log

  • Failed to download the update content with ID 17248647 from internet. Error = 12002

PatchDownloader.log

Download Software Update Wizard

  • Error: Failed to download content id 17248647. Error: There was an error downloading the software update. (12007)

Permissions

  • I have temporarily assigned everyone Full control to This folder and subfolders on the Deployment Package location and C:\Windows\Temp
  • I've created a new Deployment Packages for testing without any difference.

Network

IE Setting:

  • Set to 'Use automatic configuration script'

SCCM 'Proxy And Account Settings' have both the following settings are ticked. I've tried changing this options but without any difference

  • Use a proxy server when synchronizing software updates
  • Use a proxy Server when downloading content by using automatic deployment rule

The network guys have told me that:

  • This is not logged any where as this is an HTTPS connection between the server and Microsoft , proxy only relay the traffic there is no inspection/block URL check for Microsoft

Thanks.

Microsoft Security Intune Configuration Manager Updates
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Amandayou-MSFT 11,156 Reputation points
    2020-11-19T02:29:10.67+00:00

    Hi @Andrew Porter ,

    12002 = "timeout" and it seems like it revolves around proxy, maybe we could check the IE Proxy settings on the SCCM Server.
    please check the following link:
    https://social.technet.microsoft.com/Forums/en-US/5a9596d3-6f0b-4907-a788-efc06601a88a/there-was-an-error-downloading-the-software-update-12002?forum=configmanagersecurity

    If the proxy is not wrong, maybe we try to restart our SCCM server to solve the problem.
    Here is the similar post we could refer to:
    https://www.windows-noob.com/forums/topic/10247-auto-deployment-rule-download-failed-0x87d20417/
    Note: the above links are not from MS, and just for your reference.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Andrew Porter 1 Reputation point
    2020-11-19T15:33:48.02+00:00

    Thanks for the response.

    I have restarted the Server which didn't chance anything.

    I have opened a command prompt (as admin), and run "psexec -i -s -d cmd" to open a new command prompt "as the computer". Form here I launched ieplore.exe...and tred to open the URL

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable

    and I get the following message: 404 - File or directory not found.


  3. Andrew Porter 1 Reputation point
    2020-11-20T15:55:09.44+00:00

    Thanks Amandayou

    This is now working, A proxy issue. I believe the proxy team bypassed the proxy for the URL for the system. They wouldn't tell me exactly what they did, I assume it was something they were supposed to have done at the beginning of many weeks of me bugging them saying it was a proxy issue.


  4. Ranjithkumar Duraisamy 226 Reputation points
    2023-04-12T11:49:46.05+00:00

    I'm into the same issue! But got this resolved by deleting the destination directory where it supposed to download the whole content and having adr run once again. Thanks.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.