<?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: NiFI SiteToSiteProvenanceReportingTask error - connection refused in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFI-SiteToSiteProvenanceReportingTask-error-connection/m-p/170850#M57816</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt; thank you, it worked perfectly. And thanks for the explanation as well. &lt;/P&gt;&lt;P&gt;In the post I was using as reference, both instances were hosted on the same machine, so I couldn't quite figure out this difference that you elaborated on.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2017 22:12:54 GMT</pubDate>
    <dc:creator>Raj_B</dc:creator>
    <dc:date>2017-03-23T22:12:54Z</dc:date>
    <item>
      <title>NiFI SiteToSiteProvenanceReportingTask error - connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFI-SiteToSiteProvenanceReportingTask-error-connection/m-p/170848#M57814</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm trying to have NiFi Provenance data from the NiFi cluster sent to a standalone NiFi instance. Both NiFi instances are unsecure; I followed the instructions in this post - &lt;A href="https://community.hortonworks.com/articles/72727/extracting-nifi-provenance-data-using-sitetositepr.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.hortonworks.com/articles/72727/extracting-nifi-provenance-data-using-sitetositepr.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My setup is shown below; I modified the site-to-site properties in &lt;STRONG&gt;nifi.properties file of the Provenance instance&lt;/STRONG&gt; and setup the &lt;STRONG&gt;SiteToSiteProvenanceReportingTask on the NiFi Cluster&lt;/STRONG&gt;, the properties of that are listed in the image below;&lt;/P&gt;&lt;P&gt;When I start the SiteToSiteProvenanceReportingTask, I see the "Connection refused" error in the 2nd picture below; &lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13953-s2s-prov-error.png" style="width: 1546px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20084i600A416A0AB909D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13953-s2s-prov-error.png" alt="13953-s2s-prov-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13954-sitetositeprovenancereportingtask-error.png" style="width: 1002px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20085i9A8FFC4B0F5AE842/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13954-sitetositeprovenancereportingtask-error.png" alt="13954-sitetositeprovenancereportingtask-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:43:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFI-SiteToSiteProvenanceReportingTask-error-connection/m-p/170848#M57814</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2019-08-18T10:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: NiFI SiteToSiteProvenanceReportingTask error - connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFI-SiteToSiteProvenanceReportingTask-error-connection/m-p/170849#M57815</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10100/rbolla.html" nodeid="10100"&gt;@Raj B&lt;/A&gt;&lt;P&gt;The nifi.remote.input.host property should be set to the hostname of the node on which you are configuring this file.&lt;/P&gt;&lt;P&gt;Based on the above it appears you set the hostname of your other NiFi Instance.&lt;/P&gt;&lt;P&gt;NiFi instance abc.domain.com should have nifi.remote.input.host set to abc.domain.com&lt;/P&gt;&lt;P&gt;NiFi S2S works as follows:&lt;/P&gt;&lt;P&gt;xyz.domain.com connects to the http URL of abc.domain.com:9090/nifi.  abc.domain.com then responds back to xyz.domain.com that data should be transmitted to &amp;lt;nifi.remote.imput.host&amp;gt; over port &amp;lt;nifi.remote.input.socket.port&amp;gt;&lt;/P&gt;&lt;P&gt;*** This is done this way in case the target is actually a cluster.  The S2S response to the initial connection would in that case include the remote.input.host and remote.input.socket.port from every node in the target NiFi cluster so data could be load-balanced.&lt;/P&gt;&lt;P&gt;So in your case after initial connection, abc is telling xyx to send data to himself over port 10000 which is going to get refused.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 04:23:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFI-SiteToSiteProvenanceReportingTask-error-connection/m-p/170849#M57815</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-03-23T04:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: NiFI SiteToSiteProvenanceReportingTask error - connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFI-SiteToSiteProvenanceReportingTask-error-connection/m-p/170850#M57816</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt; thank you, it worked perfectly. And thanks for the explanation as well. &lt;/P&gt;&lt;P&gt;In the post I was using as reference, both instances were hosted on the same machine, so I couldn't quite figure out this difference that you elaborated on.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 22:12:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFI-SiteToSiteProvenanceReportingTask-error-connection/m-p/170850#M57816</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2017-03-23T22:12:54Z</dc:date>
    </item>
  </channel>
</rss>

