Got the same error while trying to set up bzr access through corporate proxy server with authentication.
I set the "http_proxy" environment to include user and password, this gives the following error: bzr: ERROR: pycurl.error: (65, "necessary data rewind wasn't possible\n") Traceback (most recent call last): File "bzrlib\commands.pyc", line 846, in run_bzr_catch_errors File "bzrlib\commands.pyc", line 797, in run_bzr File "bzrlib\commands.pyc", line 499, in run_argv_aliases File "bzrlib\builtins.pyc", line 916, in run File "bzrlib\bzrdir.pyc", line 789, in open_tree_or_branch File "bzrlib\bzrdir.pyc", line 667, in open File "bzrlib\bzrdir.pyc", line 704, in open_from_transport File "bzrlib\lazy_import.pyc", line 125, in __call__ File "bzrlib\transport\__init__.pyc", line 1616, in do_catching_redirections File "bzrlib\bzrdir.pyc", line 681, in find_format File "bzrlib\bzrdir.pyc", line 1440, in find_format File "bzrlib\bzrdir.pyc", line 2398, in probe_transport File "bzrlib\smart\medium.pyc", line 421, in protocol_version File "bzrlib\smart\protocol.pyc", line 620, in query_version File "bzrlib\smart\protocol.pyc", line 488, in call File "bzrlib\smart\medium.pyc", line 348, in finished_writing File "bzrlib\transport\http\__init__.pyc", line 539, in _finished_writing File "bzrlib\transport\http\__init__.pyc", line 518, in send_http_smart_reques t File "bzrlib\transport\http\_pycurl.pyc", line 268, in _post File "bzrlib\transport\http\_pycurl.pyc", line 325, in _curl_perform error: (65, "necessary data rewind wasn't possible\n") bzr 1.5 on python 2.5.2 (win32) arguments: ['C:\\localdata\\Bazaar\\bzr.exe', 'branch', 'http://xxx'] encoding: 'cp1252', fsenc: 'mbcs', lang: None plugins: launchpad C:\localdata\Bazaar\plugins\launchpad [unknown] *** 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. Using "http+urllib" instead results in bzr: ERROR: Invalid http response for http://xxx: Unable to handle http code 407: Proxy Authentication Required -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/365874 Title: curl error: necessary data rewind wasn't possible To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/365874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs