MuleSoft · SFTP Connector

SFTP:CONNECTIVITY

Short answer

SFTP: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.

VerifiedLast verified

01Error text

MuleSoft error
Error type: SFTP:CONNECTIVITY

02Likely causes

  • The connection to the SFTP server was interrupted.
  • The server may require a specific encrypted channel, such as particular ciphers, key exchange algorithms or authentication keys.

03How to fix it

  1. Raise the logging level on the SFTP server and read its log for the same attempt. For OpenSSH, review sshd_config.
  2. Reproduce the problem with an SFTP client such as Cyberduck or FileZilla, using the same host, port and user.
  3. Turn on verbose logging: in log4j2.xml add <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.
  4. Handle the failure with an error handler of type SFTP:CONNECTIVITY.

04Official documentation

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

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.