-
Notifications
You must be signed in to change notification settings - Fork 87
Description
I originally reported this in aws/amazon-ssm-agent#626, but, after reaing through other issues, it seems like it might be more of a client issue.
When using start-session, the connection will fail with a broken pipe if there is no input or output for 60 seconds.
Cannot perform start session: write tcp 1.2.3.4:45678->100.99.98.97:443: write: brokenAs long as there is input or output, the connection will hold.
The shell is still active on the instance, it just seems the socket connection get's dropped.
Unable to find any indicators in the logs or strace.
The weird thing I found is this only seems to happen when using an SSO profile to connect and does not seem to occur when using access keys.
I'm wondering if somehow it's a side effect of the changes identified in #83 (comment)
Client OS: Fedora 41
AWS CLI: 2.17.18
SSM plugin: 1.2.707.0
Instance OS: Rocky 9 (Official AMI with LVM),
SSM Agent: 3.3.1957.0
Same behavior on an Ubuntu instance