bertrandmartel/aws-ssm-session

Node example doesn't work, handshake timeout

Closed this issue · 1 comments

I get this error when running the Node example:

{"MessageId":"e61ab986-c9c4-4b9c-a557-0c7fe13ee4c5","CreatedDate":"2021-10-01T09:24:34.917Z","DestinationId":"9eb2aa6d-936c-44a9-80aa-2c163fd558d8","SessionId":"xxxxxxxxxxxx-00326d985ae62b3af","MessageType":"channel_closed","SchemaVersion":1,"Output":"\n----------ERROR-------\nEncountered error while initiating handshake. Handshake timed out. Please ensure that you have the latest version of the session manager plugin."}

I've updated the session manager plugin to the latest and the issue is the same.

I was starting SSM with DocumentName: "AWS-StartSSHSession", removing it fixes the issue