Git click failed. error: RPC failed; result = 56, HTTP code = 0

I use the bitbucket repository and I made a lot of changes to the project. Therefore, when I click on rep, I have an error. SourceTree: git -c diff.mnemonicprefix = false -c core.quotepath = false push -v -tags origin Developer: Develop POST git -receive-pack (23013447 bytes)

fatal: the remote end hangs up unexpectedly fatal: the remote end hangs up unexpectedly

error: RPC error; result = 56, HTTP code = 0

Clicking on a bitbucket . All updated

Done with errors, see above.

I tried:

git config --global http.postBuffer2M git config http.postBuffer 524288000 

but it doesn’t help.

+6
source share
1 answer

The error from what I know means that the download link is completed as intended. This is usually due to timeout or network connectivity issues. As the buffer size increases, the servers should not fail, but you may have other problems to check, as shown below. Please note that I assume that you have a space between http.postBuffer and 2M in "git config --global http.postBuffer 2M", since your original post was not, and I thought it was a typo when typing here. You can also change the global buffer to a much larger size, for example, using 524288000 (this is 500 MB) instead of 2M (i.e. git config - global http.postBuffer 524288000)

A few other things:

  • If you have a software firewall, such as Kaspersky AV, disable it and try again.
  • If you're on a wireless connection, switch to wired Ethernet. Some wireless adapters / drivers seem problematic with large commits.
  • Make sure you have a reliable link for your ISP.
  • Also, if you use HTTP for git, install an SSH key pair and use them instead.
+11
source

Source: https://habr.com/ru/post/984936/


All Articles