Git的aws.push回报和QUOT;错误:RPC失败;结果= 22,HTTP code = 400" [英] git aws.push returns "error: RPC failed; result=22, HTTP code = 400"

查看:171
本文介绍了Git的aws.push回报和QUOT;错误:RPC失败;结果= 22,HTTP code = 400"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个工作AWS EB环境好几个月跨越几个项目。

I have had a working AWS EB environment for many months across a few projects.

今天,混帐aws.push停止工作。

Today "git aws.push" stopped working.

已经有一些更新的最近的X code和OS X的优山美地,但我相信这些事天前和git aws.push还在工作呢。它已停止在我的项目工作。

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.

中显示的误差

错误:RPC失败;结果= 22,HTTP code = 400致命的:远程端   挂了意外致命的:远程端挂了意外

error: RPC failed; result=22, HTTP code = 400 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly

我已经尝试过的EB初始化,它没有做任何事情。 我也曾尝试混帐aws.config,它拥有所有正确的设置,除非我的AWS Authenticaiton键一夜之间改变。

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.

推荐答案

终于设法解决这个问题。解决办法是升级EB命令行工具和重置所有被引用的地方。这就是我们所做的。

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.

  1. 在安装最新的EB命令行工具。这包括更新的bash配置文件指向新的实例
  2. 进入应用程序的源目录,删除的.git / AWSDevTools目录
  3. 开启的.git /配置,删除以下三个部分:别名aws.elasticbeanstalkAWS终点,别名AWS
  4. 运行 EB的init 再次从应用程序源目录。
  5. 然后,我们得到了一个错误说,我们需要安装博托。所以我们做 PIP安装博托。 (我们正在使用python)
  1. Install the latest EB Command Line Tools. This includes updating the bash profile to point to the new instance
  2. Go to the application source directory, remove .git/AWSDevTools directory
  3. Open .git/config, delete the following three sections: alias "aws.elasticbeanstalk", aws "endpoint", alias "aws"
  4. Run eb init again from the application source directory.
  5. Then we got an error saying that we needed to install boto. So we did pip install boto. (We are using python)

最后混帐aws.push工作!

Finally git aws.push worked!!!

详细信息:<一href="https://forums.aws.amazon.com/thread.jspa?threadID=164953&tstart=0">https://forums.aws.amazon.com/thread.jspa?threadID=164953&tstart=0

这篇关于Git的aws.push回报和QUOT;错误:RPC失败;结果= 22,HTTP code = 400&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆