Skip to Content
avatar image
Former Member

SFTP Seeburger could not connect to remote host

Hi,

We have configured a Receiver SFTP Communication Channel in SAP PI 7.3.

When we're sending messages to the 3rd party, SOMETIMES it is successfully sent however there are also times that it fails in the Adapter Engine and we need to restart the communication channel then resend the failed message.

Here is the Error from the Communication Channel log:

Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false, >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false

More details in Audit Protocol:

Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false, >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false

MP: exception caught with cause javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false, >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false

Exception caught by adapter framework: Fatal exception: javax.resource.ResourceException: >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false, >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false, >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.ConfigurationException: Could not connect, maybe the ports or the host is not reachable. Caused by: Connection timed out: connect>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false

Please advise.

thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 13, 2015 at 08:24 AM

    Hi,

    Ping the communication channel and check if system is up & available!

    Also check with your Network team, if any firewall restrictions on the network!

    Default port number for SFTP is 22.

    Regards,

    Dipen.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 13, 2015 at 01:56 PM

    Hi Chrizel,

    1. Check if the Receiver SFTP server is Available to connect and post file (without any downtime).

    2. In your Receiver SFTP CC try to configure * in server fingerprint field of SFTP Adapter channel and check if it helps.

    Regards,

    Azhar

    Add comment
    10|10000 characters needed characters exceeded