<?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 Error accessing NIFI remote port thru SSH tunnel in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110922#M73770</link>
    <description>&lt;P&gt;We have a NiFi instance running on a remote server where we can only access ports thru SSH Tunneling from another server. So we setup a tunnel for nifi port 9090 and was able to successfully access it from a citrix server using &lt;A href="http://localhost:10090/Nifi" target="_blank"&gt;http://localhost:10090/Nifi&lt;/A&gt; where port 10090 is tunneling to &lt;A href="http://nifiserver:9090/Nifi" target="_blank"&gt;http://nifiserver:9090/Nifi&lt;/A&gt;. This scenario is working.&lt;/P&gt;&lt;P&gt;i created input port and a putHDFS on the remote NiFi server and trying to access it from the NiFi instance on the citrix server , i am getting connection timeouts. The dataflow was able to recognise the fact that there is a remote port on the other machine.&lt;/P&gt;&lt;P&gt;Also what is the reason behind the calling NiFi needing connectivity to remote port.? it would have been better if that is handled on the remote instance , because it can connect to the web port.(9090 here) .&lt;/P&gt;&lt;P&gt;any ideas on what to do.??&lt;/P&gt;&lt;P&gt;2016-08-18 13:03:40,919 ERROR [Timer-Driven Process Thread-8] o.a.nifi.remote.StandardRemoteGroupPort RemoteGroupPort[name=POV-HDFSInput,target=http://localhost:10090/nifi] failed to communicate with &lt;A href="http://localhost:10090/nifi" target="_blank"&gt;http://localhost:10090/nifi&lt;/A&gt; due to java.net.ConnectException: Connection timed out: no further information&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2016 01:50:07 GMT</pubDate>
    <dc:creator>saikrishna_tara</dc:creator>
    <dc:date>2016-08-19T01:50:07Z</dc:date>
    <item>
      <title>Error accessing NIFI remote port thru SSH tunnel</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110922#M73770</link>
      <description>&lt;P&gt;We have a NiFi instance running on a remote server where we can only access ports thru SSH Tunneling from another server. So we setup a tunnel for nifi port 9090 and was able to successfully access it from a citrix server using &lt;A href="http://localhost:10090/Nifi" target="_blank"&gt;http://localhost:10090/Nifi&lt;/A&gt; where port 10090 is tunneling to &lt;A href="http://nifiserver:9090/Nifi" target="_blank"&gt;http://nifiserver:9090/Nifi&lt;/A&gt;. This scenario is working.&lt;/P&gt;&lt;P&gt;i created input port and a putHDFS on the remote NiFi server and trying to access it from the NiFi instance on the citrix server , i am getting connection timeouts. The dataflow was able to recognise the fact that there is a remote port on the other machine.&lt;/P&gt;&lt;P&gt;Also what is the reason behind the calling NiFi needing connectivity to remote port.? it would have been better if that is handled on the remote instance , because it can connect to the web port.(9090 here) .&lt;/P&gt;&lt;P&gt;any ideas on what to do.??&lt;/P&gt;&lt;P&gt;2016-08-18 13:03:40,919 ERROR [Timer-Driven Process Thread-8] o.a.nifi.remote.StandardRemoteGroupPort RemoteGroupPort[name=POV-HDFSInput,target=http://localhost:10090/nifi] failed to communicate with &lt;A href="http://localhost:10090/nifi" target="_blank"&gt;http://localhost:10090/nifi&lt;/A&gt; due to java.net.ConnectException: Connection timed out: no further information&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 01:50:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110922#M73770</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2016-08-19T01:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing NIFI remote port thru SSH tunnel</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110923#M73771</link>
      <description>&lt;P&gt;On the instance where you have POV-HDFSInput, what is the value of nifi.remote.input.socket.port in nifi.properties? &lt;/P&gt;&lt;P&gt;You would need to be tunneled as well, and i think it would have to be tunneled to the same port, since the first NiFi is going to make a REST call &lt;A href="http://localhost:10090/nifi" target="_blank"&gt;http://localhost:10090/nifi&lt;/A&gt; and ask what port to use for site-to-site and it is going to return the value of nifi.remote.input.socket.port.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 04:10:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110923#M73771</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-08-19T04:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing NIFI remote port thru SSH tunnel</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110924#M73772</link>
      <description>&lt;P&gt;i think thats where its failing. the remote port on the input port is 9091. in the local NiFi i didn't set any remote port. so you are suggesting to set up a tunnel . what would be my local port for tunnel .?? i tried with local 9091 and to destination nifi remote 9091. but was getting the same error. i think its because its not using 9091 on local correct.?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 04:41:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110924#M73772</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2016-08-19T04:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing NIFI remote port thru SSH tunnel</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110925#M73773</link>
      <description>&lt;P&gt;Tunneling 9091 to 9091 seems correct, I'm wondering if the hostname is also a problem... did you also set a value for nifi.remote.input.socket.host? I have a feeling that its trying to connect to the hostname or ip, rather than localhost:9091.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 06:14:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110925#M73773</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-08-19T06:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing NIFI remote port thru SSH tunnel</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110926#M73774</link>
      <description>&lt;P&gt;Hi Bryan,&lt;/P&gt;&lt;P&gt;here are my config files and settings..&lt;/P&gt;&lt;P&gt;local instance of nifi&lt;/P&gt;&lt;P&gt;# Site to Site properties &lt;/P&gt;&lt;P&gt;nifi.remote.input.socket.host= &lt;/P&gt;&lt;P&gt;nifi.remote.input.socket.port= &lt;/P&gt;&lt;P&gt;nifi.remote.input.secure=false&lt;/P&gt;&lt;P&gt;--Remote instance of nifi&lt;/P&gt;&lt;P&gt;nifi.remote.input.socket.host= &lt;/P&gt;&lt;P&gt;nifi.remote.input.socket.port=9091&lt;/P&gt;&lt;P&gt;nifi.remote.input.secure=false&lt;/P&gt;&lt;P&gt;SSH Tunnel on local server (where local instance of NiFi is running)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6815-tunnel.png" style="width: 466px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23286iE4006FF923A1D2E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6815-tunnel.png" alt="6815-tunnel.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and here is how my local dataflow looks..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6813-localnifi.png" style="width: 418px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23287i8D8E92482B3EB625/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6813-localnifi.png" alt="6813-localnifi.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;remote&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6814-remotenifi.png" style="width: 695px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23288i5ED81B7DFFA8B5EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6814-remotenifi.png" alt="6814-remotenifi.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7847i13B0210E8B64AE54/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="tunnel.png" title="tunnel.png" /&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:23:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110926#M73774</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2019-08-19T11:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing NIFI remote port thru SSH tunnel</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110927#M73775</link>
      <description>&lt;P&gt;Can you try setting nifi.remote.input.socket.host=localhost on the one where 9091 is set, you'll have to restart after changing that value. Curious to see if that changes behavior. &lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2016 07:38:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110927#M73775</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-08-20T07:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing NIFI remote port thru SSH tunnel</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110928#M73776</link>
      <description>&lt;P&gt;Its working now after I changed it to localhost, i think as you mentioned it was resolving to server’s IP address earlier and
now with “localhost” as the hostname , the Tunnel is routing it to the 9091
port. &lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 23:15:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110928#M73776</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2016-08-23T23:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing NIFI remote port thru SSH tunnel</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110929#M73777</link>
      <description>&lt;P&gt;Glad to hear it!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 23:41:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-accessing-NIFI-remote-port-thru-SSH-tunnel/m-p/110929#M73777</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-08-23T23:41:29Z</dc:date>
    </item>
  </channel>
</rss>

