WinSCP client with passive FTPs and multiple outgoing NAT GWs is intermittently failing
Hello,
We are using WinSCP to connect to a third-party FTPs (explicit TLS) server. Our connection to the internet is through redundant NAT GWs and the selection of the NAT GW is random (perhaps roundrobin?)
We're getting intermittent failures trying to download files from the third-party server. I'm not sure why, but I'm guessing that the FTPs server sees multiple connections from the different public IPs of the NAT GWs and is refusing the connections.
When it fails, we see this in the logs:
Are there any settings in WinSCP that would make it handle this situation?
Thank you!
Brian
We are using WinSCP to connect to a third-party FTPs (explicit TLS) server. Our connection to the internet is through redundant NAT GWs and the selection of the NAT GW is random (perhaps roundrobin?)
We're getting intermittent failures trying to download files from the third-party server. I'm not sure why, but I'm guessing that the FTPs server sees multiple connections from the different public IPs of the NAT GWs and is refusing the connections.
When it fails, we see this in the logs:
. 2023-02-13 09:52:10.767 Retrieving directory listing... > 2023-02-13 09:52:10.767 TYPE A < 2023-02-13 09:52:10.767 200 TYPE is now ASCII > 2023-02-13 09:52:10.767 PASV < 2023-02-13 09:52:10.767 227 Entering Passive Mode (a,b,c,d,218,200) > 2023-02-13 09:52:10.767 MLSD . 2023-02-13 09:52:10.767 Connecting to a.b.c.d:56008 ... . 2023-02-13 09:52:10.767 Data connection closed . 2023-02-13 09:52:10.767 <Empty directory listing> . 2023-02-13 09:52:25.689 Timeout detected. (control connection) . 2023-02-13 09:52:25.689 Could not retrieve directory listing . 2023-02-13 09:52:25.689 Connection was lost, asking what to do. . 2023-02-13 09:52:25.689 Asking user: . 2023-02-13 09:52:25.689 **Lost connection.** ("Timeout detected. (control connection)","Could not retrieve directory listing") < 2023-02-13 09:52:25.689 Script: Lost connection. < 2023-02-13 09:52:25.689 Script: Timeout detected. (control connection) < 2023-02-13 09:52:25.689 Could not retrieve directory listing
Thank you!
Brian