Office 365 local share download keeps failing with proxy errors

Brass Contributor

Hi,

One of our customer sites isn't working. We are setting up Office 365 proplus to have the setup files downloaded to a share on the server from which the clients will then install from. This works fine on other customer sites but on this one the office setup logs are showing proxy errors and the cab files etc are not being downloaded. 

The proxy is set to bypass these addresses: officecdn.microsoft.com;officecdn.microsoft.com.edgekey.net;officecdn.microsoft.com.edgesuite.net

 

The main issue in the logs is:

10/02/2019 15:52:37.356        SETUP (0x12b0)        0x2808                Identity Http Client        bbvo3        Monitorable        [HttpWin] sendInternal {"Message": "WinHttpSendRequest failed", "Url": "http://officecdn.microsoft.com/pr/7ffbc6bf-bc32-4f92-8982-f9dd17fd3114/Office/Data/v64_16.0.11328.20...", "SH_ErrorCode": 12002}        

10/02/2019 15:52:37.356        SETUP (0x12b0)        0x2808                Identity Http Client        a9ido        Medium        [HttpUtil] IsKnownProxyError {"SH_ErrorCode": 12002, "Message": "Detected a proxy failure"}       

 

This then finally fails with error AdminBootstrapper::Main: Installation came back with -2147418113

 

Anything obvious people can advise about the proxy bypass list or similar before we have to start looking at the traffic. 

 

Thanks,

Nigel

3 Replies

I've ran into this in my tests. If you're behind a proxy server, you have to hard code the path of your proxy.

Elevated Command Prompt:

"netsh winhttp set-proxy proxy-server=ipaddress:port "

 

When finished downloading, be sure to reset it back. "netsh winhttp reset proxy"

 

I haven't had an opportunity to test the latest ODT tool released on 10/31, but release notes show it may allow for downloads on other ports without having to set the winhttp proxy. 

Thanks John for the info. It turned out to be a firewall / port issue in the Smoothwall config and not the proxy. I thought this would only need port 443 for SSL but the customer ended up opening all ports to get it to download.

 

Nigel

@Nigel ArcherI also noticed that the Office Deployment Tool had an updated version that allows for downloads on other ports, other than Port 80.  Might want to make sure they're using the latest version of the ODT.   There's also a couple powershell scripts in the TechNet Gallery for downloading the Office 365 C2R Bits without ODT. I found the below quite useful since I have to download the bits for each Update Channel every month to keep our install packages up to date. 

 

https://github.com/OfficeDev/Office-IT-Pro-Deployment-Scripts

"Download-OfficeProPlusChannels.ps1"