How do I use Bazaar with a HTTP proxy? I can't find anything in their documentation.
+5
A:
Set the http_proxy
environment variable to point to your proxy, eg. (on Windows):
set http_proxy=http://webcache.mycompany.com:3128/
See the "Environment variables" section of http://bazaar-vcs.org/ConfiguringBzr
RichieHindle
2009-06-24 15:24:16
Currently, we have a project hosted over launchpad and our network is behind a proxy which does not allow us to send data over SSH. I'm currently using Windows XP and have set the http_proxy variable. Since it doesn't work, I'm assuming that regardless of having set the proxy variable, the restriction of the proxy to SSH is causing the problem. Will it solve the problem then if I request SSH be allowed by our network administrator? Or can I resolve this problem without having to ask changes in our network settings?Thanks!
Paul
2009-11-10 08:20:03
@Paul: Do you really mean SSH? Or SSL? If you're using HTTP, you're not using SSH. You're using SSL if your URLs start with 'https', and your proxy will need to allow SSL (aka TLS). But I don't know anything about Launchpad - does it require SSL? Can you simply remove the 's' from 'https'? If you really do mean SSH, I don't think your proxy is relevant - instead, you need to configure your firewall to allow outgoing SSH.
RichieHindle
2009-11-10 09:57:52
@RichieHindle: launchpad seems to require SSH to send account details and allow you to access/modify files in the server. In this case you're right, it is probably not the proxy causing the problem but the firewall. Thanks!
Paul
2009-11-11 04:35:56
+1
A:
Also do not forget to set HTTPS_PROXY
environment variable.
set https_proxy=http://my.proxy.com:3128/
sax
2010-03-17 10:07:18