TooManyConcurrentRequests error on commit when ssh auth fail (bzr 2.0)

Bug #475159 reported by blep
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

I tried to commit using qbzr but forget to add my key in pageant and got the error below. I frequently forgot to had my ssh ppk on the first commit every day, and it is the first time I got such a error. The bug disappeared after adding my ssh key.

I'm running on Windows XP SP3 with Bazaar stand-alone install.
Notes: there is similar existing bugs, but there are all indicated as fixed in pre-2.0 release from what I've seen.

E:\prg\py\App\pylons-gae\demo\src>bzr qci
Connected (version 2.0, client Twisted)
bzr: ERROR: bzrlib.errors.TooManyConcurrentRequests: The medium 'SmartSSHClientMedium(connected=False, username=u'blep',
 host='bazaar.launchpad.net', port=None)' has reached its concurrent request limit. Be sure to finish_writing and finish
_reading on the currently open request.

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 842, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1037, in run_bzr
  File "bzrlib\commands.pyo", line 654, in run_argv_aliases
  File "C:/wut/files/Bazaar/plugins\qbzr\lib\commands.py", line 774, in run
  File "bzrlib\commands.pyo", line 1037, in run_bzr
  File "bzrlib\commands.pyo", line 654, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 3051, in run
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\workingtree_4.pyo", line 197, in commit
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\mutabletree.pyo", line 228, in commit
  File "bzrlib\commit.pyo", line 305, in commit
  File "bzrlib\commit.pyo", line 448, in _check_bound_branch
  File "bzrlib\decorators.pyo", line 138, in read_locked
  File "bzrlib\branch.pyo", line 2375, in get_master_branch
  File "bzrlib\branch.pyo", line 168, in open
  File "bzrlib\bzrdir.pyo", line 844, in open
  File "bzrlib\bzrdir.pyo", line 879, in open_from_transport
  File "bzrlib\bzrdir.pyo", line 2065, in open
  File "bzrlib\bzrdir.pyo", line 3294, in _open
  File "bzrlib\remote.pyo", line 114, in __init__
  File "bzrlib\remote.pyo", line 52, in _call
  File "bzrlib\smart\client.pyo", line 129, in call
  File "bzrlib\smart\client.pyo", line 142, in call_expecting_body
  File "bzrlib\smart\client.pyo", line 87, in _call_and_read_response
  File "bzrlib\smart\client.pyo", line 42, in _send_request
  File "bzrlib\smart\client.pyo", line 112, in _construct_protocol
  File "bzrlib\smart\medium.pyo", line 699, in get_request
  File "bzrlib\smart\medium.pyo", line 904, in __init__
TooManyConcurrentRequests: The medium 'SmartSSHClientMedium(connected=False, username=u'blep', host='bazaar.launchpad.ne
t', port=None)' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently
open request.

bzr 2.0.0 on python 2.5.4 (Windows-XP-5.1.2600-SP3)
arguments: ['bzr', 'qsubprocess', '"commit" "-m" "Got simple hello world controller without template working." "gaetests
" "pylons/controllers/xmlrpc.py" "pylons/__init__.py" "pylons/_config.py" "pylons/_converters.py" "pylons/_threadingloca
l.py" "pylons/configuration.py" "pylons/middleware.py" "pylons/registry.py" "pylons/templating.py" "pylons/util.py" "pyl
ons/wsgiapp.py" "routes" ".bzrignore" "CHANGES.pylons-gae" "app.yaml" "appengine_config.py" "index.yaml" "gaetests/contr
ollers" "gaetests/public" "gaetests/templates" "gaetests/tests" "gaetests/__init__.py" "gaetests/app.ini" "gaetests/help
ers.py" "gaetests/main.py" "gaetests/routing.py" "gaetests/wsgiapp.py" "routes/__init__.py" "routes/base.py" "routes/lru
.py" "routes/mapper.py" "routes/middleware.py" "routes/route.py" "routes/threadinglocal.py" "routes/util.py" "gaetests/c
ontrollers/__init__.py" "gaetests/controllers/hello.py" "gaetests/templates/form.mako" "gaetests/templates/hello.mako" "
gaetests/tests/__init__.py"']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\wut\files\Bazaar\plugins\bzrtools [2.0.0]
  explorer C:\wut\files\Bazaar\plugins\explorer [0.8.2]
  fastimport C:\wut\files\Bazaar\plugins\fastimport [0.9.0dev]
  launchpad C:\wut\files\Bazaar\plugins\launchpad [2.0.0]
  netrc_credential_store C:\wut\files\Bazaar\plugins\netrc_credential_store [2.0.0]
  qbzr C:\wut\files\Bazaar\plugins\qbzr [0.14.2]
  rebase C:\wut\files\Bazaar\plugins\rebase [0.5.3]
  svn C:\wut\files\Bazaar\plugins\svn [1.0.0]
  upload C:\wut\files\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\wut\files\Bazaar\plugins\xmloutput [0.8.5]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Revision history for this message
Andrew Bennetts (spiv) wrote :

This was fixed in trunk, and part of the 2.1.0b2. I'm a bit hesistant to backport it to the 2.0.x branch because the patch is a touch large and 2.0.x is a stable branch... but it is a pretty straightforward change despite the line-count, so we can consider it.

Anyhow, this bug is a duplicate, so I'm marking it as such.

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.