git aws.push返回错误403

时间:2013-01-18 17:49:11

标签: git amazon-web-services elastic-beanstalk

我正在为Elastic Beanstalk上的应用程序获取git设置。我一直在按照亚马逊提供的说明进行操作。推送更改后,我收到此错误

git aws.push

error: The requested URL returned error: 403 while accessing https://<Access Key             Removed>:20130117T213945Z538f1c7baf8c89b4b547cb6717aabbaa7dfab3c52e0911d71e17b06765b922b2@git.elasticbeanstalk.us-east-1.amazonaws.com/v1/repos/54696d73546573744170706c69636174696f6e/commitid/62323130316462646264373436303536343265633861333035633133633265666466393633303133/environment/54696d7374657374656e7669726f6e6d656e74/info/refs?service=git-receive-pack
fatal: HTTP request failed

这是我的.config文件

git config -l <​​/ p>

credential.helper=osxkeychain
user.name=Tim xxxxxxxxxx
user.email=xxxxxxxxx@gmail.com
core.bare=false
core.repositoryformatversion=0
core.filemode=true
core.logallrefupdates=true
core.ignorecase=true
aws.endpoint.us-east-1=git.elasticbeanstalk.us-east-1.amazonaws.com
aws.endpoint.ap-northeast-1=git.elasticbeanstalk.ap-northeast-1.amazonaws.com
aws.endpoint.eu-west-1=git.elasticbeanstalk.eu-west-1.amazonaws.com
aws.endpoint.us-west-1=git.elasticbeanstalk.us-west-1.amazonaws.com
aws.endpoint.us-west-2=git.elasticbeanstalk.us-west-2.amazonaws.com
aws.endpoint.ap-southeast-1=git.elasticbeanstalk.ap-southeast-1.amazonaws.com
aws.endpoint.ap-southeast-2=git.elasticbeanstalk.ap-southeast-2.amazonaws.com
aws.endpoint.sa-east-1=git.elasticbeanstalk.sa-east-1.amazonaws.com
alias.aws.elasticbeanstalk.remote=!.git/AWSDevTools/aws.elasticbeanstalk.push --remote-url
alias.aws.elasticbeanstalk.push=!.git/AWSDevTools/aws.elasticbeanstalk.push
alias.aws.elasticbeanstalk.config=!.git/AWSDevTools/aws.elasticbeanstalk.config
alias.aws.push=!git aws.elasticbeanstalk.push
alias.aws.config=!git aws.elasticbeanstalk.config

如何检查亚马逊方面的权限?它是安全组设置吗?

感谢您的帮助。如果我能为您提供更多信息,请告诉我。再次感谢。

1 个答案:

答案 0 :(得分:2)

如果系统时钟关闭超过900秒,AWS git插件将返回403。