My Oracle Support Banner

Connection Test To SFTP Server From OIC Fails With Error "oracle.cloud.adapter.ftp.plugin.connection.FTPConnectionException: Unable to connect to SFTP server" (Doc ID 2773587.1)

Last updated on MAY 03, 2021

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.

Symptoms

On : 18.2.5 version, Adapters RT/Agent

While running test on FTP Connection it fails with error.

ERROR
-----------------------

Console:


Unable to test connection <Connection Name>.
CASDK-0002: Unable to access the host <hostname>; Unable to connect to SFTP server. Please verify 1. Host and port are valid 2. OIC IPs are allowed in SFTP firewall. If connection is associated with an agent validate 1. Connectivity from agent machine 2. Entry in nonProxyPost in agent configuration if direct connectivity to SFTP Connectivity is needed. DH key size must be multiple of 64, and can only range from 512 to 8192 (inclusive). The specific key size 4104 is not supported

Logs:

<Apr 15, 2021 2:40:09,780 PM UTC> <Emergency> <oracle.dfw.incident> <BEA-000000> <incident 10 created with problem key "ICS-11070 [oic_server1][oracle.ics.webconsole.connection.test]">
<Apr 15, 2021 2:40:09,634 PM UTC> <Error> <oracle.ics.webconsole.connection.test> <ICS-11070> <Failed to test connection TEST_CONN. The failure message returned for connection ping is: Unable to access the host <host name>
<Apr 15, 2021 2:40:11,207 PM UTC> <Error> <oracle.ics.webconsole.connection.test> <ICS-11071> <Failed to test connection TEST_CONN. The error cause returned for connection ping is: oracle.cloud.adapter.ftp.plugin.connection.FTPConnectionException: Unable to connect to SFTP server. Please verify 1. Host and port are valid 2. OIC IPs are allowed in SFTP firewall. If connection is associated with an agent validate 1. Connectivity from agent machine 2. Entry in nonProxyPost in agent configuration if direct connectivity to SFTP Connectivity is needed.
DH key size must be multiple of 64, and can only range from 512 to 8192 (inclusive). The specific key size 4104 is not supported 

 



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create FTP connection and test.

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.