keep getting this error on one of my on-prem server after running a patch scan or patch install via patch manager
output
Preparing to download PatchBaselineOperations PowerShell module from S3.
Downloading PatchBaselineOperations PowerShell module from https://s3-ap-southeast-1.amazonaws.com/aws-ssm-ap-southeast-1/patchbaselineoperations/Amazon.PatchBaselineOperations-1.39.zip to C:\ProgramData\Amazon\SSM\InstanceData\mi-060faa0851fb12121\document\orchestration\3ed36420-f0de-46ee-1221-ce468d9d5dfc\PatchWindows\Amazon.PatchBaselineOperations-1.39.zip.
error
C:\ProgramData\Amazon\SSM\InstanceData\mi-060faa0851fb1213123\document\orchestrat
ion\3ed36420-f0de-46ee-21212-ce468d9d5dfc\PatchWindows\_script.ps1 : An error
occurred when executing PatchBaselineOperations: Unable to connect to the
remote server
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,_script.ps1
failed to run commands: exit status 0xffffffff