bzr branch cannot access host while putty can
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When I try to create a branch from an existing repository (using the protocol sftp), I systematically get the following message:
bzr: ERROR: Unable to connect to SSH host ... (10050, 'Network is down')
I am running windows XP, installed bazaar 2.1 via the msi installer. I run bzrlib 2.1.1, python 2.5.4, and putty as the SSH agent.
I did the same branching under linux and it works well. Also, when I open an SSH session on the host via putty, there is no problem.
For debug purposes, here is my traceback:
sam. 2010-06-12 21:24:38 +0200
0.235 bazaar version: 2.1.1
0.235 bzr arguments: [u'branch', u'sftp://
0.250 looking for plugins in C:/Documents and Settings/
0.250 looking for plugins in C:/Program Files/Bazaar/
0.594 encoding stdout as sys.stdout encoding 'cp1252'
0.782 bzr-svn: using Subversion 1.6.6 ()
0.860 falling back to default implementation
0.875 failed to load system host keys: [Errno 2] No such file or directory: 'C:/Documents and Settings/
0.891 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
SocketConnectio
Any attempt to get a branch from a launchpad repository returns the same error:
bzr branch lp:xmg
bzr: ERROR: Connection error: while sending POST /bazaar/: (10050, 'Network is down')
Here is the trace: Admin/Applicati on Data/bazaar/ 2.0/plugins plugins commands. pyo", line 853, in exception_ to_return_ code commands. pyo", line 1055, in run_bzr commands. pyo", line 661, in run_argv_aliases commands. pyo", line 665, in run_direct cleanup. pyo", line 122, in run_simple cleanup. pyo", line 156, in _do_with_cleanups builtins. pyo", line 1194, in run bzrdir. pyo", line 958, in open_tree_or_branch bzrdir. pyo", line 842, in open lazy_import. pyo", line 125, in __call__ transport\ __init_ _.pyo", line 1555, in get_transport directory_ service. pyo", line 58, in dereference plugins\ launchpad\ lp_directory. py", line 60, in look_up plugins\ launchpad\ lp_directory. py", line 70, in _resolve plugins\ launchpad\ lp_registration .py", line 275, in submit plugins\ launchpad\ lp_registration .py", line 198, in send_request plugins\ launchpad\ lp_registration .py", line 74, in request transport\ http\_urllib2_ wrappers. pyo", line 722, in https_open transport\ http\_urllib2_ wrappers. pyo", line 628, in do_open transport\ http\_urllib2_ wrappers. pyo", line 545, in retry_or_raise transport\ http\_urllib2_ wrappers. pyo", line 628, in do_open transport\ http\_urllib2_ wrappers. pyo", line 616, in do_open transport\ http\_urllib2_ wrappers. pyo", line 318, in connect
sam. 2010-06-12 21:44:40 +0200
0.250 bazaar version: 2.1.1
0.250 bzr arguments: [u'branch', u'lp:xmg']
0.266 looking for plugins in C:/Documents and Settings/
0.266 looking for plugins in C:/Program Files/Bazaar/
0.594 encoding stdout as sys.stdout encoding 'cp1252'
0.703 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "xmlrpclib.pyo", line 1147, in __call__
File "xmlrpclib.pyo", line 1437, in __request
File "C:/Program Files/Bazaar/
File "urllib2.pyo", line 381, in open
File "urllib2.pyo", line 399, in _open
File "urllib2.pyo", line 360, in _call_chain
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "httplib.pyo", line 889, in _send_request
File "httplib.pyo", line 860, in endheaders
File "httplib.pyo", line 732, in _send_output
File "httplib.pyo", line 699, in send
File "bzrlib\
File "httplib.pyo", line 683, in connect
ConnectionError: Connection error: while sending POST /bazaar/: (10050, 'Network is down')
0.703 return code 3