<?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: Is it OK to configure Load balance for NiFi UI? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Is-it-OK-to-configure-Load-balance-for-NiFi-UI/m-p/409050#M252796</link>
    <description>&lt;P&gt;Thanks a lot for your answer,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 May 2025 07:26:32 GMT</pubDate>
    <dc:creator>asand3r</dc:creator>
    <dc:date>2025-05-30T07:26:32Z</dc:date>
    <item>
      <title>Is it OK to configure Load balance for NiFi UI?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-it-OK-to-configure-Load-balance-for-NiFi-UI/m-p/409018#M252789</link>
      <description>&lt;P&gt;Hello, everyone!&lt;/P&gt;&lt;P&gt;We have a three-node Apache NiFi cluster with LDAP auth and now, users must enter node name to access NiFi UI, e.g.:&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi-node-01.company.com:9443/nifi" target="_blank"&gt;https://nifi-node-01.company.com:9443/nifi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'd like to do it more friendly for them and create some LB with HAProxy/Nginx etc. You know, to access NiFi with address like that:&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi-service.company.com" target="_blank"&gt;https://nifi-service.company.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I've read a lot of articles about LB, but all of them talk about LB for data flow, not for UI. So, what do you think - it is OK? Are where any potential pitfalls?&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 14:24:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-it-OK-to-configure-Load-balance-for-NiFi-UI/m-p/409018#M252789</guid>
      <dc:creator>asand3r</dc:creator>
      <dc:date>2025-05-29T14:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it OK to configure Load balance for NiFi UI?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-it-OK-to-configure-Load-balance-for-NiFi-UI/m-p/409040#M252792</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/126490"&gt;@asand3r&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It is very common to use a load balancer in front of NiFi's UI, but it is necessary to configured &lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#session_affinity" target="_blank" rel="noopener"&gt;Session Affinity&lt;/A&gt; (sticky sessions) in the load balancer to make sure all subsequent requests are directed to same node in same session.&lt;BR /&gt;&lt;BR /&gt;When you login to a NiFi node using ldap auth, that specific node issues you a user token and stores a corresponding server side token.&amp;nbsp; That server side token is only present on the one node that handled the user authentication.&amp;nbsp; So without session affinity configured redirects within the same session are likely to end up going to other nodes which will reject the client token.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The server token is how NiFi controls access expiration since it is not possible to guarantee a client expires and stops using the client token issued.&amp;nbsp; The NiFi node will remove the server side token at expiration or when user clicks logout.&lt;BR /&gt;&lt;BR /&gt;You'll also want to make sure that your NiFi node certificates also include a SAN entry for:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi-service.company.com&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Thu, 29 May 2025 19:39:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-it-OK-to-configure-Load-balance-for-NiFi-UI/m-p/409040#M252792</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-05-29T19:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it OK to configure Load balance for NiFi UI?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-it-OK-to-configure-Load-balance-for-NiFi-UI/m-p/409050#M252796</link>
      <description>&lt;P&gt;Thanks a lot for your answer,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 07:26:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-it-OK-to-configure-Load-balance-for-NiFi-UI/m-p/409050#M252796</guid>
      <dc:creator>asand3r</dc:creator>
      <dc:date>2025-05-30T07:26:32Z</dc:date>
    </item>
  </channel>
</rss>

