Page MenuHomePhabricator

Retry New-PSSession call to work around temporary failure
AbandonedPublic

Authored by hach-que on Sep 11 2014, 5:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 9, 12:00 AM
Unknown Object (File)
Tue, Oct 8, 11:38 AM
Unknown Object (File)
Tue, Oct 8, 8:01 AM
Unknown Object (File)
Sat, Oct 5, 11:23 PM
Unknown Object (File)
Mon, Sep 30, 5:50 PM
Unknown Object (File)
Tue, Sep 24, 9:28 AM
Unknown Object (File)
Sep 15 2024, 8:16 PM
Unknown Object (File)
Sep 12 2024, 6:24 AM

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T2015: Implement Drydock
Summary

Ref T2015. Very rarely, the New-PSSession call will fail with "authentication package is unknown". To workaround this issue, just retry until we establish a successful connection. The relevant error still gets outputted to standard error, so in the event that there are continous errors here, we'll be able to diagnose the issue.

Test Plan

Ensured that commands still ran correctly against Windows instances.

Diff Detail

Repository
rP Phabricator
Branch
retry-on-new-session-failure
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2506
Build 2510: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Retry New-PSSession call to work around temporary failure.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.

This is only relevant for SSH on Windows, which is replaced by the WinRM stuff instead.