Page 1 of 1

Can't download from WSUS through proxy

PostPosted: 22.11.2010, 17:59
by OlegK
Hi!
It seems that WSUS OU ignores the proxy setting when retreiving updates from a WSUS server.
Problem description:
In our LAN we don't have a DNS server, and all our HTTP traffic goes through a proxy.
Outside the proxy, there is a WSUS server which we can use.
In the WSUS OU settings I specify both the proxy address and the WSUS address.
Everything goes fine while downloading various things from outside (wsusscn2.cab etc...), proxy works.
Afterwards, it fails to reach our WSUS server and falls back to the Microsoft server:
---------
22.11.2010 18:11:34,21 - Info: Created WSUS download table for win glb
wget: unable to resolve host address `ourwsus.ourdomain'
2010-11-22 18:12:40 URL:http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/q823718_mdac_securitypatch_a23b63898aed37544beda981992052a.exe [1626688/1626688] -> "../client/win/glb/q823718_mdac_securitypatch_a23b63898aed37544beda981992052a.exe" [1]
---------
I checked that the wsus host address can be resolved by the proxy.
It should mean that wget here attempts to reach the wsus server without the proxy, ignoring the proxy setting.
Can I overcome this?

Re: Can't download from WSUS through proxy

PostPosted: 22.11.2010, 18:08
by WSUSUpdateAdmin
Hi OlegK,

as a workaround, please search and remove "--no-proxy" in DownloadUpdates.cmd.
When I developed this part, I thought a local WSUS access doesn't make sense via a proxy.
I'll think about removing this in general.

Thanks & regards
Torsten Wittrock

Re: Can't download from WSUS through proxy

PostPosted: 24.11.2010, 17:48
by OlegK
Hi, Torsten!
Many thanks!
Oleg

Re: Can't download from WSUS through proxy

PostPosted: 03.12.2010, 13:45
by WSUSUpdateAdmin
Hi!

WSUSUpdateAdmin wrote:I'll think about removing this in general.

I did that now for the coming v. 6.7.

Regards
Torsten Wittrock

Re: Can't download from WSUS through proxy

PostPosted: 08.12.2010, 06:56
by WSUSUpdateAdmin
Hi omo683,

that's a good idea, thanks!
I now implemented this (see http://trac.wsusoffline.net/browser/trunk (r181)), so from r181 on, the default behaviour is rolled back to WSUS access without proxy.

@OlegK: To achieve WSUS access via proxy (from r181 on), you'll have to add

Code: Select all
wsusbyproxy=Enabled

to the [Miscellaneous] section of your UpdateGenerator.ini file.

Regards
Torsten Wittrock