Repeated ssh connections from tbzrcache on paramiko auth failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Windows Installers |
Fix Released
|
Medium
|
Martin Packman | ||
TortoiseBZR |
Fix Released
|
Medium
|
IWATA Hidetaka |
Bug Description
The tbzrcache process can get into a state where it makes a huge number of ssh connections in succession, which is likely to upset remote servers. The exact cause isn't clear, but a particular user machine that caused issues with the launchpad codehosting has this in its log:
[ 3472] 2012-01-25 11:44:03.417 ERROR: Another instance of this server is running - please close that instance and try again
[ 4076] 2012-01-25 11:44:03.967 INFO: tbzrcache running...
6.545 falling back to default implementation
6.545 failed to load system host keys: [Errno 2] No such file or directory: 'C:\\Users\
[ 4076] 2012-01-25 11:44:08.961 INFO: Connected (version 2.0, client Twisted)
[ 4076] 2012-01-25 11:44:09.230 ERROR: Error processing remote request
Traceback (most recent call last):
File "tbzrlib\
File "tbzrlib\
File "tbzrlib\
File "tbzrlib\
File "tbzrlib\
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\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
ConnectionError: Connection error: Unable to authenticate to SSH host as
<email address hidden>
supported auth types: ['publickey']
7.247 failed to load system host keys: [Errno 2] No such file or directory: 'C:\\Users\
[ 4076] 2012-01-25 11:44:09.638 INFO: Connected (version 2.0, client Twisted)
[ 4076] 2012-01-25 11:44:09.900 ERROR: Error processing remote request
...
And it continues with a new connection at less than one second intervals until launchpad starts just refusing the connection.
The bzr version is 2.4.2 from the all-in-one windows installer. There are some earlier checkout operations, but no obvious cause for this connection retry loop.
Related branches
Changed in bzr-windows-installers: | |
assignee: | nobody → Martin Packman (gz) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in bzr-windows-installers: | |
status: | In Progress → Fix Released |
Changed in tortoisebzr: | |
status: | New → Fix Released |
assignee: | nobody → IWATA Hidetaka (hid-iwata) |
importance: | Undecided → Medium |
Changed in tortoisebzr: | |
milestone: | none → 0.6.6 |
Do you use lightweight checkout from bzr+ssh or branch stacking to bzr+ssh?
It may cause this problem.
Bazaar Explorer's "Checkout" dialog implicitly use lightweight checkout.
Next TortoiseBZR avoid showing status for lightweight checkout.