KB Article #46393
Problem when Gateway receives a big file in FTP server mode through a proxy.
Problem
When Gateway, in FTP server mode, receives a big file through a proxy, the data session is closed before data is transferred.
With the trace mode active, it is possible to see in the Gateway log the line :
"(39) disconnection indication [reason="0"] [origin="2"]"
shortly after the the data session opening, which was indicated by the line :
"(38:39) incoming connection response [resp_add="xxx.xxx.xxx.xxx/20"]
in the log.
Resolution
There is a timer to modify in the Gateway configuration :
1 - Edit the pelsetup.def file in your <Install_Gateway>/run_time/etc/ folder.
2 - Add the line "initial_timeout=300" (without quotes) in the [TCP_FTP] part
3 - Run the command "peluconf rebuild -f" (without the quotes)
4 - Restart Gateway
The value of the initial_timeout should be set according to the amount of time it takes for the proxy to begin to transfer data to Gateway. A value of 300 will let Gateway keep the data session open during 5 minutes without activity before closing it.