Topic "Server unexpectedly closed network connection"

Author Message
mccorb
[View user's profile]

Joined: 2009-03-12
Posts: 6
I am having trouble connecting to a server and getting a directory list back. The first directory I try works. It only has 3 or 4 file entries in it. The second one is much larger. I have enclosed a logfile I generated with the 2 "ls" commands..1st one worked...2nd one did not.


. 2009-03-12 16:07:19.961 --------------------------------------------------------------------------
. 2009-03-12 16:07:19.961 WinSCP Version 4.1.8 (Build 415) (OS 6.0.6001 Service Pack 1)
. 2009-03-12 16:07:19.961 Login time: Thursday, March 12, 2009 4:07:19 PM
. 2009-03-12 16:07:19.961 --------------------------------------------------------------------------
. 2009-03-12 16:07:19.961 Session name: SemcoSecure
. 2009-03-12 16:07:19.961 Host name: focus.semcoenergy.com (Port: 22)
. 2009-03-12 16:07:19.961 User name: lakeshore (Password: Yes, Key file: No)
. 2009-03-12 16:07:19.961 Tunnel: No
. 2009-03-12 16:07:19.961 Transfer Protocol: SFTP (SCP)
. 2009-03-12 16:07:19.961 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-03-12 16:07:19.961 Proxy: none
. 2009-03-12 16:07:19.961 SSH protocol version: 2; Compression: No
. 2009-03-12 16:07:19.961 Bypass authentication: No
. 2009-03-12 16:07:19.961 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-03-12 16:07:19.961 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2009-03-12 16:07:19.961 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-03-12 16:07:19.961 SFTP Bugs: -,-
. 2009-03-12 16:07:19.961 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-03-12 16:07:19.961 Shell: default, EOL: 0
. 2009-03-12 16:07:19.961 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-03-12 16:07:19.961 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2009-03-12 16:07:19.961 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-03-12 16:07:19.961 Cache directory changes: Yes, Permanent: Yes
. 2009-03-12 16:07:19.961 DST mode: 1
. 2009-03-12 16:07:19.961 --------------------------------------------------------------------------
. 2009-03-12 16:07:19.976 Looking up host "xxxxx.xxxxxxxxxxxx.com"
. 2009-03-12 16:07:19.976 Connecting to xx.xxx.xxx.xx port 22
. 2009-03-12 16:07:20.148 Server version: SSH-2.0-OpenSSH_3.8.1p1 For-Authorized-Users-Only
. 2009-03-12 16:07:20.148 We claim version: SSH-2.0-WinSCP_release_4.1.8
. 2009-03-12 16:07:20.148 SSPI: acquired credentials for: xxxxxxxxxx@SEMINOLE.COM
. 2009-03-12 16:07:20.148 Constructed service principal name 'host/xxxxx.xxxxxxxxxxxx.com'
. 2009-03-12 16:07:20.163 GSSKEX disabled: The specified target is unknown or unreachable

. 2009-03-12 16:07:20.163 Using SSH protocol version 2
. 2009-03-12 16:07:20.226 Doing Diffie-Hellman group exchange
. 2009-03-12 16:07:20.507 Doing Diffie-Hellman key exchange with hash SHA-1
. 2009-03-12 16:07:20.850 Host key fingerprint is:
. 2009-03-12 16:07:20.850 ssh-dss 1024 45:31:95:51:29:d5:3d:15:6d:be:d0:24:67:d7:8d:a3
. 2009-03-12 16:07:20.850 Initialised AES-256 SDCTR client->server encryption
. 2009-03-12 16:07:20.850 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-03-12 16:07:20.850 Initialised AES-256 SDCTR server->client encryption
. 2009-03-12 16:07:20.850 Initialised HMAC-SHA1 server->client MAC algorithm
! 2009-03-12 16:07:21.115 Using username "lakeshore".
. 2009-03-12 16:07:21.287 Prompt (5, SSH server authentication, Using keyboard-interactive authentication., Password:)
. 2009-03-12 16:07:21.287 Using stored password.
. 2009-03-12 16:07:21.505 Access granted
. 2009-03-12 16:07:21.583 Opened channel for session
. 2009-03-12 16:07:21.661 Started a shell/command
. 2009-03-12 16:07:21.661 --------------------------------------------------------------------------
. 2009-03-12 16:07:21.661 Using SFTP protocol.
. 2009-03-12 16:07:21.661 Doing startup conversation with host.
> 2009-03-12 16:07:21.661 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-03-12 16:07:21.739 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-03-12 16:07:21.739 SFTP version 3 negotiated.
. 2009-03-12 16:07:21.739 We believe the server has signed timestamps bug
. 2009-03-12 16:07:21.739 We will use UTF-8 strings for status messages only
. 2009-03-12 16:07:21.739 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2009-03-12 16:07:21.739 Getting current directory name.
. 2009-03-12 16:07:21.739 Getting real path for '.'
> 2009-03-12 16:07:21.739 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2009-03-12 16:07:21.817 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2009-03-12 16:07:21.817 Real path is '/'
. 2009-03-12 16:07:21.817 Startup conversation with host finished.
. 2009-03-12 16:07:21.833 Cached directory change via "outgoing" to "/outgoing".
. 2009-03-12 16:07:21.833 Getting current directory name.
. 2009-03-12 16:07:39.274 Listing directory "/outgoing".
> 2009-03-12 16:07:39.274 Type: SSH_FXP_OPENDIR, Size: 18, Number: 267
< 2009-03-12 16:07:39.367 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
> 2009-03-12 16:07:39.367 Type: SSH_FXP_READDIR, Size: 13, Number: 524
< 2009-03-12 16:07:39.461 Type: SSH_FXP_NAME, Size: 669, Number: 524
> 2009-03-12 16:07:39.461 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2009-03-12 16:07:39.586 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2009-03-12 16:07:39.586 Status/error code: 1
> 2009-03-12 16:07:39.586 Type: SSH_FXP_CLOSE, Size: 13, Number: 1028
. 2009-03-12 16:07:44.281 Cached directory change via "Archive" to "/outgoing/Archive".
. 2009-03-12 16:07:44.281 Getting current directory name.
. 2009-03-12 16:07:46.652 Listing directory "/outgoing/Archive".
> 2009-03-12 16:07:46.652 Type: SSH_FXP_OPENDIR, Size: 26, Number: 1291
< 2009-03-12 16:07:46.652 Type: SSH_FXP_STATUS, Size: 24, Number: 1028
. 2009-03-12 16:07:46.652 Discarding reserved response
< 2009-03-12 16:07:46.730 Type: SSH_FXP_HANDLE, Size: 13, Number: 1291
> 2009-03-12 16:07:46.730 Type: SSH_FXP_READDIR, Size: 13, Number: 1548
< 2009-03-12 16:07:46.964 Type: SSH_FXP_NAME, Size: 16739, Number: 1548
> 2009-03-12 16:07:46.964 Type: SSH_FXP_READDIR, Size: 13, Number: 1804
< 2009-03-12 16:07:47.152 Type: SSH_FXP_NAME, Size: 17244, Number: 1804
> 2009-03-12 16:07:47.152 Type: SSH_FXP_READDIR, Size: 13, Number: 2060
. 2009-03-12 16:07:47.152 Server unexpectedly closed network connection
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Please read documentation. If that does not help, come back.
_________________
Martin Prikryl
mccorb
[View user's profile]

Joined: 2009-03-12
Posts: 6
Reattached to correct thread and further info added...

Docs did not help solve the issue I am having. I have done further investigation. The program works fine from our XP boxes. We just encounter the error on Vista. Anyway, the latest version of FileZilla has the same issue on Vista but if I back up to version 2.2.22 of FileZilla it works. I don't know if this helps or not. I plan on trying WinSCP from a non company Vista PC at home to make sure I'm not running into some firewall or other security infrastructure issue that is out of my control.

I also have the capability to output wire traces using WireShark if that could help.

New Information:

It seems to only occur with Windows Vista. On XP it does not fault. It works fine there. I tried this at home where there aren't tons of firewalls etc. on both XP and Vista and it faulted on Vista and worked on XP. I then disabled the windows firewall (something I can't do at work). The app still faulted on Vista. I have tried to reproduce the error on our systems (instead of the 3rd party) by putting a LOT of files in a directory...even went so far as to give it the same name but I couldn't get it to fault there. Another interesting note is that on the remote system where the problem is occurring I can list all the other directories I try...of course the one that is faulting is the one I need.

Options: I have a WinSCP log for a successful session that I have via XP and the unsuccessful one I have already sent for the same directory if that would help.

thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Can you try WinSCP 4.2.1 beta?
_________________
Martin Prikryl
mccorb
[View user's profile]

Joined: 2009-03-12
Posts: 6
installed beta, rebooted, started WinSCP and checked version #. Problem persists.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Currently I do not know what to suggest you. Maybe if more users face the same problem, we can be able to see what do you have in common.
_________________
Martin Prikryl
mccorb
[View user's profile]

Joined: 2009-03-12
Posts: 6
I will probably open an issue with microsoft. It's their OS. Your app, Filezilla and now a development lib written in C# (SharpSSH) are all having the same issue.
mccorb
[View user's profile]

Joined: 2009-03-12
Posts: 6
I am going to open this with Microsoft since it appears to be a Vista issue. Just one thing...can you tell me if WinSCP uses the same underlying connection library as FileZilla or are they completely separate codebases?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
mccorb wrote:
I am going to open this with Microsoft since it appears to be a Vista issue. Just one thing...can you tell me if WinSCP uses the same underlying connection library as FileZilla or are they completely separate codebases?

The same.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License