abort: error: nodename nor servname provided, or not known error
Asked Answered
E

7

8

can anyone help ?? i am getting this error while connecting..

abort: error: nodename nor servname provided, or not known

please help me out.

Actually I want to get the source of coreplot from a repository I am executing this command in the terminal

"hg clone core-plot.googlecode.com/hg core-plot "

and i get the error ...

"abort: error: nodename nor servname provided or not known,"

Can any1 help me?

Eamon answered 10/8, 2009 at 12:34 Comment(2)
Please provide more details: connecting to what?Willis
What are you trying to connect to? Using what utility/library/language/protocol? We're not telepaths.Crescint
P
8

Check your proxy settings. I've had issues with having my http_proxy/https_proxy environment variables set to a corporate setting while off-corp-LAN and have seen similar responses.

Pyo answered 4/8, 2010 at 14:38 Comment(2)
Thanks. That was precisely my problem.Johnjohna
I just had a similar issue - at some point I had lost my wifi connection. It's hard to pull when you don't have an internet connection :/Kimble
B
2

This is often intermittent and DNS related. Check your network connectivity and/or proxy settings.

Bernardobernarr answered 21/9, 2013 at 17:38 Comment(0)
A
1

This message indicates a general networking issue. See if you can ping the hostname in question. If you can't reach it you may need to manually update your "hosts" file or perform other related DNS voodoo until the ping returns.

Architectural answered 18/7, 2014 at 6:15 Comment(0)
B
1

This is how I solved it on mac:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Balenciaga answered 2/3, 2021 at 15:6 Comment(1)
This worked for me, as well. What does it do?Apia
W
0

Try

hg clone https://core-plot.googlecode.com/hg/ core-plot

Note that the https:// is required.

Waverley answered 10/8, 2009 at 23:53 Comment(1)
Hi Eric ,I tried that but still I am getting the same error.Do I have to change any settings before executing the command?...Eamon
J
0

While it's not 100% related (as I think the original issue was a missing "https://") I wanted to post my problem for SO google-juice.

I was having the same error message when cloning from bitbucket.org; I had missed adding @ to the url:

hg clone https://<my_username>@bitbucket.org/<someone>/<project>/
Jessejessee answered 7/11, 2009 at 11:21 Comment(0)
T
0

This message indicates a general networking issue. See your network with connected with correct connection or any other connection.

Example: In my office if i connect with Lan only then the mercurial will work(Like clone or update or pull). But i tried via guest connection(Wifi). Once i change this now its working.

Tenon answered 26/12, 2016 at 12:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.