部署存储在 github 中的应用程序时出现 Aws 代码部署会话错误

Aws Code Deploy Session error while deploying application stored in github

我在 github 中存储了一个示例应用程序。我想将它部署到已经启动且 运行 的 ec2 实例。我在 AWS 控制台中执行了以下步骤,但出现此错误:

"There seems to be a problem with your session. Please try again in a few minutes or login again. If the problem persists try clearing your browser cookies."

无论我做什么,我都无法摆脱这个问题。我尝试过清除 cookie、使用其他浏览器、重新启动浏览器和系统。什么都没发生。

以下是我遵循的步骤:

  1. 创建了一个应用程序和一个部署组"Development"
  2. 已尝试部署新修订版。 (图 1)
  3. 要连接 github 和 aws,请输入我的 github 凭据。
  4. 收到错误。 (图 2)

图片1

图片2

我们也遇到了这个问题,联系了支持人员,并收到了以下(可行的)解决方法。

This appears to be an issue in the way GitHub is redirecting back to the AWS console. The CodeDeploy and AWS Console team have been made aware of this and are working to have it resolved. In the meantime, the workaround is to clear your cookies, change region in the console to N. Virginia (US East) and back to the region you are working in, then connect CodeDeploy to GitHub again.

To detail the steps:

  1. Clear your browser cache
  2. Visit https://us-west-2.console.aws.amazon.com and sign in
  3. Change the region in the top left corner to 'N. Virginia'
  4. Change the region back to 'Oregon'
  5. Open the CodeDeploy console and reconnect an app with GitHub
  6. Sign into Github account