English 中文(简体)
Error Push 4. 故意致电错误:RPC失败;Carl 92 HTTP/2 溪流0未清理
原标题:Error Push Git to gitlab error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly
  • 时间:2020-08-20 11:36:09
  •  标签:
  • git
  • gitlab

I try to migrate my project on new project gitlab.com but i have this error. i try to increease the buffer but don t work

i increases the buffer at 1,5 go. but Error RPC

$ git config --global http.postBuffer 157286400

$ git push gitlab --mirror
Enumerating objects: 365, done.
Counting objects: 100% (365/365), done.
Delta compression using up to 4 threads
Compressing objects: 100% (223/223), done.
error: unable to rewind rpc post data - try increasing http.postBuffer
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
fatal: the remote end hung up unexpectedly| 0 bytes/s
Writing objects: 100% (365/365), 1.11 GiB | 66.00 KiB/s, done.
Total 365 (delta 121), reused 365 (delta 121), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

$ git push gitlab
Enumerating objects: 365, done.
Counting objects: 100% (365/365), done.
Delta compression using up to 4 threads
Compressing objects: 100% (223/223), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: Unknown error code (err 1)
fatal: the remote end hung up unexpectedlyB | 3.00 KiB/s
Writing objects: 100% (365/365), 1.11 GiB | 94.00 KiB/s, done.
Total 365 (delta 121), reused 365 (delta 121), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

$ git config --global http.postBuffer 1572864000

$ git push gitlab --mirror
Enumerating objects: 365, done.
Counting objects: 100% (365/365), done.
Delta compression using up to 4 threads
Compressing objects: 100% (223/223), done.
Writing objects: 100% (365/365), 1.11 GiB | 72.65 MiB/s, done.
Total 365 (delta 121), reused 365 (delta 121), pack-reused 0
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: Unknown error code (err 1)
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date
问题回答

I tried everything, nothing worked for me. degrading the http.version is the only way that worked for me downgrade version of HTTP from 2 to 1.1:

git config --global http.version HTTP/1.1

在你将吉大港山区改成2版之后:

git config --global http.version HTTP/2

我受审;

git config --global http.version HTTP/1.1  
git config --global http.postBuffer 157286400
git config --global http.postBuffer 524288000

甚至

git config --global core.compression 0  

“failed

但没有任何变化。 我有两倍有这一错误,一个有10个议席,一个有65个议席。

finally. I tried with a Fibre connection.

“worked

是。 尝试使用不同的高速度连接。 也许会奏效。

Good Luck!

使用:

git config --global url."[email protected]:".insteadOf "https://github.com/"   




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签