Skip to content

Commit 0351206

Browse files
authored
Fixes #1465 - add network endpoints (#4920)
1 parent 42f2f21 commit 0351206

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

reference/docs-conceptual/gallery/how-to/getting-support/troubleshooting-cmdlets.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,26 @@ title: Troubleshooting cmdlets
88

99
## How to resolve "WARNING: Package 'your package name' failed to download" issue
1010

11-
It is reported that `Install-Module` or `Update-Module` sometimes fails on some machines.
12-
Based on our investigation, it is something to do with the networking connection.
13-
Recently we updated NuGet provider so that it can reliably download packages.
14-
You can follow the instructions below to install the latest build of NuGet provider and then install or update your module.
15-
Let's use 'Azure' module as an example below.
11+
It is reported that `Install-Module` or `Update-Module` sometimes fails on some machines. Based on
12+
our investigation, it is something to do with the networking connection. Recently we updated NuGet
13+
provider so that it can reliably download packages. You can follow the instructions below to install
14+
the latest build of NuGet provider and then install or update your module. Let's use 'Azure' module
15+
as an example below.
1616

1717
```powershell
1818
Install-PackageProvider NuGet -MinimumVersion 2.8.5.206 -Force
1919
Launch new PowerShell Console
2020
Update-Module Azure -Verbose
2121
```
22+
23+
### Required network endpoints
24+
25+
The Install and Update cmdlets require internet access to connect to the network endpoints used by
26+
by the PowerShell Gallery. Ensure that your network access policies allow you to connect to the
27+
following endpoints.
28+
29+
- oneget.org
30+
- go.microsoft.com
31+
- az818661.vo.msecnd.net
32+
- www.powershellgallery.com
33+
- devopsgallerystorage.blob.core.windows.net

0 commit comments

Comments
 (0)