aws/amazon-ssm-agent

start-session fails sometimes

youssouphSagna opened this issue · 1 comments

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

Thanks for reporting the issue. Can you please provide the below information for further investigation?

  1. The command you were using to start session
  2. 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
  3. The agent log:
    https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-agent-logs.html