<?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 starts without error but cannot connect in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/338254#M232781</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96122"&gt;@CookieCream&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I have a good idea of what's going on. The bootstrap.log, which you shared in pvt, has an error message complaining about a invalid key size. When I saw that I checked again your Java version and realized that you're using a very old Java version (1.8.0_65). In this version of Java, cryptographic key sizes were limited and you could not create long keys. Because of that, NiFi fails to create the TLS keys when it starts. To enable that in your Java version, you would have to download the&amp;nbsp;Java Cryptography Extension (JCE) Unlimited Strength policies and copy them to your Java home manually to allow AES keys of size 256 and larger. These policies were only included by default in the JDK starting from update 1.8.0_162.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, you have two options to make this work:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;(Recommended) Upgrade your JDK to the latest Java 1.8 or, preferrably, to Java 11 (do not use versions higher than 11 because they are not supported by NiFi)&lt;/LI&gt;&lt;LI&gt;Alternatively, you can download the&amp;nbsp;&lt;A href="https://www.oracle.com/au/java/technologies/javase-jce8-downloads.html" target="_self"&gt;Java Cryptography Extension (JCE) Unlimited Strength&lt;/A&gt;, unzip it and follow the steps in the README.TXT to install it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Once you do one of the above, clean up the directories of your previous attempts and try again with the steps that I copied below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wget "https://downloads.apache.org/nifi/1.15.3/nifi-1.15.3-bin.tar.gz" -P .
tar -zxvf ./nifi-1.15.3-bin.tar.gz
cd nifi-1.15.3
./bin/nifi.sh set-single-user-credentials admin supersecret1
./bin/nifi.sh start&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let us know if it works this time &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&lt;EM&gt;--&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Was your question answered? Please take some time to click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Mar 2022 21:57:13 GMT</pubDate>
    <dc:creator>araujo</dc:creator>
    <dc:date>2022-03-09T21:57:13Z</dc:date>
    <item>
      <title>Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337164#M232507</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am very new to nifi and try to install and configure the system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started nifi.sh start and it shows&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;NiFi home: /Users/daniel/Downloads/nifi-1.15.3&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Bootstrap Config File: /Users/daniel/Downloads/nifi-1.15.3/conf/bootstrap.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;And when i enter nifi.sh&amp;nbsp; status, terminal shows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;2022-02-26 09:31:33,238 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is currently running, listening to Bootstrap on port 52929, PID=74313&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I changed nifi.web.http.port in nifi.properties to 8080.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;But still I do not see any on localhost:8080.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;In the log file there is no message that server has started on 8080 port. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I have no idea what problem caused the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Please advise me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 17:38:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337164#M232507</guid>
      <dc:creator>CookieCream</dc:creator>
      <dc:date>2022-02-26T17:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337165#M232508</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96122"&gt;@CookieCream&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NiFi in the latest version is deployed automatically with security and TLS enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to set the single user credentials and connect to port 8443 instead of 8080.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the documentation:&amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#i-started-nifi-now-what" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#i-started-nifi-now-what&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 22:28:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337165#M232508</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-26T22:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337207#M232524</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the advice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made the http post empty and re-launched the nifi but still have an issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On nifi-app.log file, I found the the following error message which I have no idea how to solve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2022-02-27 23:08:19,323 INFO [main] o.a.n.r.v.FileBasedVariableRegistry Loaded 112 properties from system properties and environment variables
2022-02-27 23:08:19,324 INFO [main] o.a.n.r.v.FileBasedVariableRegistry Loaded a total of 112 properties.  Including precedence overrides effective accessible registry key size is 112
2022-02-27 23:08:20,716 WARN [main] o.a.nifi.security.util.SslContextFactory Some truststore properties are populated (./conf/truststore.p12, ********, PKCS12) but not valid
2022-02-27 23:08:20,717 ERROR [main] o.apache.nifi.controller.FlowController Unable to start the flow controller because the TLS configuration was invalid: The truststore properties are not valid
2022-02-27 23:08:21,135 ERROR [main] o.s.web.context.ContextLoader Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChainProxySecurityConfigurer' parameter 1; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.NiFiWebApiSecurityConfiguration': Unsatisfied dependency expressed through method 'setJwtAuthenticationProvider' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Flow controller TLS configuration is invalid
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:767)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:719)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1067)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:572)
	at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:996)
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:746)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:910)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:426)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
	at org.eclipse.jetty.server.Server.start(Server.java:423)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
	at org.eclipse.jetty.server.Server.doStart(Server.java:387)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
	at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1142)
	at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:170)
	at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:82)
	at org.apache.nifi.NiFi.main(NiFi.java:330)
Caused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.NiFiWebApiSecurityConfiguration': Unsatisfied dependency expressed through method 'setJwtAuthenticationProvider' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Flow controller TLS configuration is invalid
	at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:170)
	at org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.java:1631)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1324)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:759)
	... 54 common frames omitted&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 07:45:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337207#M232524</guid>
      <dc:creator>CookieCream</dc:creator>
      <dc:date>2022-02-28T07:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337221#M232530</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96122"&gt;@CookieCream&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean by "made the http post empty"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would suggest that you remove your NiFi directory and restart from scratch following these instructions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#downloading-and-installing-nifi" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#downloading-and-installing-nifi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you follow the exact instructions the installation should work without problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 09:46:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337221#M232530</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-28T09:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337430#M232571</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did as you advised; remove the existing NiFi directory and start from scratch as instruction states.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But as I start nifi.sh, the same error message shows on the log &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&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>Tue, 01 Mar 2022 23:33:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337430#M232571</guid>
      <dc:creator>CookieCream</dc:creator>
      <dc:date>2022-03-01T23:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337431#M232572</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96122"&gt;@CookieCream&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which Java version to you have in your machine?&lt;/P&gt;&lt;P&gt;Could you please run the following command and provide the output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;java -version&lt;/LI-CODE&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 02:49:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337431#M232572</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-02T02:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337454#M232581</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;java version "1.8.0_65"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Java(TM) SE Runtime Environment (build 1.8.0_65-b17)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Daeyong&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 06:50:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337454#M232581</guid>
      <dc:creator>CookieCream</dc:creator>
      <dc:date>2022-03-02T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337469#M232583</link>
      <description>&lt;P&gt;Here's your actual error:&lt;/P&gt;&lt;PRE&gt;2022-02-27 23:08:20,716 WARN [main] o.a.nifi.security.util.SslContextFactory Some truststore properties are populated (./conf/truststore.p12, ********, PKCS12) but not valid
2022-02-27 23:08:20,717 ERROR [main] o.apache.nifi.controller.FlowController Unable to start the flow controller because the TLS configuration was invalid: The truststore properties are not valid&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ensure that you have generated certificates (SSL in your case, i assume). Add them to the truststore.jks of your Nifi instance (default location: ./conf/). Also, ensure the truststore and keystore properties in nifi.properties is accurately updated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This should help i guess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;snm1523&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 09:35:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337469#M232583</guid>
      <dc:creator>snm1523</dc:creator>
      <dc:date>2022-03-02T09:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337474#M232586</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96122"&gt;@CookieCream&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try these steps below after you delete your current nifi directory:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wget "https://downloads.apache.org/nifi/1.15.3/nifi-1.15.3-bin.tar.gz" -P .
tar -zxvf ./nifi-1.15.3-bin.tar.gz
cd nifi-1.15.3
./bin/nifi.sh set-single-user-credentials admin supersecret1
./bin/nifi.sh start&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just tested this on my laptop and it works without problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 11:25:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337474#M232586</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-02T11:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337548#M232618</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96122"&gt;@CookieCream&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did the above work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 04:57:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337548#M232618</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-03T04:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337553#M232623</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciate for your help but unfortunately not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still see the same error on nifi-app.log file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2022-03-02 21:41:40,683 INFO [main] o.a.n.r.v.FileBasedVariableRegistry Loaded 117 properties from system properties and environment variables
2022-03-02 21:41:40,684 INFO [main] o.a.n.r.v.FileBasedVariableRegistry Loaded a total of 117 properties.  Including precedence overrides effective accessible registry key size is 117
2022-03-02 21:41:41,102 WARN [main] o.a.nifi.security.util.SslContextFactory Some truststore properties are populated (./conf/truststore.p12, null, PKCS12) but not valid
2022-03-02 21:41:41,103 ERROR [main] o.apache.nifi.controller.FlowController Unable to start the flow controller because the TLS configuration was invalid: The truststore properties are not valid
2022-03-02 21:41:41,216 ERROR [main] o.s.web.context.ContextLoader Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChainProxySecurityConfigurer' parameter 1; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.NiFiWebApiSecurityConfiguration': Unsatisfied dependency expressed through method 'setJwtAuthenticationProvider' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Flow controller TLS configuration is invalid&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 05:44:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337553#M232623</guid>
      <dc:creator>CookieCream</dc:creator>
      <dc:date>2022-03-03T05:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337555#M232624</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12773"&gt;@snm1523&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Could you tell me in more detail how to get the generated certificates? and I do not see truststore and keystone properties in nifi.properties.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 05:49:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337555#M232624</guid>
      <dc:creator>CookieCream</dc:creator>
      <dc:date>2022-03-03T05:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337563#M232628</link>
      <description>&lt;P&gt;That's really weird. I executed exactly the commands that I listed and it works for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure that you started in an empty directory?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What the OS of your computer?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 06:32:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337563#M232628</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-03T06:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337565#M232630</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;macOS Monterey v 12.2.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the wget command did not work on the terminal, I directly enter the url and downloaded .tar file and follow exactly as you explained.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 06:38:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337565#M232630</guid>
      <dc:creator>CookieCream</dc:creator>
      <dc:date>2022-03-03T06:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337573#M232635</link>
      <description>&lt;P&gt;Can you please upload your nifi-app.log here?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 07:22:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337573#M232635</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-03T07:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337574#M232636</link>
      <description>&lt;P&gt;And the nifi-bootstrap.log file as well, please.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 07:24:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337574#M232636</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-03T07:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337577#M232638</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know how to upload file? because it says "The file type (.log) is not supported."&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 07:33:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337577#M232638</guid>
      <dc:creator>CookieCream</dc:creator>
      <dc:date>2022-03-03T07:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337578#M232639</link>
      <description>&lt;P&gt;Just rename the file to .txt and try to upload.&lt;/P&gt;&lt;P&gt;If it doesn't work, you can copy and paste the content in a Word document (.docx)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 07:36:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337578#M232639</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-03T07:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337998#M232726</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96122"&gt;@CookieCream&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should guide you on how do we get certificates generated.&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/toolkit-guide.html#tls_toolkit" target="_blank"&gt;Apache NiFi Toolkit Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Once you have this followed and certs generated, you will have a new nifi.properties created that will include truststore and keystore related properties.&lt;/P&gt;&lt;P&gt;I have not tried anything on MacOS, but, I did saw there are some specific instructions for MacOS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a look&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;snm1523&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 15:04:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/337998#M232726</guid>
      <dc:creator>snm1523</dc:creator>
      <dc:date>2022-03-08T15:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi starts without error but cannot connect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/338026#M232735</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96122"&gt;@CookieCream&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you solve the problem? Are you able to share the logs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&lt;EM&gt;--&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Was your question answered? Make sure to mark the answer as the accepted solution.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 20:51:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-starts-without-error-but-cannot-connect/m-p/338026#M232735</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-08T20:51:31Z</dc:date>
    </item>
  </channel>
</rss>

