To assist in successfully generating and downloading the log bundle from the vCenter Server using PowerCLI.
Symptoms -
PS C:\Users\Administrator> Get-Log -Bundle -DestinationPath C:\tempGet-Log : MM/DD/YYYY HH:MM:SS XX Get-Log The request channel timed out while waiting for a reply after 00:05:00.Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.At line:1 char:1+ Get-Log -Bundle -DestinationPath C:\temp+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-Log], ViError + FullyQualifiedErrorId : Client20_QueryServiceImpl_WaitForUpdates_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetLog
ErrorId : Client20_QueryServiceImpl_WaitForUpdates_ViErrorErrorCategory : NotSpecifiedTargetObject :RecommendedAction :SessionId :ConnectionId : /VIServer=example.local\[email protected]:443/Severity : ErrorMessage : MM/DD/YYYY HH:MM:SS XX Get-Log The request channel timed out while waiting for a reply after 00:05:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.
VMware vSphere 7.0.x
The PowerCLI session may time out before the operation or task completes due to the length of time required to generate a vCenter log bundle.
Set-PowerCLIConfiguration -WebOperationTimeoutSeconds 1800
For additional details, refer to the Set-PowerCLIConfiguration section of the PowerCLI documentation - Set-PowerCLIConfiguration
Impact/Risks -