Sporatic Problems Transferring Large Files
In the more recent versions of WinSCP (versions 4.2.9 and 4.3.1 beta for sure), I have systematically had issues transferring files (particularly large ones) to/from CentOS 5 hosts. From the client end, the log of a typical failed transfer using debug level 2 output for version 4.3.1 looks something like:
Where the last 6 lines are then repeated many times (until I abort the connection). On the server side with the default CentOS logging options, there are no entries indicating any errors (the last message is always about the subsystem sftp being requested). It as if the entire connection is dropped by the network somehow.
Having suffered this problem with multiple clients and hosts, but sporadically -- some combinations of hosts and clients never show the issue whereas others show it for virtually every transfer -- I think I have finally nailed down the key source of the issues. It appears that certain firewalls and NAT devices do not play nicely with the connections. Specific tested examples on my part to illustrate the point:
1) Windows Vista x64 (Windows Firewall on) <---> Actiontec NAT (FIOS) <---> CentOS Host: Has issues with 4.3.1
2) Windows Vista x64 (Windows Firewall off) <---> Actiontec NAT (FIOS) <---> CentOS Host: Works flawlessly
3) Windows Vista x64 (Windows Firewall off) <---> Actiontec NAT (FIOS) <---> Linksys WRG54G2 <---> CentOS Host: Has issues with 4.3.1
Is there any chance that the origin of this problem can be determined and fixed? I am unable to use versions of winscp after 4.1.9 due to this (random but fully reproducible) issue.
Thank you.[/code]
. 2011-01-29 20:22:44.973 Sent 2715 bytes . 2011-01-29 20:22:44.974 There are 0 bytes remaining in the send buffer . 2011-01-29 20:22:44.974 Looking for network events . 2011-01-29 20:22:44.974 Timeout waiting for network events > 2011-01-29 20:22:44.974 Type: SSH_FXP_CLOSE, Size: 13, Number: 63236 > 2011-01-29 20:22:44.974 04,00,00,F7,04,00,00,00,04,00,00,00,00, . 2011-01-29 20:22:44.974 Sent 17 bytes . 2011-01-29 20:22:44.974 There are 0 bytes remaining in the send buffer . 2011-01-29 20:22:44.974 Looking for network events . 2011-01-29 20:22:44.975 Timeout waiting for network events . 2011-01-29 20:22:44.975 Waiting for another 4 bytes . 2011-01-29 20:22:44.975 Looking for incoming data . 2011-01-29 20:22:44.975 Looking for network events . 2011-01-29 20:22:59.975 Timeout waiting for network events . 2011-01-29 20:22:59.975 Waiting for data timed out, asking user what to do. . 2011-01-29 20:22:59.975 Asking user: . 2011-01-29 20:22:59.975 Host is not communicating for 15 seconds. . 2011-01-29 20:22:59.975 . 2011-01-29 20:22:59.975 Wait for another 15 seconds? () . 2011-01-29 20:23:00.210 Session upkeep . 2011-01-29 20:23:00.210 Looking for network events . 2011-01-29 20:23:00.210 Timeout waiting for network events . 2011-01-29 20:23:00.464 Pooling for data in case they finally arrives . 2011-01-29 20:23:00.464 Looking for network events . 2011-01-29 20:23:00.464 Timeout waiting for network events
Having suffered this problem with multiple clients and hosts, but sporadically -- some combinations of hosts and clients never show the issue whereas others show it for virtually every transfer -- I think I have finally nailed down the key source of the issues. It appears that certain firewalls and NAT devices do not play nicely with the connections. Specific tested examples on my part to illustrate the point:
1) Windows Vista x64 (Windows Firewall on) <---> Actiontec NAT (FIOS) <---> CentOS Host: Has issues with 4.3.1
2) Windows Vista x64 (Windows Firewall off) <---> Actiontec NAT (FIOS) <---> CentOS Host: Works flawlessly
3) Windows Vista x64 (Windows Firewall off) <---> Actiontec NAT (FIOS) <---> Linksys WRG54G2 <---> CentOS Host: Has issues with 4.3.1
Is there any chance that the origin of this problem can be determined and fixed? I am unable to use versions of winscp after 4.1.9 due to this (random but fully reproducible) issue.
Thank you.[/code]