ALSB - OSB - Unable to Connect to SFTP Server Using RSA Key Defined in Known-Hosts File (Doc ID 887996.1)

Last updated on MAY 09, 2016

Applies to:

Oracle Service Bus - Version 3.0 and later
Information in this document applies to any platform.

Symptoms

You are trying to create an SFTP based proxy service using an RSA key in the known_hosts file.

This fails with the following exception:

<BEA-381602><Error encountered while polling the resource for the service endpoint
ProxyService$Payment$ProxyService$PaymentSFTP: com.bea.wli.sb.transports.TransportException:
Key Not Found for host <hostname>,<IP address>
com.bea.wli.sb.transports.TransportException: Key Not Found for host <hostname>,<IP address>

at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute
[SFTPWorkPartitioningAgent.java:126)
at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:76)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
com.bea.wli.sb.transports.TransportException: Key Not Found for host <hostname>,<IP address>
at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.getSftpResource(SFTPWorkPartitioningAgent.java:166)
at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:59)
at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:76)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
com.sshtools.j2ssh.transport.TransportProto Exception: Key Not Found for host <hostname>,<IP address>

at com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.onUnknownHost(KnownHostVerifier.java:36)
at com.sshtools.j2ssh.transport.AbstractKnownHostsKeyVerification.verifyHost(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolClient.verifyHostKey(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolClient.performKeyExchange(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.beginKeyExchange(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.onMsgKexInit(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.startBinaryPacketProtocol(Unknown
Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms