Comment 25 for bug 186920

Revision history for this message
yarko (yarkot) wrote : Re: [Bug 186920] Re: bzr launchpad does not handle proxy when used for name resolution

Behind proxy, I sparodically get stuff like this:

Merging from remembered parent location
http://bazaar.launchpad.net/~mdipierro/web2conf/devel/
bzr: ERROR: Invalid http response for
http://bazaar.launchpad.net/%7Emdipierro/web2conf/devel/.bzr/repository/packs/c27a5afe823f2b87b7b46e1136bfa12d.pack:
Expected a boundary (1i4ZlhblF0tixfV2r?mo) line, got ''

(on either Fedora or Windows).

I see this on numerous repositories - and accross bzr versions (currently

Regards,
Yarko

On Thu, Dec 4, 2008 at 8:05 AM, Lionel Dricot <email address hidden> wrote:

> vila : that's what I did but I have :
>
> bzr: ERROR: Connection error: while sending POST
> /%7Egtg/gtg/trunk/.bzr/smart: (8, 'EOF occurred in violation of
> protocol')
>
> So I assume that this error is not related to the current bug.
>
> --
> bzr launchpad does not handle proxy when used for name resolution
> https://bugs.launchpad.net/bugs/186920
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in Bazaar Version Control System: Triaged
> Status in Launchpad Bazaar Integration: Confirmed
> Status in Python: Confirmed
>
> 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/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/commands.py",
> line 806, in run_bzr_catch_errors
> return run_bzr(argv)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/commands.py",
> line 762, in run_bzr
> ret = run(*run_argv)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/commands.py",
> line 492, in run_argv_aliases
> return self.run(**all_cmd_args)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/builtins.py",
> line 726, in run
> dir_to = bzrdir.BzrDir.open_from_transport(to_transport)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/bzrdir.py",
> line 688, in open_from_transport
> redirected)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/transport/__init__.py",
> line 1661, in do_catching_redirections
> return action(transport)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/bzrdir.py",
> line 665, in find_format
> transport, _server_formats=_server_formats)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/bzrdir.py",
> line 1417, in find_format
> return format.probe_transport(transport)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/bzrdir.py",
> line 1427, in probe_transport
> format_string = transport.get(".bzr/branch-format").read()
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/plugins/launchpad/lp_indirect.py",
> line 137, in get
> self._request_redirect(relpath)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/plugins/launchpad/lp_indirect.py",
> line 130, in _request_redirect
> target = self._resolve(branchpath) + extra
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/plugins/launchpad/lp_indirect.py",
> line 85, in _resolve
> result = resolve.submit(service)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/plugins/launchpad/lp_registration.py",
> line 155, in submit
> self._authenticated)
> File
> "/home/david/local/stow/bzr-1.1/lib/python2.5/site-packages/bzrlib/plugins/launchpad/lp_registration.py",
> line 120, in send_request
> result = method(*method_params)
> File "xmlrpclib.py", line 1147, in __call__
> return self.__send(self.__name, args)
> File "xmlrpclib.py", line 1437, in __request
> verbose=self.__verbose
> File "xmlrpclib.py", line 1183, in request
> self.send_content(h, request_body)
> File "xmlrpclib.py", line 1297, in send_content
> connection.endheaders()
> File "httplib.py", line 856, in endheaders
> self._send_output()
> 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.connect((self.host, self.port))
> 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/david/local/bin/bzr', 'push',
> 'lp:~david-ar/numpy.scons.support/0.4']
> encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
> plugins:
> gnulog /home/david/.bazaar/plugins/gnulog.pyc [unknown]
> gtk /home/david/.bazaar/plugins/gtk [0.93.0]
> launchpad
> /home/david/local/lib/python2.5/site-packages/bzrlib/plugins/launchpad
> [unknown]
> multiparent
> /home/david/local/lib/python2.5/site-packages/bzrlib/plugins/multiparent.pyc
> [unknown]
> qbzr /home/david/.bazaar/plugins/qbzr [0.8.0dev0]
> svn /home/david/.bazaar/plugins/svn [0.4.7dev0]
> *** Bazaar has encountered an internal error.
> Please report a bug at https://bugs.launchpad.net/bzr/+filebug
> 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).
>