:AWS Elastic Beanstalkで[リモート拒否](フックが減少しました)
git aws.push
remote:
remote: error: Internal Error
remote:
To https://MYKEY:20120830T11331124[email protected]git.elasticbeanstalk.us-east-1.amazonaws.com/repos/4d7920466972737420256c6173746963204265616e7374616c6b204170706c69636174696f6e20456e7669726f6e6d656e6463/philsturgeon
! [remote rejected] HEAD -> master (hook declined)
error: failed to push some refs to 'https://MYKEY:20120830T11331124[email protected]git.elasticbeanstalk.us-east-1.amazonaws.com/repos/4d7920466972737420256c6173746963204265616e7374616c6b204170706c69636174696f6e20456e7669726f6e6d656e6463/philsturgeon'
原因は何ですかこれの? Googleは何の考えもしていないようだ。もともと、私のホストは一致していないと思っていました.2回目にaws.configを実行すると、ホストは要求されませんが、手動で設定を変更した後は、同じエラーが表示されます。
[aws "endpoint"]
us-east-1 = git.elasticbeanstalk.us-east-1.amazonaws.com
ap-northeast-1 = git.elasticbeanstalk.ap-northeast-1.amazonaws.com
eu-west-1 = git.elasticbeanstalk.eu-west-1.amazonaws.com
us-west-1 = git.elasticbeanstalk.us-west-1.amazonaws.com
us-west-2 = git.elasticbeanstalk.us-west-2.amazonaws.com
[alias "aws"]
push = !git aws.elasticbeanstalk.push [email protected]
config = !git aws.elasticbeanstalk.config [email protected]
[aws]
accesskey = MYKEY
secretkey = MYSECRET
region = us-east-1
[aws "elasticbeanstalk"]
host = git.elasticbeanstalk.us-east-1.amazonaws.com
application = My First Elastic Beanstalk Application
environment = philsturgeon
この設定は正しいはずです:
だから、ここまでは何ですか?
私は最初のアプリケーションを開始するのに苦労しています。私は確かに499の他のアプリケーションを持っていません。 –
@PhilSturgeonと他の人が私のようなGoogleからここに送られました。アプリケーション、環境、およびアプリケーションのバージョンには違いがあります。たびにあなたは 'gs. aws.push'を作り、新しい**バージョン**を作ります。これは、たくさん押すとすぐに500に達することができます。同僚がPhil saw(この質問)のエラーを受けましたが、[別の質問]に記載されているものを受け取りました(http://stackoverflow.com/questions/9589531/how-to-avoid-a-toomanyapplicationversion-exception-on -aws-elastic-beanstalk)である。最良の解決策は古いバージョンを削除することです(エラーが実際には別のものではないと仮定します)。 –
私はこのエラーを別のものと信じています。このエラーは、まったく新しい設定から、毎回、気の利いたものを再び動作させる試みの間に大きなギャップ(数時間または数日)で起こっていました。 –