Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to check out the source code of opencog(cogbuntu) using bazaar using the commands they had mentioned in their wiki.

This is the code entered in the terminal

bzr branch -r40 lp:cogbuntu cogbuntu-11.10

This is the error I got

ERROR: Connection error: while sending CONNECT [Errno 113] No route to host

Can anyone explain how to make this thing work?

share|improve this question

I had a very similar problem until recently.

First of all, if you are behind a proxy, you need to set https_proxy, NOT "http_proxy", because Launchpad uses https. If you have curl or wget, you can confirm your proxy setting is working by running something like this:


Secondly, there has been a long-standing bug about ssl certificates, which would prevent you from checking out projects through a proxy, even if correctly configured. This has been fixed in version 2.5.1. If you have an earlier version, even 2.5, you have to upgrade to 2.5.1 (the current stable).

share|improve this answer

Do you perhaps have a HTTP proxy? echo $http_proxy should tell you.

You may want to try:

 bzr branch -r40 cogbuntu-11.10

which will avoid the XMLRPC step.

share|improve this answer
I check the HTTP proxy, there was one. I remove the proxy using following command export http_proxy="" I get the same error even after doing this: bzr branch -r40 cogbuntu-11.10 When I try to branch using the above Bazaar command I get the following error: ERROR: Connection error: curl connection error (couldn't connect to host) on – user1259621 Jul 25 '12 at 11:22
Does this error has something to do with curl download manager. I've tried it after doing both uninstalling & re-installing curl. But I get the same error How do I work this thing around? – user1259621 Jul 25 '12 at 11:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.