Member since
01-09-2026
1
Post
0
Kudos Received
0
Solutions
01-09-2026
11:23 AM
Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service. It works when an IP address is listed. Example: Hostname: cloudera.com Port: 22 Proxy Configuration Service: StandardProxyConfigurationService (Proxy Type=HTTP) When executed (run once), it gets the following error: ListSFTP[id=a423ae96-019b-1000-c5c2-8e609a342bc5] Processing failed: org.apache.nifi.processors.standard.socket.ClientConnectException: SSH Connection failed [cloudera.com:22] - Caused by: org.apache.sshd.common.SshException: DefaultConnectFuture[A@cloudera.com/<unresolved>:22]: Failed (UnknownHostException) to execute: cloudera.com - Caused by: java.net.UnknownHostException: cloudera.com When using the IP address of cloudera.com as 151.101.127.10 will work (disregard the proxy 403 error as it is not white listed) ListSFTP[id=a423ae96-019b-1000-c5c2-8e609a342bc5] Processing failed: org.apache.nifi.processors.standard.socket.ClientAuthenticationException: SSH Authentication failed [151.101.127.10:22] - Caused by: org.apache.sshd.common.SshException: [ssh-connection]: Failed (HttpProxyConnectException) to execute: http, none, proxy.*****.**/xxx.xx.xx.xxx:8080 => /151.101.127.10:22, status: 403 Forbidden - Caused by: io.netty.handler.proxy.HttpProxyHandler$HttpProxyConnectException: http, none, proxy.*****.**/xxx.xx.xx.xxx:8080 => /151.101.127.10:22, status: 403 Forbidden When the above is executed under NiFi 1.26.0 works fine with hostname or IP address when using the proxy. Anyone have seen this issue? Please advise.
... View more
Labels:
- Labels:
-
Apache NiFi