Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

FTP timeout after 240 seconds

Aug 07 09 2:38 am

Hello,

I have a problem with long ftp download/upload. If the transer take longer than 4 mintues, the operation fails.
ftp> mget test2.tar
200 PORT command successful.
150 Opening BINARY mode data connection for test2.tar(1111726080 bytes).
421 Service not available, remote server has closed connection
684864340 bytes received in 242 seconds (2832440 bytes/s)

ftp> mget test2*
200 PORT command successful.
150 Opening BINARY mode data connection for test2.tar(1111726080 bytes).
421 Service not available, remote server has closed connection
804770644 bytes received in 241 seconds (3345585 bytes/s)

I tried the same thing on our second wingate server (same hardware, same os windows 2003, same wingate version 6.5.2) and the problem does not occur.

Any idea what stop the transfer after 4 minutes?

Re: FTP timeout after 240 seconds

Aug 07 09 7:21 pm

Not likely, however in the FTP proxy what is the timeout value?

Re: FTP timeout after 240 seconds

Aug 07 09 8:22 pm

The session timeout is 600 seconds of inactivity. And is the same on both wingate servers.

Re: FTP timeout after 240 seconds

Aug 07 09 8:33 pm

Hi

Is this going through the FTP proxy or via NAT?

If via the proxy, we link the control channel to the data channel by telling the driver the ports and IPs of both connections. If ALG.exe is running or Windows firewall however, this gets messed up, since it changes the port numbers between when we open the socket, and when the packets go through the driver.

This also breaks gateway selection.

So if you're going through the FTP proxy (either directly, or intercepted), you'll need to disable the windows firewall / alg.

Regards

Adrien

Re: FTP timeout after 240 seconds

Aug 07 09 11:17 pm

Hi,

We use the FTP proxy. The Windows firewall is disabled and ALG.exe is not running.

I compared the running windows services between our two servers and nothing is different.
I aslo compared the Wingate configs from registry export and I don't find any difference that could cause the timeout problem.

Vincent

Re: FTP timeout after 240 seconds

Aug 08 09 10:23 pm

Vincent, these servers share the same ISP, or a different Internet service // ISP for each Wingate?
Post a reply