简体   繁体   English

错误:RPC失败; 结果= 52,HTTP代码= 0致命:远端意外挂断

[英]error: RPC failed; result=52, HTTP code = 0 fatal: The remote end hung up unexpectedly

When I'm pushing or cloning my project to/form bit-bucket it shows me 当我将项目推入或克隆到/形成bit-bucket它向我显示

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

I have used these but no result found : 我使用了这些,但没有找到结果:

git config --global http.postBuffer 524288000  

git config --global http.postBuffer 1048576000

I did not solve my problem yet. 我还没有解决我的问题。 Please suggest me. 请给我建议。

Have you tried cloning it via SSH? 您是否尝试过通过SSH克隆它?

Lets assume you've tried to clone with the command: 假设您尝试使用以下命令进行克隆:
git clone https://USER@bitbucket.org/TEAM/PROJECT.git

Now to clone that repo via ssh , the command should look something like this: 现在要通过ssh克隆该仓库,命令应如下所示:
git clone git@bitbucket.org:TEAM/PROJECT.git

However for this to work, you need to upload your public ssh key into bitbucket. 但是,要使其正常工作,您需要将公共 ssh密钥上传到bitbucket。

On your machine you can find out your ssh public key with the command: 在您的机器上,您可以使用以下命令找到ssh公钥
cat ~/.ssh/*.pub

You need to add this key on the bitbucket site (change the USER part of the URL to your username): 您需要在bitbucket网站上添加此密钥(将URL的USER部分更改为您的用户名):

https://bitbucket.org/account/user/USER/ssh-keys/ https://bitbucket.org/account/user/USER/ssh-keys/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Rails / Heroku:致命:远程端意外挂断 - Rails / Heroku: fatal: The remote end hung up unexpectedly GitHub错误:找不到存储库。 致命:远端意外挂断 - GitHub ERROR: Repository not found. fatal: The remote end hung up unexpectedly 推送到heroku主服务器时未获得“添加了Git远程heroku”并得到错误:“致命:远程端意外挂起” - Not getting “Git remote heroku added” and getting error: “fatal: The remote end hung up unexpectedly” when pushing to heroku master “无法解决:rpc 错误:code = Unknown desc = refusing to create a tag with a digest reference”当“docker compose up”时 - "failed to solve: rpc error: code = Unknown desc = refusing to create a tag with a digest reference" When "docker compose up" Git推送错误,致命:HTTP请求失败 - Git push error, fatal: HTTP request failed 致命:HTTP请求失败 - fatal: HTTP request failed Gitolite - 远程:致命:“keydir/”指纹识别失败 - Gitolite - remote: FATAL: fingerprinting failed for 'keydir/' Git push heroku master失败,并显示“远程:致命:早期EOF错误:解包失败:索引包异常退出” - Git push heroku master fails with “remote: fatal: early EOF error: unpack failed: index-pack abnormal exit” git - 无法推送到远程,错误'致命:不是git存储库' - git - can't push to remote, error 'fatal: Not a git repository' 发送电子邮件失败时的 HTTP 状态代码 - HTTP status code when sending email failed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM