<?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 Cluster but single point of URL in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367308#M239866</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78566"&gt;@Meeran&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The solution here is to setup an external load balancer in front of your 3 NiFi nodes.&amp;nbsp; Then have your clients point at that load balancer.&amp;nbsp; The Load Balancer would then be responsible for sending your client request to one of the available NiFi nodes. (If a node goes down, the Load Balancer simply does not send client requests to that node.&lt;BR /&gt;&lt;BR /&gt;When using a Load Balancer in front of your NiFi cluster, it is important that the Load Balancer is configured to use sticky sessions.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 12:35:12 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2023-03-30T12:35:12Z</dc:date>
    <item>
      <title>NiFi Cluster but single point of URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367295#M239857</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured nifi flow with three node with external zookeeper&lt;/P&gt;&lt;P&gt;node1.domain.com&lt;/P&gt;&lt;P&gt;node2.domain.com&lt;/P&gt;&lt;P&gt;node3.domain.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with three zookeeper nodes&lt;/P&gt;&lt;P&gt;zk1.domain.com&lt;/P&gt;&lt;P&gt;zk2.domain.com&lt;/P&gt;&lt;P&gt;zk3.domain.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything is working fine but the requirement here is my flow has trigger points from external client systems to whom I have give a common URL like&lt;/P&gt;&lt;P&gt;node.domain.com to avoid any changes on the client teams if any of nodes goes down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how to configure this.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 11:18:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367295#M239857</guid>
      <dc:creator>Meeran</dc:creator>
      <dc:date>2023-03-30T11:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster but single point of URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367308#M239866</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78566"&gt;@Meeran&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The solution here is to setup an external load balancer in front of your 3 NiFi nodes.&amp;nbsp; Then have your clients point at that load balancer.&amp;nbsp; The Load Balancer would then be responsible for sending your client request to one of the available NiFi nodes. (If a node goes down, the Load Balancer simply does not send client requests to that node.&lt;BR /&gt;&lt;BR /&gt;When using a Load Balancer in front of your NiFi cluster, it is important that the Load Balancer is configured to use sticky sessions.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 12:35:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367308#M239866</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-03-30T12:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster but single point of URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367460#M239903</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;I have implemented in the same way what you have said but while accessing with the load balancer url I am getting the below exception&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System Error&lt;BR /&gt;The request contained an invalid host header [internal-myappname-13718787520.us-east-1.elb.amazonaws.com:8443] in the request [/]. Check for request manipulation or third-party intercept.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 15:07:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367460#M239903</guid>
      <dc:creator>Meeran</dc:creator>
      <dc:date>2023-03-31T15:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster but single point of URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367506#M239923</link>
      <description>&lt;P&gt;I have configured this and set the&amp;nbsp;&lt;BR /&gt;nifi.web.proxy.host:&amp;nbsp;&lt;SPAN&gt;node1.domain.com:8443,node2.domain.com:8443,node3.domain.com:8443,loabalancerUrl.domain.com:8443&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;but while logging in I see below issue. I have checked the logs but no errors in nifi-user.logs&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Meeran_0-1680421347163.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37145i66082B84368D639C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Meeran_0-1680421347163.png" alt="Meeran_0-1680421347163.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 07:42:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367506#M239923</guid>
      <dc:creator>Meeran</dc:creator>
      <dc:date>2023-04-02T07:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster but single point of URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367742#M239972</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78566"&gt;@Meeran&lt;/a&gt;&amp;nbsp;Where are you seeing above exception?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;System Error
The request contained an invalid host header [internal-myappname-13718787520.us-east-1.elb.amazonaws.com:8443] in the request [/]. Check for request manipulation or third-party intercept.&lt;/LI-CODE&gt;&lt;P&gt;In your Load Balancer logs?&lt;BR /&gt;This host header "&lt;SPAN&gt;internal-myappname-13718787520.us-east-1.elb.amazonaws.com"&amp;nbsp;&lt;/SPAN&gt;is in your nifi.web.proxy.host list or in the SAN list within each of your node's certificates?&lt;BR /&gt;&lt;BR /&gt;In NiFi, check the nifi-user.log and nifi-app.log for any WARN or ERROR log output being produced when you try to access NiFi via the load balancer URL.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 20:20:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367742#M239972</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-04-04T20:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster but single point of URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367936#M240001</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load balancer started showing the login page after setting below properties in nifi.properties&lt;/P&gt;&lt;P&gt;nifi.web.proxy.context.path=/&lt;BR /&gt;nifi.web.proxy.host=&lt;STRONG&gt;myapp.dev.domain.com&lt;/STRONG&gt;:8443&amp;nbsp; (load balancer url)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but after giving the logins details nifi canvas is not coming up&lt;/P&gt;&lt;P&gt;I am seeing the below error while access via load balancer URL in nifi-user.log file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2023-04-06 15:04:35,861 INFO [NiFi Web Server-17] o.a.n.w.s.NiFiAuthenticationFilter Authentication Started 10.1xx.xx.xxx [&amp;lt;anonymous&amp;gt;] GET &lt;STRONG&gt;&lt;A href="https://myapp.dev.domain.com" target="_blank" rel="noopener"&gt;https://myapp.dev.domain.com&lt;/A&gt;&lt;/STRONG&gt;:8443/nifi-api/flow/current-user&lt;BR /&gt;2023-04-06 15:04:35,862 WARN [NiFi Web Server-17] o.a.n.w.s.NiFiAuthenticationFilter&lt;/P&gt;&lt;P&gt;Authentication Failed 10.1xx.xx.xxx GET &lt;STRONG&gt;&lt;A href="https://myapp.dev.domain.com" target="_blank" rel="noopener"&gt;https://myapp.dev.domain.com&lt;/A&gt;&lt;/STRONG&gt;:8443/nifi-api/flow/current-user [Anonymous authentication has not been configured.]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using LDAP for authentication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to change any other properties/settings, please help&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 16:07:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367936#M240001</guid>
      <dc:creator>Meeran</dc:creator>
      <dc:date>2023-04-06T16:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster but single point of URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367945#M240004</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78566"&gt;@Meeran&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you setup sticky sessions in your load balancer?&lt;BR /&gt;When you provide your ldap username and password, a JWT Token issue to the client which is only valid for use with the specific NiFi node that issued it.&amp;nbsp; So if you enter your username and password and you LB sends next request to a different node to load the flow, the JWT token will not be accepted to identify your user on that other node.&lt;BR /&gt;&lt;BR /&gt;Watch the nifi-user.log on all nodes when you attempt to login.&amp;nbsp; In one of those logs you will see authentication success logged for your user.&amp;nbsp; I suspect that then the above exception about&amp;nbsp; "anonymous" is then in a different node's user log.&lt;BR /&gt;&lt;BR /&gt;If you are having trouble configuring your load balancer, it would be best to start a new community question for that query so it gets to a wider audience.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 19:19:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367945#M240004</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-04-06T19:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster but single point of URL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367974#M240012</link>
      <description>&lt;P&gt;Thanks for support&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;. I overlooked that sticky session part but after configuring the sticky session on the load balancer everything is working fine.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 06:36:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-but-single-point-of-URL/m-p/367974#M240012</guid>
      <dc:creator>Meeran</dc:creator>
      <dc:date>2023-04-07T06:36:18Z</dc:date>
    </item>
  </channel>
</rss>

