Sometimes when a file is trying to be downloaded by choco, for whatever reason (host overloaded?)
it times out after 10 minutes, which is way too long.
This does not seem to use the webRequestTimeoutSeconds or commandExecutionTimeoutSeconds setting.
2021-09-24 16:21:46,055 5992 [INFO ] - Downloading zoom-client 64 bit
from 'https://cdn.zoom.us/prod/5.8.0.1324/x64/ZoomInstallerFull.msi'
2021-09-24 16:21:46,071 5992 [DEBUG] - Running Get-WebFile -url 'https://cdn.zoom.us/prod/5.8.0.1324/x64/ZoomInstallerFull.msi' -fileName 'C:\Windows\TEMP\chocolatey\zoom\5.8.0.1324\ZoomInstallerFull.msi' -options 'System.Collections.Hashtable'
2021-09-24 16:21:46,071 5992 [DEBUG] - Setting request timeout to 30000
2021-09-24 16:21:46,071 5992 [DEBUG] - Setting read/write timeout to 2700000
2021-09-24 16:21:46,082 5992 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-09-24 16:21:46,166 5992 [DEBUG] - Downloading https://cdn.zoom.us/prod/5.8.0.1324/x64/ZoomInstallerFull.msi to C:\Windows\TEMP\chocolatey\zoom\5.8.0.1324\ZoomInstallerFull.msi
2021-09-24 16:31:46,052 5992 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://cdn.zoom.us/prod/5.8.0.1324/x64/ZoomInstallerFull.msi'. Exception calling "Read" with "3" argument(s): "Unable to read data from the transport connection: De externe host heeft een verbinding verbroken."
Can this timeout be changed?
How is the download of the msi called? Powershell Invoke-WebRequest?
Hi
I posted this issue on the Chocolatey Github, but maybe it needs to be diagnosed/fixed in the Zoom package itself: https://github.com/chocolatey/choco/issues/2378
Sometimes when a file is trying to be downloaded by choco, for whatever reason (host overloaded?) it times out after 10 minutes, which is way too long. This does not seem to use the webRequestTimeoutSeconds or commandExecutionTimeoutSeconds setting.
I get this sometimes with the Zoom package:
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
2021-09-24 16:21:46,055 5992 [INFO ] - Downloading zoom-client 64 bit from 'https://cdn.zoom.us/prod/5.8.0.1324/x64/ZoomInstallerFull.msi' 2021-09-24 16:21:46,071 5992 [DEBUG] - Running Get-WebFile -url 'https://cdn.zoom.us/prod/5.8.0.1324/x64/ZoomInstallerFull.msi' -fileName 'C:\Windows\TEMP\chocolatey\zoom\5.8.0.1324\ZoomInstallerFull.msi' -options 'System.Collections.Hashtable' 2021-09-24 16:21:46,071 5992 [DEBUG] - Setting request timeout to 30000 2021-09-24 16:21:46,071 5992 [DEBUG] - Setting read/write timeout to 2700000 2021-09-24 16:21:46,082 5992 [DEBUG] - Setting the UserAgent to 'chocolatey command line' 2021-09-24 16:21:46,166 5992 [DEBUG] - Downloading https://cdn.zoom.us/prod/5.8.0.1324/x64/ZoomInstallerFull.msi to C:\Windows\TEMP\chocolatey\zoom\5.8.0.1324\ZoomInstallerFull.msi 2021-09-24 16:31:46,052 5992 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://cdn.zoom.us/prod/5.8.0.1324/x64/ZoomInstallerFull.msi'. Exception calling "Read" with "3" argument(s): "Unable to read data from the transport connection: De externe host heeft een verbinding verbroken."
Can this timeout be changed? How is the download of the msi called? Powershell Invoke-WebRequest?