We are getting below error when we clone a particular repository from bitbucket.
We also tried setting post buffer and shallow cloning which din help us.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
Please help us to resolve this issue.
Hello Shishir,
This error seems to happen more commonly with a slow, throttled, or troubled connection. There is an additional option to use SSH when cloning. You may find more about using SSH at Set up an SSH key.
If SSH is not an option then you may attempt the following:
git clone http://bitbucket.server.com/repo_name --depth 1
git fetch --unshallow
Please let us know if this assists with completing your clone.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.