launchpad plugin xmlrpc does not use $http_proxy (branching lp: uris does not use system http proxy)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
In my company network we have to use http proxy, else http connections just timeout. bzr branch lp:something does not use $http_proxy and so it times out.
gjc@spectrum:tmp$ bzr branch lp:pybindgen
bzr: ERROR: socket.error: (110, 'Connection timed out')
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
br_from = Branch.
File "/usr/lib/
possible_
File "/usr/lib/
return BzrDir.
File "/usr/lib/
redirected)
File "/usr/lib/
return obj(*args, **kwargs)
File "/usr/lib/
return action(transport)
File "/usr/lib/
transport, _server_
File "/usr/lib/
return format.
File "/usr/lib/
format_string = transport.
File "/usr/lib/
self.
File "/usr/lib/
target = self._resolve(
File "/usr/lib/
result = resolve.
File "/usr/lib/
self.
File "/usr/lib/
result = method(
File "xmlrpclib.py", line 1147, in __call__
return self.__
File "xmlrpclib.py", line 1437, in __request
verbose=
File "xmlrpclib.py", line 1183, in request
self.
File "xmlrpclib.py", line 1297, in send_content
connection.
File "httplib.py", line 856, in endheaders
self.
File "httplib.py", line 728, in _send_output
self.send(msg)
File "httplib.py", line 695, in send
self.connect()
File "httplib.py", line 1130, in connect
sock.
File "<string>", line 1, in connect
error: (110, 'Connection timed out')
bzr 1.0.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'lp:pybindgen']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
gnulog /home/gjc/
launchpad /usr/lib/
multiparent /usr/lib/
signing /home/gjc/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
But normal bzr works fine with proxy:
gjc@spectrum:tmp$ bzr branch http://
Branched 329 revision(s).
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Still actual for bzr 1.5
bzr: ERROR: socket.error: (10060, 'Operation timed out')
Traceback (most recent call last): commands. pyc", line 846, in run_bzr_ catch_errors commands. pyc", line 797, in run_bzr commands. pyc", line 499, in run_argv_aliases builtins. pyc", line 916, in run bzrdir. pyc", line 789, in open_tree_or_branch bzrdir. pyc", line 666, in open lazy_import. pyc", line 125, in __call__ transport\ __init_ _.pyc", line 1527, in get_transport directory_ service. pyc", line 52, in dereference VCS/Bazaar/ plugins\ launchpad\ lp_directory. py", line 60, in look_up VCS/Bazaar/ plugins\ launchpad\ lp_directory. py", line 76, in _resolve VCS/Bazaar/ plugins\ launchpad\ lp_registration .py", line 182, in submit VCS/Bazaar/ plugins\ launchpad\ lp_registration .py", line 147, in send_request
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Tools/
File "C:/Tools/
File "C:/Tools/
File "C:/Tools/
File "xmlrpclib.pyc", line 1147, in __call__
File "xmlrpclib.pyc", line 1437, in __request
File "xmlrpclib.pyc", line 1183, in request
File "xmlrpclib.pyc", line 1297, in send_content
File "httplib.pyc", line 860, in endheaders
File "httplib.pyc", line 732, in _send_output
File "httplib.pyc", line 699, in send
File "httplib.pyc", line 1134, in connect
File "<string>", line 1, in connect
error: (10060, 'Operation timed out')
bzr 1.5 on python 2.5.2 (win32) VCS\Bazaar\ plugins\ launchpad [unknown] /bugs.launchpad .net/bzr/ +filebug
arguments: ['bzr', 'branch', 'lp:gnuhello']
encoding: 'cp1251', fsenc: 'mbcs', lang: 'C'
plugins:
launchpad C:\Tools\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.