Skip to main content
October 5, 2021
Question

Error establishing SFTP

  • October 5, 2021
  • 8 replies
  • 0 views


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

    8 replies

    January 20, 2022

    Hello, you able to resolve this issue ?

    January 20, 2022

    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!

    January 25, 2022

    I'm getting a strange error 'No Such File', though I have file available in my Appian environment.

    Error transferring file to SFTP server 2: No such file

    How you given the 'Remote File Path' ? my destination is F drive so I've simply given "F:\"

    Any thoughts ?