<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/414355#M255396</link>
    <description>&lt;P class="PDq2pG_selectionAnchorContainer"&gt;Thanks for the suggestions, Matt.&lt;/P&gt;&lt;P&gt;That's a good point about the hostname resolution happening before the proxy connection. I haven't tried adding the hostname to the hosts file yet, so I'll test that next.&lt;/P&gt;&lt;P&gt;I'll also compare the ping and nslookup results on both the NiFi 1.26.0 and 2.7.2 servers to see if there's any difference in DNS resolution. If the hostname resolves correctly but the issue still occurs only in 2.7.2, it may point to a regression in the newer version's handling of proxy or DNS resolution.&lt;/P&gt;&lt;P&gt;I'll update the thread once I have the results. Thanks again!&lt;/P&gt;</description>
    <pubDate>Sat, 11 Jul 2026 08:57:24 GMT</pubDate>
    <dc:creator>alightmotion</dc:creator>
    <dc:date>2026-07-11T08:57:24Z</dc:date>
    <item>
      <title>Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413303#M253992</link>
      <description>&lt;P&gt;Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service.&amp;nbsp; &amp;nbsp;It works when an IP address is listed.&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;Hostname: cloudera.com&lt;BR /&gt;Port: 22&lt;BR /&gt;Proxy Configuration Service:&amp;nbsp;StandardProxyConfigurationService (Proxy Type=HTTP)&lt;BR /&gt;&lt;BR /&gt;When executed (run once), it gets the following error:&lt;BR /&gt;ListSFTP[id=a423ae96-019b-1000-c5c2-8e609a342bc5] Processing failed: org.apache.nifi.processors.standard.socket.ClientConnectException: SSH Connection failed [cloudera.com:22]&lt;BR /&gt;- Caused by: org.apache.sshd.common.SshException: DefaultConnectFuture[A@cloudera.com/&amp;lt;unresolved&amp;gt;:22]: Failed (UnknownHostException) to execute: cloudera.com&lt;BR /&gt;- Caused by: java.net.UnknownHostException: cloudera.com&lt;BR /&gt;&lt;BR /&gt;When using the IP address of cloudera.com as&amp;nbsp;151.101.127.10 will work (disregard the proxy 403 error as it is not white listed)&amp;nbsp;&lt;BR /&gt;ListSFTP[id=a423ae96-019b-1000-c5c2-8e609a342bc5] Processing failed: org.apache.nifi.processors.standard.socket.ClientAuthenticationException: SSH Authentication failed [151.101.127.10:22]&lt;BR /&gt;- Caused by: org.apache.sshd.common.SshException: [ssh-connection]: Failed (HttpProxyConnectException) to execute: http, none, proxy.*****.**/xxx.xx.xx.xxx:8080 =&amp;gt; /151.101.127.10:22, status: 403 Forbidden&lt;BR /&gt;- Caused by: io.netty.handler.proxy.HttpProxyHandler$HttpProxyConnectException: http, none, proxy.*****.**/xxx.xx.xx.xxx:8080 =&amp;gt; /151.101.127.10:22, status: 403 Forbidden&lt;/P&gt;&lt;P&gt;When the above is executed under NiFi 1.26.0 works fine with hostname or IP address when using the proxy.&lt;/P&gt;&lt;P&gt;Anyone have seen this issue?&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 19:23:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413303#M253992</guid>
      <dc:creator>NSX</dc:creator>
      <dc:date>2026-01-09T19:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413321#M254006</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/141038"&gt;@NSX&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86141"&gt;@haridjh&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/97070"&gt;@vats&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 06:00:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413321#M254006</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2026-01-12T06:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413325#M254008</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/141038"&gt;@NSX&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: java.net.UnknownHostException: cloudera.com&lt;/LI-CODE&gt;&lt;P&gt;Above is telling you that your Apache NIFi 2.6.0 /2.7.2 server is unable to resolve "cloudera.com to an IP address.&amp;nbsp; You Apache NiFi 1.26 must be successful in hostname resolution and thus working.&lt;BR /&gt;&lt;BR /&gt;What if you manually added following to your hosts file on your 2.7.2 servers?&lt;BR /&gt;&lt;SPAN&gt;151.101.127.10 cloudera.com&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have you tried pinging cloudera.com from both your 2.7.2 and 1.26 servers?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 13:34:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413325#M254008</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2026-01-12T13:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413326#M254009</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Server under 1.26.0 and 2.7.2 are behind the firewall. Both servers were in the same subnet.&amp;nbsp; After we upgraded one of the server from 1.26.0 to 2.6.0 then 2.7.2 having issue using the Proxy Configuration service (Proxy server) to reach the internet ie: cloudera.com.&lt;/P&gt;&lt;P&gt;$ curl -x &lt;A href="http://proxy.xxxx.ca:8080" target="_blank"&gt;http://proxy.xxxx.ca:8080&lt;/A&gt; sftp://cloudera.com:22 -v&lt;BR /&gt;* Trying xxx.xx.xx.xxx:8080...&lt;BR /&gt;* Connected to proxy.xxxx.ca (xxx.xx.xx.xxx) port 8080 (#0)&lt;BR /&gt;* allocate connect buffer!&lt;BR /&gt;* Establish HTTP proxy tunnel to cloudera.com:22&lt;BR /&gt;&amp;gt; CONNECT cloudera.com:22 HTTP/1.1&lt;BR /&gt;&amp;gt; Host: cloudera.com:22&lt;BR /&gt;&amp;gt; User-Agent: curl/7.76.1&lt;BR /&gt;&amp;gt; Proxy-Connection: Keep-Alive&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 403 Forbidden&lt;BR /&gt;&amp;lt; Cache-Control: no-cache&lt;BR /&gt;&amp;lt; X-XSS-Protection: 1&lt;BR /&gt;&amp;lt; Connection: Keep-Alive&lt;BR /&gt;&amp;lt; Content-Type: text/html; charset=utf-8&lt;BR /&gt;&amp;lt; Content-Length: 729&lt;BR /&gt;&amp;lt; Pragma: no-cache&lt;BR /&gt;&amp;lt;&lt;BR /&gt;* Received HTTP code 403 from proxy after CONNECT&lt;BR /&gt;* CONNECT phase completed!&lt;BR /&gt;* Closing connection 0&lt;BR /&gt;curl: (56) Received HTTP code 403 from proxy after CONNECT&lt;/P&gt;&lt;P&gt;Disregard the proxy 403 error as it cloudera.com is not listed in the proxy white list.&lt;/P&gt;&lt;P&gt;The OS curl connection is working so it is not related to the host file (we cant use it behind the firewall).&amp;nbsp; &amp;nbsp;In NiFi 1.26.0 works fine.&amp;nbsp; The server upgraded to 2.6.0/2.7.2 was 1.26.0 previously and didnt have this issue.&amp;nbsp; Seems to be a bug with 2.x.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we use IP address in NiFi, the ListSFTP will work but not when using the hostname ie: cloudera.com; seems to be an issue passing the hostname to the proxy.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DefaultConnectFuture[A@cloudera.com/&amp;lt;unresolved&amp;gt;:22]: Failed (UnknownHostException) to execute: cloudera.com&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please advise.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 14:06:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413326#M254009</guid>
      <dc:creator>NSX</dc:creator>
      <dc:date>2026-01-12T14:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413355#M254028</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/141038"&gt;@NSX&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As stated previously, have you tried pinging cloudera.com from&amp;nbsp;&lt;SPAN&gt;2.6.0/2.7.2 server.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 14:30:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413355#M254028</guid>
      <dc:creator>haridjh</dc:creator>
      <dc:date>2026-01-20T14:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413356#M254029</link>
      <description>&lt;P&gt;Pinging directly will not work as it is behind the firewall.&amp;nbsp; We need to use curl pointing to the proxy to connect to cloudera.com at the OS level (could be any internet hostname)&lt;/P&gt;&lt;P&gt;My previous responses tested using curl calling our proxy server at the OS level where NiFi is running and it is working.&lt;/P&gt;&lt;P&gt;Only NiFi using&amp;nbsp;&lt;SPAN&gt;Configuration service (Proxy server: HTTP) seems to broken with 2.7.2.&amp;nbsp; Before the upgrade from 1.26 to 2.7.2, NiFi worked connecting to cloudera using our own proxy server.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 14:51:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/413356#M254029</guid>
      <dc:creator>NSX</dc:creator>
      <dc:date>2026-01-20T14:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/414188#M254772</link>
      <description>&lt;P&gt;ListSFTP[id=7b88bae5-5932-3efb-d1ad-44d1835a4d36] Processing failed: org.apache.nifi.processors.standard.socket.ClientConnectException: SSH Connection failed [sftp.uber.com:2222]&lt;BR /&gt;- Caused by: org.apache.sshd.common.SshException: DefaultConnectFuture[82d495ce@sftp.uber.com/&amp;lt;unresolved&amp;gt;:2222]: Failed (UnknownHostException) to execute: sftp.uber.com&lt;BR /&gt;- Caused by: java.net.UnknownHostException: sftp.uber.com&lt;/P&gt;&lt;P&gt;No issues with NiFi 1.26!&lt;/P&gt;&lt;P&gt;Updated to the latest 2.9.0 still the same issue. Anyone?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2026 12:29:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/414188#M254772</guid>
      <dc:creator>NSX</dc:creator>
      <dc:date>2026-06-03T12:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/414231#M255216</link>
      <description>&lt;P&gt;I wanted to add that when using the &lt;STRONG&gt;IP address:104.36.197.137&lt;/STRONG&gt; of sftp.uber.com it worked with NiFi 2.9.0 using PROXY HTTP Configuration service.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It has nothing to do with the OS DNS resolution because it is connected to the proxy server to resolve the destination.&lt;/P&gt;&lt;P&gt;When using sftp.uber.com, NiFi PROXY HTTP configuration service, it never reached the proxy server at all from the Proxy trace debug.&amp;nbsp; It has to be a NiFi PROXY configuration resolution with hostname when it works with 1.2x and not 2.x.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2026 13:11:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/414231#M255216</guid>
      <dc:creator>NSX</dc:creator>
      <dc:date>2026-06-12T13:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi 2.6.0/2.7.2 ListSFTP Hostname not working when using Proxy Configuration Service.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/414355#M255396</link>
      <description>&lt;P class="PDq2pG_selectionAnchorContainer"&gt;Thanks for the suggestions, Matt.&lt;/P&gt;&lt;P&gt;That's a good point about the hostname resolution happening before the proxy connection. I haven't tried adding the hostname to the hosts file yet, so I'll test that next.&lt;/P&gt;&lt;P&gt;I'll also compare the ping and nslookup results on both the NiFi 1.26.0 and 2.7.2 servers to see if there's any difference in DNS resolution. If the hostname resolves correctly but the issue still occurs only in 2.7.2, it may point to a regression in the newer version's handling of proxy or DNS resolution.&lt;/P&gt;&lt;P&gt;I'll update the thread once I have the results. Thanks again!&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jul 2026 08:57:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-2-6-0-2-7-2-ListSFTP-Hostname-not-working-when/m-p/414355#M255396</guid>
      <dc:creator>alightmotion</dc:creator>
      <dc:date>2026-07-11T08:57:24Z</dc:date>
    </item>
  </channel>
</rss>

