TooManyConcurrentRequests when failing to open ssh connection

Bug #633584 reported by Rafael Rivera
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Upon attempting commit with Pageant turned off, bzr fails to load the ssh keys needed for communication. This results in a misleading TooManyConcurrentRequests error.

Wed 2010-09-08 17:45:13 -0400
0.052 bazaar version: 2.1.1
0.052 bzr arguments: [u'-Dhpss', u'commit', u'-m', u'Support for user access/control of session.', u'src/core.h', u'src/wpp.cpp']
0.064 looking for plugins in C:/Users/Rafael Rivera/AppData/Roaming/bazaar/2.0/plugins
0.064 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.179 encoding stdout as sys.stdout encoding 'cp437'
0.219 opening working tree 'C:/Users/Rafael Rivera/Documents/Visual Studio 2010/Projects/CoApp/coapp-trace'
0.266 hpss: Built a new medium: SmartSSHClientMedium
0.289 bzr-svn: using Subversion 1.6.6 ()
0.398 hpss call: 'BzrDir.open_2.1', '~coapp-trace-developers/coapp-trace/trunk/'
0.398 (to bzr+ssh://
0.409 falling back to default implementation
0.409 failed to load system host keys: [Errno 2] No such file or directory: 'C:\\Users\\Rafael Rivera/.ssh/known_hosts'
[ 5936] 2010-09-08 17:45:14.440 INFO: Connected (version 2.0, client Twisted)
1.471 Could not connect to bound branch, falling back to local nick.
 Unable to connect to target of bound branch BzrBranch7('file:///C:/Users/Rafael%20Rivera/Documents/Visual%20Studio%202010/Projects/CoApp/coapp-trace/') => bzr+ssh:// Connection error: Unable to authenticate to SSH host as
  <email address hidden>
supported auth types: ['publickey']
1.471 preparing to commit
1.495 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 3138, in run
  File "bzrlib\decorators.pyo", line 194, in write_locked
  File "bzrlib\workingtree_4.pyo", line 197, in commit
  File "bzrlib\decorators.pyo", line 194, in write_locked
  File "bzrlib\mutabletree.pyo", line 225, in commit
  File "bzrlib\commit.pyo", line 257, in commit
  File "bzrlib\cleanup.pyo", line 118, in run
  File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
  File "bzrlib\commit.pyo", line 332, in _commit
  File "bzrlib\commit.pyo", line 473, in _check_bound_branch
  File "bzrlib\decorators.pyo", line 140, in read_locked
  File "bzrlib\branch.pyo", line 2381, in get_master_branch
  File "bzrlib\branch.pyo", line 169, in open
  File "bzrlib\bzrdir.pyo", line 843, in open
  File "bzrlib\bzrdir.pyo", line 878, in open_from_transport
  File "bzrlib\bzrdir.pyo", line 2088, in open
  File "bzrlib\bzrdir.pyo", line 3327, in _open
  File "bzrlib\remote.pyo", line 115, in __init__
  File "bzrlib\remote.pyo", line 127, in _probe_bzrdir
  File "bzrlib\remote.pyo", line 134, in _rpc_open_2_1
  File "bzrlib\remote.pyo", line 52, in _call
  File "bzrlib\smart\client.pyo", line 132, in call
  File "bzrlib\smart\client.pyo", line 145, in call_expecting_body
  File "bzrlib\smart\client.pyo", line 90, in _call_and_read_response
  File "bzrlib\smart\client.pyo", line 45, in _send_request
  File "bzrlib\smart\client.pyo", line 115, in _construct_protocol
  File "bzrlib\smart\medium.pyo", line 707, in get_request
  File "bzrlib\smart\medium.pyo", line 916, in __init__
TooManyConcurrentRequests: The medium 'SmartSSHClientMedium(bzr+ssh://<email address hidden>/)' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.

1.497 couldn't find apport bug-reporting library: No module named apport
1.505 Traceback (most recent call last):
  File "bzrlib\plugin.pyo", line 471, in _get__version__
  File "bzrlib\__init__.pyo", line 93, in _format_version_tuple
IndexError: tuple index out of range

1.515 Transferred: 0KiB (0.0K/s r:0K w:0K)
1.516 return code 4
[ 5936] 2010-09-08 17:45:15.309 INFO: HPSS calls: 2 (0 vfs) SmartSSHClientMedium(bzr+ssh://<email address hidden>/)
[ 1196] 2010-09-08 17:45:40.711 INFO: Client disconnected from pipe - closing connection
[ 1196] 2010-09-08 17:51:05.289 INFO: Discarding watch for C:\Users\Rafael Rivera\Documents\Visual Studio 2010\Projects\CoApp\coapp-trace - it has expired

Tags: hpss
description: updated
description: updated
Martin Pool (mbp)
summary: - TooManyConcurrentRequests when host keys unavailable
+ TooManyConcurrentRequests when failing to open ssh connection
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
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.