Support Forum: Get Support for Patch My PC Products and Services

Microsoft Configuration Manager and Intune (Enterprises/Paid) => Support and General Questions (Enterprises Using ConfigMgr and Intune) => Topic started by: michael.cafaro on March 21, 2023, 01:08:18 PM

Title: A web error occurred while downloading the file
Post by: michael.cafaro on March 21, 2023, 01:08:18 PM
I am getting the following error on many apps

A web error occurred while downloading the file: SendFailure The underlying connection was closed: An unexpected error occurred on a send.
Title: Re: A web error occurred while downloading the file
Post by: Ben Whitmore (Patch My PC) on March 22, 2023, 02:31:14 AM
The underlying connection was closed: An unexpected error occurred on a send.

This is generally a firewall or web proxy. What happens if you manually browse out to the download URL for some of the updates reporting this error?
Title: Re: A web error occurred while downloading the file
Post by: sw-deploy on October 09, 2023, 12:32:08 AM
We have the same error on two updates: Gimp and Wireshark.
If I copy the download URL and paste it in Edge I am able to download normally.
I guess it is different when downloading with PmPC and Edge?
Title: Re: A web error occurred while downloading the file
Post by: Ben Whitmore (Patch My PC) on October 09, 2023, 01:45:52 AM
Hello sw-deploy

The Publisher will use a specific .net class to connect to the internet in the SYSTEM context. To accurately mimic what the Publisher does, please try to access the URL using the following method:-

   • Download PSExec from http://technet.microsoft.com/en-us/sysinternals/bb897553  (http://technet.microsoft.com/en-us/sysinternals/bb897553)
   • Extract PSExec
   • Open Command Prompt as Administrator
   • Run the following from the location that you extracted PSExec: .\psexec -s -i "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
   • Attempt to access the URLs again
Title: Re: A web error occurred while downloading the file
Post by: sw-deploy on October 09, 2023, 05:20:51 AM
I tried as you mentioned and I get this error (attachment) for both.
Do you think it's a missconfiguration on our side?
Title: Re: A web error occurred while downloading the file
Post by: Raunak Desai (Patch My PC) on October 16, 2023, 10:48:21 PM
Hey,

Apologies for the delayed response.

I will check internally for this and will update you. Can you please confirm if the issue still persist or it's working now ?

Regards,
Raunak
Title: Re: A web error occurred while downloading the file
Post by: sw-deploy on October 16, 2023, 11:46:03 PM
Good Morning!
Yes the error still happens with this two software products.
Title: Re: A web error occurred while downloading the file
Post by: Raunak Desai (Patch My PC) on October 16, 2023, 11:55:06 PM
Hey !

Good Morning.  :)

Can you please confirm that the URL for the product update content is whitelisted? https://patchmypc.com/list-of-domains-used-for-downloads-in-patch-my-pc-update-catalog

Also, which are the 2 products are we referring to here ?

Regards,
Raunak
Title: Re: A web error occurred while downloading the file
Post by: sw-deploy on October 17, 2023, 12:05:25 AM
I cannot check the firewall but I will ask a colleague from the network department.
The problem only occurs with Gimp and Wireshark.

Here are the result from the CSV file:
The Wireshark developer community,Wireshark (x64),2.na.dl.wireshark.org,Https,443,binary download,999
The GIMP Team,Gimp,download.gimp.org,Https,443,binary download,999

Thanks!
Title: Re: A web error occurred while downloading the file
Post by: Raunak Desai (Patch My PC) on October 17, 2023, 12:36:49 AM
Hey !

I would also like to share a few troubleshooting steps mentioned in this PMPC article, based on the last screenshot you've shared.

Please follow Possible cause 3 : https://patchmypc.com/the-request-was-aborted-could-not-create-ssl-tls-secure-channel.

Let me know if that fixes the issue. Meanwhile, I'll investigate more into this.

Cheers!
Title: Re: A web error occurred while downloading the file
Post by: sw-deploy on October 17, 2023, 02:33:50 AM
We were able to get the download for Wireshark working with a Firewall exception.
But GIMP still cannot be downloaded.
I will check the active cipher suites on the server.
Title: Re: A web error occurred while downloading the file
Post by: sw-deploy on October 17, 2023, 04:35:22 AM
I found out GIMP using some Cipher Suites, which were not enabled on our Server.
After enabling and reboot the download works.

Thanks for the help!
Title: Re: A web error occurred while downloading the file
Post by: Raunak Desai (Patch My PC) on October 17, 2023, 06:22:19 AM
Hey !

That's awesome. I'm glad the steps helped you.

Please feel free to reach out if you face any challenges in the future.

Have a good one!

Regards,
Raunak