Error: ConnectException: Connection Timed Out
Issue
The connector fails with one of the following error messages:
com.jcraft.jsch.JSchException: SSH_MSG_DISCONNECT: 11 - RequestId: xxxxxxx
com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out
Environment
Connector: SFTP
Resolution
To resolve this issue, do the following:
- In the Destinations page of your Fivetran dashboard, select the destination associated with your connector.
- Under the Connection Details section, make a note of the Data processing location, Cloud service provider, and Cloud region.
- See our IP Addresses documentation and safelist the applicable IP address for your provider, region, and location.
Cause
This issue occurs when the client is unable to establish a connection to the server within the timeout period. This may happen due to any of the following reasons:
- There are connectivity issues between the client and the server as a result of network interruptions or firewalls blocking the connection.
- The SSH server has an idle timeout setting that is causing the session to disconnect.
- The SSH server you are connecting to is experiencing problems natively or a misconfiguration is causing the connection to close.