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.
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.
- Install the latest EB Command Line Tools. This includes updating the bash profile to point to the new instance
- Go to the application source directory, remove .git/AWSDevTools directory
- Open
.git/config
, delete the following three sections: alias "aws.elasticbeanstalk", aws "endpoint", alias "aws"
- Run
eb init
again from the application source directory.
- Then we got an error saying that we needed to install boto. So we did
pip install boto
. (We are using python)
Finally git aws.push worked!!!
Details: https://forums.aws.amazon.com/thread.jspa?threadID=164953&tstart=0
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.