I have created a public repository on bit bucket website. I can run the clone command from outside the office network (LAN).
But it is not working inside the office network. I am suspecting it is to do with firewall or proxy settings. I can access the URL from browser window (IE9/Chrome).
Please help in fixing this problem. Thanks.
Command:
hg clone https://bitbucket.org/gbsandeep/test2
abort: error: getaddrinfo failed
PS: I went through other posts but it did not help.
If you find yourself on this page because you've hit a getaddr
error when using the hg-git
plugin with a username, it is likely that you've hit the Fails with username in URL (getaddreinfo failed) bug.
Thus:
$ hg clone https://foo@stash/
abort: error: getaddrinfo failed
$ hg clone https://stash/
http authorization required for http://stash.....
realm: Atlassian Stash
user: ...
(Doesn't solve the original user's issue, but can be a cause of the same symptoms).
Sounds like you might need to tell Mercurial what your proxy settings are. First hit for "mercurial proxy":
http://www.markhneedham.com/blog/2009/05/13/mercurial-pulling-from-behind-a-proxy/
If you need to figure out what settings to use, you should probably look at what your IE settings are, e.g. by going to the Internet Properties | Connections | LAN Settings
dialog.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With