Reputation: 166
I have had a working AWS EB environment for many months across a few projects.
Today "git aws.push" stopped working.
There have been a number of updates recently for xcode and os x yosemite but I believe these happened days ago and git aws.push was still working then. It has stopped working across my projects.
The error shown is
error: RPC failed; result=22, HTTP code = 400 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly
I have tried an "eb init" which didn't do anything. I have also tried "git aws.config" which has all the right settings unless my AWS Authenticaiton Keys have changed overnight.
Any help gratefully received on how to fix this.
Upvotes: 4
Views: 1475
Reputation: 732
Finally managed to fix this. Solution is upgrading the EB Command Line tools and resetting all of the places it is referenced. Here's what we did.
.git/config
, delete the following three sections: alias "aws.elasticbeanstalk", aws "endpoint", alias "aws"eb init
again from the application source directory.pip install boto
. (We are using python)Finally git aws.push worked!!!
Details: https://forums.aws.amazon.com/thread.jspa?threadID=164953&tstart=0
Upvotes: 9
Reputation: 1345
Couple of things you can try:
Check your remote URL (i.e. Application and Environment).
Increase the Git buffer size to the largest individual file size of your repo: git config --global http.postBuffer 157286400.
Create a new folder, checkout your application and redo git aws.config.
Upvotes: 2