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:\temp
Get-Log : 9/12/2023 9:15:00 AM 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 a
llotted 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_ViError
ErrorCategory : NotSpecified
TargetObject :
RecommendedAction :
SessionId :
ConnectionId : /VIServer=example.local\[email protected]:443/
Severity : Error
Message : 9/4/2023 10:56:11 AM 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 -