The following error was encountered when trying to establish the FTP data connection in passive mode:
convertDataConnToSsl: convertToTls: clientHandshake: clientHandshake2: WindowsError: An existing connection was forcibly closed by the remote host. WindowsErrorCode: 0x2746 numBytesRequested: 5 Failed to receive data on the TCP socket Failed to read beginning of SSL/TLS record. Failed to read incoming handshake messages. (1) --clientHandshake2 --clientHandshake Client handshake failed. (1) connectionClosed: 0 --convertToTls ConvertToTls: Elapsed time: 2996 millisec Failed to convert data connection to TLS --convertDataConnToSsl
In this case, the Chilkat customer was kind enough to share the cause of the problem (and the solution)
"we ended up finding the problem. It was on the FTP server’s end and (according to their IT person) had to do with their load balancer not using sticky sessions. I’m not a low-level network guy so I don’t know if that makes sense/sounds plausible to you, but the short of it is that it works now."