Comment 7 for bug 246233

Revision history for this message
Doug Lee (dgl-dlee) wrote :

Not sure of the current status of this one, but it also applies to commits to a bound branch when the parent bzr+ssh branch is inaccessible. I'm using Bzr 1.10 on Cygwin, so a bit old; apologies if my info is out of date. I just got this when committing to a bound branch when the parent's server happened to be temporarily offline (names/project references genericized):

Doug 2% bzr commit -m "Skeleton file set."
ssh: connect to host bzr-central.office.com port 22: Connection timed out
bzr: ERROR: bzrlib.errors.TooManyConcurrentRequests: The medium '<bzrlib.smart.medium.SmartSSHClientMedium object at 0x7fa1ceac>' 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 "commands.py", line 893, in run_bzr_catch_errors
  File "commands.py", line 839, in run_bzr
  File "commands.py", line 539, in run_argv_aliases
  File "builtins.py", line 2435, in run
  File "decorators.py", line 192, in write_locked
  File "workingtree_4.py", line 235, in commit
  File "decorators.py", line 192, in write_locked
  File "mutabletree.py", line 202, in commit
  File "commit.py", line 303, in commit
  File "commit.py", line 464, in _check_bound_branch
  File "decorators.py", line 138, in read_locked
  File "branch.py", line 1984, in get_master_branch
  File "branch.py", line 123, in open
  File "bzrdir.py", line 766, in open
  File "bzrdir.py", line 808, in open_from_transport
  File "bzrdir.py", line 1770, in open
  File "bzrdir.py", line 2646, in _open
  File "remote.py", line 93, in __init__
  File "remote.py", line 51, in _call
  File "client.py", line 122, in call
  File "client.py", line 135, in call_expecting_body
  File "client.py", line 80, in _call_and_read_response
  File "client.py", line 42, in _send_request
  File "client.py", line 105, in _construct_protocol
  File "medium.py", line 672, in get_request
  File "medium.py", line 870, in __init__
TooManyConcurrentRequests: The medium '<bzrlib.smart.medium.SmartSSHClientMedium object at 0x7fa1ceac>' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.

bzr 1.10 on python 2.5.2 (cygwin)
arguments: ['/usr/bin/bzr', 'commit', '-m', 'Skeleton file set.']
encoding: 'US-ASCII', fsenc: 'US-ASCII', lang: None
plugins:
  bookmarks /home/Doug/.bazaar/plugins/bookmarks [unknown]
  bzrtools /home/Doug/.bazaar/plugins/bzrtools [1.10]
  cvsps_import /home/Doug/.bazaar/plugins/cvsps_import [unknown]
  email /home/Doug/.bazaar/plugins/email [unknown]
  fastimport /home/Doug/.bazaar/plugins/fastimport [unknown]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  service /home/Doug/.bazaar/plugins/service [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.
Doug 2%