[Bitbucket] GetAddrInfo Failed

Hi there,

I've been using version control for my Unity Prototype so I can keep stable builds. Now I've used Mercurial etc. before but mostly while working with TortoiseHG. I recently switched over to Atlassian Sourcetree for convience because I was hosting my repo's on Bitbucket anyway.

Now I'm running into a lot of problems pushing. I can pull quite decently from my remote repository through bitbucket, but when I try to push I get the error GetAddrInfo failed. I have tried a couple of things already

  • Shave off veraduxxz@ from the URL
  • Try to push my remote branch first
  • Try to merge to default and push again (it's a finished piece anyway, so the merge had to happen eventually) 

Everytime I try to push to the repo, I get the error. I am pushing my latest commit in all cases. The files I am trying to push are just the Asset files in my Unity folder which have been changed, created or deleted. Meta-data is visible.




1 answer

0 vote

Hi Heerco, 

I believe one of these factors might causing this issue:

1 - Sounds like you might need to tell Mercurial what your proxy settings are. First hit for "mercurial proxy":


2 - I think the repository you're cloning contain sub-repositories.

The error message is saying that Mercurial can't find the IP address for something (i.e. a DNS lookup has failed), but you've obviously managed to connect to the server with the initial repository on it. Sub-repositories are cloned during the update process of the parent. The fact that you're getting the error just after the updating to branch trunk message leads to the conclusion that this is your problem.

Look at the contents of .hgsub in the original repository. If it has anything in it, it will have the URLs of any sub-repositories. I suspect these URLs have been written in a way that means they aren't accessible from the machine you're trying to clone to. If possible, fix these to make them general enough to work anywhere.



Renato Rudnicki

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,007 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you