bzr branch cannot access host while putty can

Bug #593149 reported by Yannick Parmentier
8
This bug affects 1 person
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/Admin/Application Data/bazaar/2.0/plugins
0.250 looking for plugins in C:/Program Files/Bazaar/plugins
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/Admin/.ssh/known_hosts'
0.891 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 853, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1055, in run_bzr
  File "bzrlib\commands.pyo", line 661, in run_argv_aliases
  File "bzrlib\commands.pyo", line 665, in run_direct
  File "bzrlib\cleanup.pyo", line 122, in run_simple
  File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1194, in run
  File "bzrlib\bzrdir.pyo", line 958, in open_tree_or_branch
  File "bzrlib\bzrdir.pyo", line 843, in open
  File "bzrlib\bzrdir.pyo", line 873, in open_from_transport
  File "bzrlib\lazy_import.pyo", line 125, in __call__
  File "bzrlib\transport\__init__.pyo", line 1644, in do_catching_redirections
  File "bzrlib\bzrdir.pyo", line 860, in find_format
  File "bzrlib\bzrdir.pyo", line 1820, in find_format
  File "bzrlib\bzrdir.pyo", line 1830, in probe_transport
  File "bzrlib\transport\sftp.pyo", line 435, in get_bytes
  File "bzrlib\transport\sftp.pyo", line 425, in get
  File "bzrlib\transport\sftp.pyo", line 397, in _get_sftp
  File "bzrlib\transport\sftp.pyo", line 389, in _create_connection
  File "bzrlib\transport\ssh.pyo", line 330, in connect_sftp
  File "bzrlib\transport\ssh.pyo", line 293, in _connect
  File "bzrlib\transport\ssh.pyo", line 252, in _raise_connection_error
SocketConnectionError: Unable to connect to SSH host ...... ; (10050, 'Network is down')

Revision history for this message
Yannick Parmentier (yannick-parmentier) wrote :

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:
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/Admin/Application Data/bazaar/2.0/plugins
0.266 looking for plugins in C:/Program Files/Bazaar/plugins
0.594 encoding stdout as sys.stdout encoding 'cp1252'
0.703 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 853, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1055, in run_bzr
  File "bzrlib\commands.pyo", line 661, in run_argv_aliases
  File "bzrlib\commands.pyo", line 665, in run_direct
  File "bzrlib\cleanup.pyo", line 122, in run_simple
  File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1194, in run
  File "bzrlib\bzrdir.pyo", line 958, in open_tree_or_branch
  File "bzrlib\bzrdir.pyo", line 842, in open
  File "bzrlib\lazy_import.pyo", line 125, in __call__
  File "bzrlib\transport\__init__.pyo", line 1555, in get_transport
  File "bzrlib\directory_service.pyo", line 58, in dereference
  File "C:/Program Files/Bazaar/plugins\launchpad\lp_directory.py", line 60, in look_up
  File "C:/Program Files/Bazaar/plugins\launchpad\lp_directory.py", line 70, in _resolve
  File "C:/Program Files/Bazaar/plugins\launchpad\lp_registration.py", line 275, in submit
  File "C:/Program Files/Bazaar/plugins\launchpad\lp_registration.py", line 198, in send_request
  File "xmlrpclib.pyo", line 1147, in __call__
  File "xmlrpclib.pyo", line 1437, in __request
  File "C:/Program Files/Bazaar/plugins\launchpad\lp_registration.py", line 74, in request
  File "urllib2.pyo", line 381, in open
  File "urllib2.pyo", line 399, in _open
  File "urllib2.pyo", line 360, in _call_chain
  File "bzrlib\transport\http\_urllib2_wrappers.pyo", line 722, in https_open
  File "bzrlib\transport\http\_urllib2_wrappers.pyo", line 628, in do_open
  File "bzrlib\transport\http\_urllib2_wrappers.pyo", line 545, in retry_or_raise
  File "bzrlib\transport\http\_urllib2_wrappers.pyo", line 628, in do_open
  File "bzrlib\transport\http\_urllib2_wrappers.pyo", line 616, in do_open
  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\transport\http\_urllib2_wrappers.pyo", line 318, in connect
  File "httplib.pyo", line 683, in connect
ConnectionError: Connection error: while sending POST /bazaar/: (10050, 'Network is down')

0.703 return code 3

Revision history for this message
Yannick Parmentier (yannick-parmentier) wrote :

This is not a bug, in fact I forgot to add an exception for bazaar in the firewall. Sorry for the erroneous bug report.

Changed in bzr:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.