<?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: Frequent Session Expired  in NiFi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395829#M249040</link>
    <description>&lt;P&gt;thank you&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;for your quick answer, i am using nifi 1.19.1&lt;BR /&gt;so the solution is to upgrade Nifi to Version&amp;gt;=2.0&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 15:27:46 GMT</pubDate>
    <dc:creator>salahevops</dc:creator>
    <dc:date>2024-10-23T15:27:46Z</dc:date>
    <item>
      <title>Frequent Session Expired  in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395820#M249034</link>
      <description>&lt;P&gt;Hello Cloudera Community,&lt;/P&gt;&lt;P&gt;I'm encountering an issue with my NiFi deployment where users are getting frequent "Session Expired" messages approximately every 30 minutes. When this happens, they have to refresh their browser, which causes them to lose any unsaved modifications in the process.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Setup details:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;NiFi is integrated with Azure Active Directory .&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Below are the relevant configurations from my nifi.properties file (please let me know if any more details are needed).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;nifi.security.user.oidc.additional.scopes=profile&lt;BR /&gt;nifi.security.user.oidc.claim.identifying.user=upn&lt;BR /&gt;nifi.security.user.oidc.client.id=********************&lt;BR /&gt;nifi.security.user.oidc.client.secret=***************&lt;BR /&gt;nifi.security.user.oidc.connect.timeout=180 secs&lt;BR /&gt;nifi.security.user.oidc.discovery.url=&lt;A href="https://login.microsoftonline.com/************" target="_blank" rel="noopener"&gt;https://login.microsoftonline.com/************&lt;/A&gt;&lt;BR /&gt;nifi.security.user.oidc.preferred.jwsalgorithm=&lt;BR /&gt;nifi.security.user.oidc.read.timeout=180 secs&lt;BR /&gt;nifi.web.war.directory= ./lib&lt;BR /&gt;nifi.web.proxy.host=&amp;nbsp;nifi.**************.com&lt;BR /&gt;nifi.web.https.port= 8443&lt;BR /&gt;nifi.web.http.host= nifi-0.nifi-headless.nifi.svc.cluster.local&lt;BR /&gt;nifi.web.http.network.interface.default= eth0&lt;BR /&gt;nifi.web.jetty.working.directory= ./work/jetty&lt;BR /&gt;nifi.web.jetty.threads= 200&lt;BR /&gt;nifi.web.request.timeout= 600 secs&lt;/P&gt;&lt;P&gt;I believe the issue might relate to session management or integration with Azure AD, but I’m not entirely sure. Could this be a misconfiguration with Jetty or session handling settings? Has anyone experienced something similar when using Azure AD, or could there be additional configurations I should consider?&lt;/P&gt;&lt;P&gt;Any advice on how I can resolve this issue would be much appreciated!&lt;/P&gt;&lt;P&gt;Please let me know if you need more information about my configuration or logs to assist in troubleshooting.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 13:14:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395820#M249034</guid>
      <dc:creator>salahevops</dc:creator>
      <dc:date>2024-10-23T13:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Frequent Session Expired  in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395828#M249039</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/119465"&gt;@salahevops&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I suspect you are not running Apache NiFi older then release 1.21?&lt;BR /&gt;If so, you may be encountering this issue addressed through an improvement:&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-4890" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-4890&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Azure AD lets a lifetime on the client issued token.&amp;nbsp; That is likely 30 minutes.&lt;BR /&gt;The token can be refreshed, but NiFi OIDC in older version does not have the ability to do the background refresh.&lt;BR /&gt;&lt;BR /&gt;Further improvements where added in NiFi 2.0 to add the refresh configuration timer:&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-12135" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-12135&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community thrive. 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;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 15:01:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395828#M249039</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-10-23T15:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Frequent Session Expired  in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395829#M249040</link>
      <description>&lt;P&gt;thank you&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;for your quick answer, i am using nifi 1.19.1&lt;BR /&gt;so the solution is to upgrade Nifi to Version&amp;gt;=2.0&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 15:27:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395829#M249040</guid>
      <dc:creator>salahevops</dc:creator>
      <dc:date>2024-10-23T15:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Frequent Session Expired  in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395851#M249042</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/119465"&gt;@salahevops&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Upgrading to Apache NiFi 1.21 or newer should resolve you issue.&lt;BR /&gt;The latest Apache NiFi 1.x branch release is 1.27.&lt;BR /&gt;&lt;BR /&gt;Apache NiFi 2.x branch is still in it developmental milestone release cycle (currently at 2.0.0-M4).&amp;nbsp; There was a vote put forth in Apache NiFi to release the first official 2.0 release.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community thrive. 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>Wed, 23 Oct 2024 16:50:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395851#M249042</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-10-23T16:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Frequent Session Expired  in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395891#M249057</link>
      <description>&lt;P&gt;thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 07:30:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Frequent-Session-Expired-in-NiFi/m-p/395891#M249057</guid>
      <dc:creator>salahevops</dc:creator>
      <dc:date>2024-10-24T07:30:20Z</dc:date>
    </item>
  </channel>
</rss>

