-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git clone "error: RPC failed; curl 56 Failure when receiving data from the peer" #5265
Comments
We are seeing the same thing:
Adding Install options
|
This error looks a bit different than
though. In any case, maybe switching to the Secure Channel backend via |
On my client and server this is already in the Client:
Server:
|
Oddly enough, I was having the same Issue when I need to clone "googletest" as part of my make file build. (cmake ..)
Attempting to install the submodule with
seems to work (bypass the GnuTLS error), yet when I proceed onwards to actually building the program files, I now obtain a sort of error (see openfheorg/openfhe-development#409) which I would have not got if everything ran smoothly from the start (I verified this by attempting to set up the program files on a different machine)
[See the Linux installation instructions of https://github.com/openfheorg/openfhe-development --- to attempt to replicate the exact issue] |
Having that version on both the server and the client. |
Same with
|
This suggests to me that there is either a proxy or the server itself that enforce some sort of timeout, and that the sheer amount of data is the issue (which would be consistent with the report that shallow clones work: That reduces the amount of data to be transferred). |
I don't think the Server itself hosting As in my OP i already tried raising some limits that came up on a google search. If you have any input on what and where to configure then please advise. Also let me know if you need more information on how to diagnose what is going on. |
I suspect that there is nothing you can do locally, as it was the server that hung up unexpectedly, not the client.
The command inside the clone chain that fails is on the local side. If it was Git itself that hung up, it would most likely send an error message first. To me, that indicates that it is the web server itself, or a proxy (such as a load-balancing proxy) that just cuts off the communication. In other words, my impression is that the problem is not at the application level, but at the transport level.
Unfortunately I do not really have anything useful to say here. I would stab in the dark, just like you, for example trying to figure out whether this happens after the clone takes a specific number of seconds, or after a specific number of bytes was transferred. I would try to contact the administrator of the server and ask them to look in the server logs whether they can see anything unusual that would explain the symptoms. |
The server administrator sent me this saying there is nothing in it that suggests the server itself is acting up:
|
Setup
defaults?
to the issue you're seeing?
Repository is hosted on a Server with git-http-backend.exe
Details
Bash/CMD
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Cloning without errors.
I don't know where to start because the error message is unhelpful.
Randomly setting
on the client and server has had no effect.
Setting
GIT_HTTP_MAX_REQUEST_BUFFER
to100M
from default10M
has no effect.GIT_CURL_VERBOSE=1
does not reveal any helpful information to me.A shallow clone works without error:
The text was updated successfully, but these errors were encountered: