Download error possibly due to ISP redirection

Download error possibly due to ISP redirection

Postby calloatti » 25.10.2015, 16:35

I have been using WSUS Offline Update for years, and yesterday I decided to start a new and clean installation. I have encountered a problem that is probably due to my ISP redirecting the requests to a proxy. I do not know if this is really the problem or not, but it seems like it is.

Here is what happens:

Image

As you can see in the image, the request for the dotnetfx35.exe file gets a 302 redirection response, and it is being redirected to a server with IP 200.117.237.7 that seems to be an IP of my ISP. There are many problems with this:

Problem 1: The resulting URL is used as a file name, and this is too long a name even when WSUS is a folder in the root directory of a drive:

Image

The error is "(Result too large")

Now, even if the name was shorter and the file could be saved, the other problem is that this redirection includes a unique identifier for each request, resulting in the file having a new and different name each time. This identifier is the "@ivit=" parameter in the URL.

Of course, with this situation, it is impossible to download the updates.

I will try to contact the local Microsoft Office on Monday, since contacting my ISP will be a waste of time. Maybe MS can do something about this.

Another possible solution would be for WSUS Offline Update to save the file with the original name, and not the 302 new name.

Any other ideas on how to solve this?

This is the log file. not much of use in it:

Code: Select all
25/10/15 12:13:43,73 - Info: Starting WSUS Offline Update download (v. 10.2) for w61 glb
25/10/15 12:13:43,75 - Info: Option /includedotnet detected
25/10/15 12:13:43,78 - Info: Option /includemsse detected
25/10/15 12:13:43,80 - Info: Option /verify detected
25/10/15 12:13:43,82 - Info: Option /exitonerror detected
25/10/15 12:13:43,99 - Info: Set time zone to LOC3:00
25/10/15 12:13:45,10 - Info: Updated static download definitions
25/10/15 12:13:49,30 - Info: Downloaded/validated mkisofs tool
25/10/15 12:13:49,91 - Info: Verified integrity of Windows Update Agent installation and catalog files
25/10/15 12:14:08,58 - Info: Downloaded/validated most recent Windows Update Agent installation and catalog files
25/10/15 12:14:08,59 - Info: Verified digital file signatures of Windows Update Agent installation and catalog files
25/10/15 12:14:08,59 - Info: Created integrity database for Windows Update Agent installation and catalog files
25/10/15 12:14:30,76 - Warning: Integrity database ..\client\md\hashes-dotnet.txt not found
25/10/15 12:21:36,36 - Error: Download failure for w61 glb
calloatti
 

Re: Download error possibly due to ISP redirection

Postby calloatti » 25.10.2015, 18:36

Fixed by enabling Aria2 downloads.
calloatti
 

Re: Download error possibly due to ISP redirection

Postby hbuhrmester » 25.10.2015, 23:13

Try a newer wget

The GNUWin32 project has many ports of typical GNU utilities, but most of them are rather old. The supplied wget in WSUS Offline Update is from this project.

http://gnuwin32.sourceforge.net/packages/wget.htm

Recent versions of wget should use the filename from the original URL, even if the download is redirected. This can be changed with the option trust-server-names.

‘--trust-server-names’

If this is set to on, on a redirect the last component of the redirection URL will be used as the local file name. By default it is used the last component in the original URL.


https://www.gnu.org/software/wget/manua ... rver-names

The meaning of these boolean options is, that they set the opposite of the default behavior. So, by default, redirected server names are not trusted (and not used).

https://www.gnu.org/software/wget/manua ... ion-Syntax

A recent Windows port of wget can be found at https://eternallybored.org/misc/wget/

This site is also referenced from the official wget Wiki:

http://wget.addictivecode.org/FrequentlyAskedQuestions

The new wget could then replace the older version in wsusoffline\bin.

But I didn't try all this myself; I just use the wget from my Linux distribution.
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59

Re: Download error possibly due to ISP redirection

Postby calloatti » 25.10.2015, 23:23

Thank you for your response. As I said in another comment lost in moderation limbo, I solved it by activating Aria2 downloads
calloatti
 

Re: Download error possibly due to ISP redirection

Postby boco » 26.10.2015, 00:04

https://eternallybored.org/misc/wget/

This is where I got 1.16.3 from.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2398
Joined: 24.11.2009, 17:00
Location: Germany


Return to Download

Who is online

Users browsing this forum: No registered users and 386 guests