<?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: Access failed after apache nifi installation in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/380094#M243996</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104769"&gt;@whoknows&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Apache NiFi 2.0.0-M1 requires Java 21 and utilizes Jetty 10.&amp;nbsp; This results in needing to comply with the SNI specification.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So the URL used to access your NiFi can not use an IP address and the hostname used must match a hostname found in the SAN entries list with the NiFi's configured keystore PrivateKeyEntry.&lt;BR /&gt;&lt;BR /&gt;Apache NiFi 2.0 out-of-the-box will generate a keystore and truststore.&amp;nbsp; The keystore will contain a PrivateKeyEntry with a SAN entry for localhost and the server hostname.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, 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 one or more 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>Fri, 01 Dec 2023 18:37:37 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2023-12-01T18:37:37Z</dc:date>
    <item>
      <title>Access failed after apache nifi installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/379924#M243957</link>
      <description>&lt;H2&gt;HTTP ERROR 400 Invalid SNI&lt;/H2&gt;&lt;P&gt;URI:STATUS:MESSAGE:SERVLET:CAUSED BY:&lt;/P&gt;&lt;P&gt;URI: /nifi&lt;BR /&gt;STATUS: 400&lt;BR /&gt;MESSAGE: Invalid SNI&lt;BR /&gt;SERVLET: -&lt;BR /&gt;CAUSED BY: org.eclipse.jetty.http.BadMessageException: 400: Invalid SNI&lt;/P&gt;&lt;H3&gt;Caused by:&lt;/H3&gt;&lt;P&gt;org.eclipse.jetty.http.BadMessageException: 400: Invalid SNI&lt;BR /&gt;at org.eclipse.jetty.server.SecureRequestCustomizer.customize(SecureRequestCustomizer.java:266)&lt;BR /&gt;at org.eclipse.jetty.server.SecureRequestCustomizer.customize(SecureRequestCustomizer.java:207)&lt;BR /&gt;at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1594)&lt;BR /&gt;at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)&lt;BR /&gt;at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)&lt;BR /&gt;at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:461)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.produce(AdaptiveExecutionStrategy.java:193)&lt;BR /&gt;at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:208)&lt;BR /&gt;at org.eclipse.jetty.http2.server.HTTP2ServerConnection.onOpen(HTTP2ServerConnection.java:116)&lt;BR /&gt;at org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:451)&lt;BR /&gt;at org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:125)&lt;BR /&gt;at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)&lt;BR /&gt;at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)&lt;BR /&gt;at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:558)&lt;BR /&gt;at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:379)&lt;BR /&gt;at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:146)&lt;BR /&gt;at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)&lt;BR /&gt;at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199)&lt;BR /&gt;at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)&lt;BR /&gt;at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)&lt;BR /&gt;at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)&lt;BR /&gt;at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)&lt;BR /&gt;at java.base/java.lang.Thread.run(Thread.java:1583)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 09:19:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/379924#M243957</guid>
      <dc:creator>whoknows</dc:creator>
      <dc:date>2023-11-30T09:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Access failed after apache nifi installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/379936#M243963</link>
      <description>&lt;P&gt;Are you trying to access NiFi using an IP address in your browser? I got the same SNI error, but got round it by using the hostname...&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 14:41:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/379936#M243963</guid>
      <dc:creator>lw47</dc:creator>
      <dc:date>2023-11-30T14:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Access failed after apache nifi installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/380094#M243996</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104769"&gt;@whoknows&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Apache NiFi 2.0.0-M1 requires Java 21 and utilizes Jetty 10.&amp;nbsp; This results in needing to comply with the SNI specification.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So the URL used to access your NiFi can not use an IP address and the hostname used must match a hostname found in the SAN entries list with the NiFi's configured keystore PrivateKeyEntry.&lt;BR /&gt;&lt;BR /&gt;Apache NiFi 2.0 out-of-the-box will generate a keystore and truststore.&amp;nbsp; The keystore will contain a PrivateKeyEntry with a SAN entry for localhost and the server hostname.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, 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 one or more 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>Fri, 01 Dec 2023 18:37:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/380094#M243996</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-12-01T18:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Access failed after apache nifi installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/380503#M244073</link>
      <description>&lt;P&gt;Hello , I have same issue and i tried the recommended solution but none of this works the same error still persists. I tried setting in /etc/hosts file my IP addresses as different names like my.nifi.server , my.server.com etc.. and set that in the nifi.properties file yet no difference in the error. I restarted several times and log error persists.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 16:54:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/380503#M244073</guid>
      <dc:creator>Vas</dc:creator>
      <dc:date>2023-12-07T16:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Access failed after apache nifi installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/383566#M244957</link>
      <description>&lt;P&gt;I faced the same issue such as Java 21 is installed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ghilani_0-1708118379568.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39713i4D63D8C1DE40A49A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ghilani_0-1708118379568.png" alt="Ghilani_0-1708118379568.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I got this issue:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ghilani_1-1708118495903.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39714i2C000E1D34E599DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ghilani_1-1708118495903.png" alt="Ghilani_1-1708118495903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;as mentioned in a comment above that we need the hostname:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ghilani_2-1708118565762.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39715i81A07C380970020F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ghilani_2-1708118565762.png" alt="Ghilani_2-1708118565762.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 21:22:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/383566#M244957</guid>
      <dc:creator>Ghilani</dc:creator>
      <dc:date>2024-02-16T21:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Access failed after apache nifi installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/383774#M245056</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108241"&gt;@Vas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The solution is not as simple as just setting a a hostname resolution in /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;The hostname you type in the NiFi URL must exist as a SAN entry within the PrivateKey located in NiFi keystore configured in the nifi.properties file.&lt;BR /&gt;&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 16:51:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/383774#M245056</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-02-22T16:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Access failed after apache nifi installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/384826#M245499</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Has anyone resolved this issue and would be willing to share their solution?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 09:09:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/384826#M245499</guid>
      <dc:creator>Ghilani</dc:creator>
      <dc:date>2024-03-11T09:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Access failed after apache nifi installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/384847#M245514</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/97656"&gt;@Ghilani&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;1. You are getting same exact Invalid SNI exception?&lt;BR /&gt;2. You are using the keystore and truststore built by Apache NiFi out-of-the-box?&lt;BR /&gt;3. You tried using "localhost" if Nifi is on same host and browser being used to access it?&lt;BR /&gt;4. If browser is on different host then NiFi, did you use the hostname instead of IP address for target host where NiFi is running?&lt;BR /&gt;5. Did you list the keystore used by your running NiFi to inspect the SAN entries it has setup?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 15:39:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/384847#M245514</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-03-11T15:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Access failed after apache nifi installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/384853#M245517</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;When I attempt to connect using the IP address, I encounter the same message. However, the connection is successful when using 'localhost'. I am aiming to establish a unique DNS name that is distinct from both 'localhost' and the IP address. I'm utilizing Docker to operate Nifi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 17:30:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/384853#M245517</guid>
      <dc:creator>Ghilani</dc:creator>
      <dc:date>2024-03-11T17:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Access failed after apache nifi installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/397832#M249992</link>
      <description>&lt;P&gt;For remote access to login page, just add to c:/windows/system32/drivers/etc/hosts&lt;/P&gt;&lt;P&gt;your server IP and hostname&lt;/P&gt;&lt;P&gt;same on linux, /etc/hosts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 16:40:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Access-failed-after-apache-nifi-installation/m-p/397832#M249992</guid>
      <dc:creator>BadKarma</dc:creator>
      <dc:date>2024-11-21T16:40:16Z</dc:date>
    </item>
  </channel>
</rss>

