bzr xmlrpc client doesn't use http proxy, causing network errors trying to resolve lp: urls
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Vincent Ladeuil | ||
Launchpad itself |
Invalid
|
Undecided
|
Unassigned | ||
Python |
Confirmed
|
Unknown
|
Bug Description
When trying to push to launchpad using lp: url, I got the following:
bzr: ERROR: socket.gaierror: (-3, 'Temporary failure in name resolution')
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
dir_to = bzrdir.
File "/home/
redirected)
File "/home/
return action(transport)
File "/home/
transport, _server_
File "/home/
return format.
File "/home/
format_string = transport.
File "/home/
self.
File "/home/
target = self._resolve(
File "/home/
result = resolve.
File "/home/
self.
File "/home/
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
gaierror: (-3, 'Temporary failure in name resolution')
bzr 1.1.0 on python 2.5.1.final.0 (linux2)
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
gnulog /home/david/
gtk /home/david/
launchpad /home/david/
multiparent /home/david/
qbzr /home/david/
svn /home/david/
*** 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.
My configuration is unusual in the sense that the proxy is used for name resolution: without using the proxy, my workstation can not resolve any network name outside my local network. I reported a similar problem for plain bzr a year ago, which was solved, but I cannot retrieve the bug, unfortunately (V. Ladeuil was the maintainer who solved it).
Changed in python: | |
status: | Unknown → Confirmed |
summary: |
- bzr launchpad does not handle proxy when used for name resolution + bzr xmlrpc client doesn't use http proxy, causing network errors trying + to resolve lp: urls |
Changed in bzr: | |
importance: | Medium → High |
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
status: | Triaged → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
milestone: | none → 2.1.0b2 |
May be you refer to bug #74759 ?
But the code path in that bug involved http, that's not the case here.