Error establishing SFTP


Good afternoon,

We are using the send file over node to put a file in an sftp.

But when we run it, it tells us this in the log:

com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.sftp_conn=Error establishing SFTP connection. Confirm your hostname, username and password. See application server log for more details. Error Message: java.net.ConnectException: Connection timed out (Connection timed out)]

              

And it says that it is caused by

Caused by: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out (Connection timed out)

                at com.jcraft.jsch.Util.createSocket(Util.java:349)

                at com.jcraft.jsch.Session.connect(Session.java:215)

                at com.jcraft.jsch.Session.connect(Session.java:183)

                at com.appian.ps.plugins.sftpsmartservices.SFTPConfig.connect(Unknown Source)

                ... 527 more

Caused by: java.net.ConnectException: Connection timed out (Connection timed out)

Does anyone know what may be failing or what we can check?

A greeting and thanks in advance

  Discussion posts and replies are publicly visible

Parents Reply
  • Good,

    In our case, it was finally because the thirdParty was not properly created.

    For this type of node I recommend you review what I always do:

    1.That the thirdParty is created

    2.That the url is good and the ports are open

    3.Finally the folder is well created.

    The configuration we have in the node is the following in case it can help you:

    External System Key-->name thirdParty

    Use Per User Credentials-->False

    Server Hostname-->hostname

    Server Port-->port

    Remote File Path-->Path to store the document

    SourceDocument-->Document generated

    We have the rest of the fields empty, perhaps some of them will change depending on how you have configured the third party.

    I hope this helps you.

    All the best!

Children