hang with pull and merge over sftp from Windows XP client

Bug #481297 reported by enkhbatd
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

Hello!

I'm began using bazaar recently. When I try merge my committed branch to sftp server bazaar freezes. Here log from .bzr.log:

...
0.655 opening working tree 'D:/Interesting/orgchat/trunk'
2.417 falling back to default implementation
2.417 failed to load system host keys: [Errno 2] No such file or directory: 'C:\\Documents and Settings\\username/.ssh/known_hosts'
[ 2264] 2009-11-12 11:39:27.970 INFO: Connected (version 2.0, client OpenSSH_5.3)
2.916 Unable to look up default port for ssh
[ 2264] 2009-11-12 11:39:33.617 INFO: Authentication (password) successful!
[ 2264] 2009-11-12 11:39:33.631 INFO: Secsh channel 1 opened.
[ 2264] 2009-11-12 11:39:33.664 INFO: [chan 1] Opened sftp connection (server version 3)

My guess is error is related to 3rd row information. So what shall I do?

Thanks.

P.S: I'm using bzr-2.0.2-1.

Revision history for this message
Alexander Belchenko (bialix) wrote :

After some investigation (see related question) it seems like branch and push working OK, but pull and merge "hang". Because both pull and merge checks URL for merge directives I suspect it may relate to this fact. I'm unable to reproduce this though.

Revision history for this message
enkhbatd (enkhbatd) wrote :

Can you check your computer has this file: "C:\\Documents and Settings\\username/.ssh/known_hosts"?

Also what does this mean "2.916 Unable to look up default port for ssh"?

Martin Pool (mbp)
summary: - Merge and pull commands are freezing in Windows XP
+ hang while opening sftp server on Windows XP
Changed in bzr:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Alexander Belchenko (bialix) wrote : Re: hang while opening sftp server on Windows XP

Martin Pool: I'm not sure the bug is about "opening sftp server". As bug reporter said: branch and push with the same sftp server works OK.

Revision history for this message
Alexander Belchenko (bialix) wrote :

Here is my session on Windows XP:

C:\Temp\4>bzr pull sftp://root@server/~/4
Connected (version 1.99, client OpenSSH_3.8.1p1)
SSH root@server password:
Authentication (password) successful!
Secsh channel 1 opened.
[chan 1] Opened sftp connection (server version 3)
+N bar/
All changes applied successfully.
Now on revision 2.

Corresponding part of .bzr.log:

0.250 bzr arguments: [u'pull', u'sftp://root@server/~/4']
0.297 looking for plugins in C:\work\Bazaar\plugins
0.563 looking for plugins in C:/Program Files/Bazaar/plugins
0.579 Plugin name rebase already loaded
0.672 encoding stdout as sys.stdout encoding 'cp866'
0.750 opening working tree 'C:/Temp/4'
2.516 falling back to default implementation
2.516 failed to load system host keys: [Errno 2] No such file or directory: 'C:\\Documents and Settings\\modul98/.ssh/known_hosts'
[ 2088] 2009-11-13 11:31:32.703 INFO: Connected (version 1.99, client OpenSSH_3.8.1p1)
3.063 Unable to look up default port for ssh
3.063 encoding stdout as sys.stdout encoding 'cp866'
[ 2088] 2009-11-13 11:31:37.015 INFO: Authentication (password) successful!
[ 2088] 2009-11-13 11:31:37.030 INFO: Secsh channel 1 opened.
[ 2088] 2009-11-13 11:31:37.078 INFO: [chan 1] Opened sftp connection (server version 3)
6.938 bzr-svn: using Subversion 1.5.6 ()
7.172 Using fetch logic to copy between KnitPackRepository('sftp://root@server/~/4/.bzr/repository/')(<RepositoryFormatKnitPack1>) and KnitPackRepository('file:///C:/Temp/4/.bzr/repository/')(<RepositoryFormatKnitPack1>)
7.172 fetch up to rev {root@server-20091113113224-242q9c9k3sqkv6ul}
[ 2088] 2009-11-13 11:31:37.640 INFO: +N bar/
[ 2088] 2009-11-13 11:31:37.655 INFO: All changes applied successfully.
7.500 return code 0

So my session looks almost the same as your, but we have different version of SSH on the server.

Mine: Connected (version 1.99, client OpenSSH_3.8.1p1)
Your: Connected (version 2.0, client OpenSSH_5.3)

I don't know is it related though.

Martin Pool (mbp)
summary: - hang while opening sftp server on Windows XP
+ hang with pull and merge over sftp from Windows XP client
Revision history for this message
enkhbatd (enkhbatd) wrote :

Additional information: My server's OS is OpenBSD. I tried to pull in command mode but it again freezed.

I'm thinking about installing openssh 3.8p1-1 20040709 Build on Windows XP and testing it.

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 481297] Re: hang with pull and merge over sftp from Windows XP client

enkhbatd пишет:
> Additional information: My server's OS is OpenBSD. I tried to pull in
> command mode but it again freezed.
>
> I'm thinking about installing openssh 3.8p1-1 20040709 Build on Windows
> XP and testing it.
>

I have another server with FreeBSD, I'll test with it too soon.

Revision history for this message
enkhbatd (enkhbatd) wrote :

Pull, push and merge is working okay in Windows XP based server which got openssh 3.8p1-1 20040709 Build.

Jelmer Vernooij (jelmer)
tags: added: fetch stall
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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