start-session fails sometimes
youssouphSagna opened this issue · 1 comments
youssouphSagna commented
All Session Manager prerequisites are complete and it's worked before.
Your session has been terminated for the following reasons: ----------ERROR------- Setting up data channel with id XXXXX-0a2b767b33e3ba395 failed: failed to create websocket for datachannel with error: CreateDataChannel failed with no output or error: createDataChannel request failed: failed to sign the request: shared credentials are already expired, they were retrieved at 2023-05-22T10:03:45Z and expired at 2023-05-22T11:07:14Z
ziwangj commented
Thanks for reporting the issue. Can you please provide the below information for further investigation?
- The command you were using to start session
- The agent and SSMCLI version:
https://docs.aws.amazon.com/systems-manager/latest/userguide/plugin-version-history.html https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-agent-get-version.html - The agent log:
https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-agent-logs.html