cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP Seeburger could not connect to remote host

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

dipen_pandya
Contributor
0 Kudos

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.

Answers (1)

Answers (1)

azharshaikh
Active Contributor
0 Kudos

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