When I try to install RVM the following error shows up:
$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Cloning into rvm...
fatal: The remote end hung up unexpectedly
Cloning into rvm...
error: RPC failed; result=56, HTTP code = 100
fatal: The remote end hung up unexpectedly
ERROR: Unable to clone the RVM repository, attempted both git:// and https://
This is a git clone
error I'm getting recently. e.g When I try to clone nodejs.
error: RPC failed; result=56, HTTP code = 100
fatal: The remote end hung up unexpectedly
What is the problem?
It would seem you're having some sort of network issue that is preventing you
from retrieving the Git repository. The RVM script attempts to
clone the repository first using
git clone --depth 1 git://github.com/wayneeseguin/rvm.git
, and if that fails,
using git clone https://github.com/wayneeseguin/rvm.git
. Git uses
libcurl. The result=56
part of the RPC failed
error is the
libcurl error code; 56
means Failure with receiving network data.
.
The HTTP code = 100
part is the HTTP server status code that
was returned to you; 100
means The client SHOULD continue with its request.
.
Your best bet is probably to start a network traffic sniffer
(on Ubuntu, you can use Wireshark) to see exactly what packets are
being transmitted/received on your workstation. Try installing RVM on different workstations in your network and on different networks. I did not have any issues on my machine.