Skip to main content

I encountered while attempting to install the Middle Tier Server and the necessary PowerShell modules required for communication with the server. The installation process involves executing the command . \main.ps1 -resource 'INIT'.

During the execution of this command, I encountered the following warning messages:

WARNING: MSG: UnableToDownload «https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409» «» 
WARNING: Unable to download the list of available providers. Check your internet connection.

 

 

 

PackageManagement\Register-PackageSource : Module Repository 'localPSRepository' exists. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4211 char:17 + ... $null = PackageManagement\Register-PackageSource @PSBoundParamete ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceExists: (Microsoft.Power...erPackageSource:RegisterPackageSource) SRegister-PackageSource], Exception + FullyQualifiedErrorId : PackageSourceExists, Microsoft.PowerShell.PackageManagement.Cmdlets.RegisterPackageSource

It appears that there may be issues related to downloading resources and registering package sources. I would appreciate your guidance and support in resolving this matter, as it is crucial for the successful installation and operation of the Middle Tier Server.

If there are any recommended troubleshooting steps or if you require additional information from my end to assist in diagnosing and resolving this issue, 

Hi Sahu,

The error message is:

"UnableToDownload «https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409» «» 
WARNING: Unable to download the list of available providers. Check your internet connection."

Are you able to access https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409 from the Windows Management PC? You can use curl if available:

curl -L "https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409"

Please check with your network admin to understand if there are any relevant network restrictions.

Best regards,
Ben


@Ben Monroe Thanks for review .Its now working.

PS D:\ifs\ifsroot> curl -L "https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409"
Invoke-WebRequest : A parameter cannot be found that matches parameter name 'L'.
At line:1 char:6
+ curl -L "https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409"
+      ~~
    + CategoryInfo          : InvalidArgument: (:) uInvoke-WebRequest], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand


@Ben Monroe How do we know which specific port is being blocked? Are there specific parameters and methods that should be taken into consideration when checking for blocked ports on a network?

Thanks

Amal

 


Hi Amal,

> How do we know which specific port is being blocked?

>  Are there specific parameters and methods that should be taken into consideration when checking for blocked ports on a network?

In general, no outgoing ports are blocked by default. Someone (the network admin) has to actively decide to block outgoing ports. This is done via a firewall, either by software or a dedicated hardware. Each firewall has means to monitor or log blocked traffic. You should check with your network admin for such details.


Reply