PS C:\Windows\system32> choco install visualstudio2019community --package-parameters "--add Microsoft.VisualStudio.Workload.ManagedDesktop" --yes --no-progre
ss --ignore-package-exit-codes
Chocolatey v1.1.0
Installing the following packages:
visualstudio2019community
By installing, you accept licenses for the packages.
visualstudio2019community v16.11.13.0 [Approved]
visualstudio2019community package files install completed. Performing other installation steps.
Attempt to get headers for https://aka.ms/vs/16/release/channel failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://aka.ms/vs/16/release/channel'. Exception calling "GetResponse" with
"0" argument(s): "The remote server returned an error: (503) Server Unavailable."
Downloading channel manifest
from 'https://aka.ms/vs/16/release/channel'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://aka.ms/vs/16/release/channel'. Exception calling "GetResponse"
with "0" argument(s): "The remote server returned an error: (504) Gateway Timeout."
The install of visualstudio2019community was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019community\tools\ChocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- visualstudio2019community (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019community\tools\ChocolateyInstall.ps1'.
See log for details.
The url is correct. The problem is either on the server (managed by Microsoft) or somewhere on the network between your machine and the server. There is nothing I can do here.
Hello,
While installing visualstudio2019community package using chocolatey, it is throwing 504 gateway timeout error. Can you please look into it?
command:
choco install visualstudio2019community --package-parameters "--add Microsoft.VisualStudio.Workload.ManagedDesktop" --yes --no-progress --ignore-package-exit-codes
Output: