chenino
chenino

Reputation: 454

git clone connection refused

I'm pretty new and trying to set up an environment for my Econotag. Using this guide https://github.com/malvira/libmc1322x/wiki/libmc1322x I am getting an error message .

user@instant-contiki:~$ git clone git://git.devl.org/git/malvira/libmc1322x.git
Cloning into 'libmc1322x'...
fatal: unable to connect to git.devl.org:
git.devl.org[0: 209.208.78.21]: errno=Connection refused

How to get around this

Upvotes: 5

Views: 38118

Answers (5)

pawele
pawele

Reputation: 11

I had the same error with RIOT-OS, substituting git: with http: worked!

Upvotes: 1

Rajendra
Rajendra

Reputation: 86

I also faced same problem I tried all nothing worked later on I come to know there is problem on server. Please check basic things before trying other experiments that might save your time.

Upvotes: 0

Amos Folarin
Amos Folarin

Reputation: 2179

Looks like an empty repo (git.devl.org/git/malvira/libmc1322x.git). I think this is the intended replacement https://github.com/malvira/libmc1322x.git

git clone https://github.com/malvira/libmc1322x.git

works fine for me.

Upvotes: 3

vonbrand
vonbrand

Reputation: 11791

That means that you can't connect to the server over the native git protocol. Note that git native protocol uses ports 9418 TCP and UDP, those might be blocked by some firewall on the way. Or the server itself might be refusing connections. To check for such problems, try cloning a small repository from elsewhere, like git clone git://git.kernel.org/pub/scm/editors/uemacs/uemacs.git (if you love emacs, but hate it's size, it might be for you ;-)

Check that the URL you are giving is right (i.e., git:// and not e.g. http:// or something else). Maybe you need to set up an SSH key, an account, or something else first.

Upvotes: 5

user3279067
user3279067

Reputation:

Are you working beside a proxy ? If yes you might want to try the following commands in your terminal :

echo $http_proxy

If nothing gets out of that you should reconfigure your .bashrc

Upvotes: 3

Related Questions