When we try to download any package from a server hosted in our datacenter, we get a HTTP 502 Bad Gateway error. However, packages download fine from our local worksations. I've seen several posts regarding issues with az320820.vo.msecnd.net, but I see no solution to this issue.
Following are the details:
__Package manager output__
PM> install-package EntityFramework
Install-Package : The remote server returned an error: (502) Bad Gateway.
At line:1 char:16
+ install-package <<<< EntityFramework
+ CategoryInfo : NotSpecified: (:) [Install-Package], WebException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
__Fiddler trace__
GET http://packages.nuget.org/v1/FeedService.svc/
200 OK (application/xml)
GET http://packages.nuget.org/v1/FeedService.svc/Packages()?$filter=tolower(Id)%20eq%20'entityframework'&$orderby=Id
200 OK (application/atom+xml)
GET http://packages.nuget.org/api/v1/package/EntityFramework/6.0.1
302 Found to http://az320820.vo.msecnd.net/packages/entityframework.6.0.1.nupkg
GET http://az320820.vo.msecnd.net/packages/entityframework.6.0.1.nupkg
502 Fiddler - Connection Failed (text/html)
__Server OS - Server 2003 Enterprise SP2__
__Visual Studio 2010 v4.0.30319 SP1__
__Note same issue exists on other servers, including a Server 2008 R2 running VS 2012.__
__nslookup__
C:\>nslookup az320820.vo.msecnd.net
Server: ushpewsdome02.global.umusic.ext
Address: 10.253.43.28
Name: az320820.vo.msecnd.net0
Addresses: 65.54.80.204, 65.54.80.214
__ipconfig__
C:\>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : USHPEWVAPP004
Primary Dns Suffix . . . . . . . : global.umusic.ext
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : global.umusic.net
umusic.net
global.umusic.ext
global.umusic.uat
global.umusic.dev
Ethernet adapter MGMT:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : vmxnet3 Ethernet Adapter #2
Physical Address. . . . . . . . . : 00-50-56-80-01-0A
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.253.36.213
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Disabled
Ethernet adapter PROD:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : vmxnet3 Ethernet Adapter
Physical Address. . . . . . . . . : 00-50-56-80-01-09
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.253.34.246
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.253.34.1
DNS Servers . . . . . . . . . . . : 10.253.43.28
10.253.43.29
Primary WINS Server . . . . . . . : 10.130.1.77
Secondary WINS Server . . . . . . : 10.144.1.109
NetBIOS over Tcpip. . . . . . . . : Disabled
Ethernet adapter BUR:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : vmxnet3 Ethernet Adapter #3
Physical Address. . . . . . . . . : 00-50-56-80-01-0B
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.253.41.35
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Disabled
Any help would be appreciated. My infrastructure team is not able to help.
Regards
jb
Comments: closing this issue for now. Please reopen with if you have more details. Thx
Following are the details:
__Package manager output__
PM> install-package EntityFramework
Install-Package : The remote server returned an error: (502) Bad Gateway.
At line:1 char:16
+ install-package <<<< EntityFramework
+ CategoryInfo : NotSpecified: (:) [Install-Package], WebException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
__Fiddler trace__
GET http://packages.nuget.org/v1/FeedService.svc/
200 OK (application/xml)
GET http://packages.nuget.org/v1/FeedService.svc/Packages()?$filter=tolower(Id)%20eq%20'entityframework'&$orderby=Id
200 OK (application/atom+xml)
GET http://packages.nuget.org/api/v1/package/EntityFramework/6.0.1
302 Found to http://az320820.vo.msecnd.net/packages/entityframework.6.0.1.nupkg
GET http://az320820.vo.msecnd.net/packages/entityframework.6.0.1.nupkg
502 Fiddler - Connection Failed (text/html)
__Server OS - Server 2003 Enterprise SP2__
__Visual Studio 2010 v4.0.30319 SP1__
__Note same issue exists on other servers, including a Server 2008 R2 running VS 2012.__
__nslookup__
C:\>nslookup az320820.vo.msecnd.net
Server: ushpewsdome02.global.umusic.ext
Address: 10.253.43.28
Name: az320820.vo.msecnd.net0
Addresses: 65.54.80.204, 65.54.80.214
__ipconfig__
C:\>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : USHPEWVAPP004
Primary Dns Suffix . . . . . . . : global.umusic.ext
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : global.umusic.net
umusic.net
global.umusic.ext
global.umusic.uat
global.umusic.dev
Ethernet adapter MGMT:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : vmxnet3 Ethernet Adapter #2
Physical Address. . . . . . . . . : 00-50-56-80-01-0A
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.253.36.213
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Disabled
Ethernet adapter PROD:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : vmxnet3 Ethernet Adapter
Physical Address. . . . . . . . . : 00-50-56-80-01-09
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.253.34.246
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.253.34.1
DNS Servers . . . . . . . . . . . : 10.253.43.28
10.253.43.29
Primary WINS Server . . . . . . . : 10.130.1.77
Secondary WINS Server . . . . . . : 10.144.1.109
NetBIOS over Tcpip. . . . . . . . : Disabled
Ethernet adapter BUR:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : vmxnet3 Ethernet Adapter #3
Physical Address. . . . . . . . . : 00-50-56-80-01-0B
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.253.41.35
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Disabled
Any help would be appreciated. My infrastructure team is not able to help.
Regards
jb
Comments: closing this issue for now. Please reopen with if you have more details. Thx