MuleSoft · SFTP Connector
SFTP:CONNECTION_TIMEOUT
Short answer
SFTP:CONNECTION_TIMEOUT means the attempt to connect to the SFTP server timed out. Confirm the server is reachable from where the Mule app runs before changing anything in the flow.
VerifiedLast verified
01Error text
Error type: SFTP:CONNECTION_TIMEOUT02Likely causes
- The attempt to connect to the SFTP server timed out.
03How to fix it
- Reproduce the problem with an SFTP client such as Cyberduck or FileZilla, using the same host, port and user. Run it from the same network as the Mule app if you can.
- Check the host and port in the SFTP connection configuration.
- Turn on verbose logging: in
log4j2.xmladd<AsyncLogger name="org.mule.extension.sftp" level="DEBUG"/>. For SSH detail add<AsyncLogger name="org.apache.sshd" level="TRACE"/>, which produces a high log volume, so remove it afterward. - Handle the failure with an error handler of type
SFTP:CONNECTION_TIMEOUT.
04Official documentation
→Related errors
- SFTP:CANNOT_REACHSFTP:CANNOT_REACH means an error occurred while connecting to the SFTP server host and port. Typically the remote side refuses the connection, for example because nothing is listening on that address and port.
- SFTP:UNKNOWN_HOSTSFTP:UNKNOWN_HOST means Mule cannot determine the IP address of the SFTP host. Fix the host name in the connection configuration, or the DNS resolution where the app runs.
- SFTP:CONNECTIVITYSFTP:CONNECTIVITY means the connection to the SFTP server was interrupted. Check the network path and the server, and compare the server's log with the Mule app's log for the same moment.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer