Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Apache Nifi Web UI Setup

avatar
New Contributor

Hello. I've been following this tutorial (https://www.batchiq.com/nifi-configuring-ssl-auth.html) to the best of my ability, yet the web UI still does not want to start. I get the error message ERR_CONNECTION_REFUSED" when trying to access the nifi server through Google Chrome. It has also been this way when trying to access through Firefox, so I suppose this is more of a server error than anything else. The following is a relevant section of my conf file...

 

# web properties #
nifi.web.war.directory=./lib
#nifi.web.http.host=
#nifi.web.http.port=8080
nifi.web.http.network.interface.default=
nifi.web.https.host=
nifi.web.https.port=8443
nifi.web.https.network.interface.default=
nifi.web.jetty.working.directory=./work/jetty
nifi.web.jetty.threads=200
nifi.web.max.header.size=16 KB
nifi.web.proxy.context.path=
nifi.web.proxy.host=

 

 

# security properties #
nifi.sensitive.props.key=SyoerSecretFlyingPassword
nifi.sensitive.props.key.protected=SuperSecretFlyingPassword
nifi.sensitive.props.algorithm=PBEWITHMD5AND256BITAES-CBC-OPENSSL
nifi.sensitive.props.provider=BC
nifi.sensitive.props.additional.keys=

nifi.security.keystore=server_keystore.js
nifi.security.keystoreType=JKS
nifi.security.keystorePasswd=SuperSecret
nifi.security.keyPasswd=SuperSecret
nifi.security.truststore=server_trustore.jks
nifi.security.truststoreType=JKS
nifi.security.truststorePasswd=SuperSecret
nifi.security.user.authorizer=managed-authorizer
nifi.security.user.login.identity.provider=
nifi.security.ocsp.responder.url=
nifi.security.ocsp.responder.certificate=


And here is the part of my log where the error message shows up...

 

2019-10-08 09:16:31,472 INFO [main] org.apache.nifi.NiFi Launching NiFi...
2019-10-08 09:16:31,791 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Determined default nifi.properties path to be 'C:\Users\SPLASH~1\Desktop\PROGRA~1\Apache\NIFI-1~1.2-B\NIFI-1~1.2\.\conf\nifi.properties'
2019-10-08 09:16:31,791 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Loaded 149 properties from C:\Users\SPLASH~1\Desktop\PROGRA~1\Apache\NIFI-1~1.2-B\NIFI-1~1.2\.\conf\nifi.properties
2019-10-08 09:16:31,985 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.lang.IllegalArgumentException: There was an issue decrypting protected properties
java.lang.IllegalArgumentException: There was an issue decrypting protected properties
at org.apache.nifi.NiFi.initializeProperties(NiFi.java:337)
at org.apache.nifi.NiFi.convertArgumentsToValidatedNiFiProperties(NiFi.java:305)
at org.apache.nifi.NiFi.main(NiFi.java:296)
Caused by: org.apache.nifi.properties.SensitivePropertyProtectionException: The provider factory cannot generate providers without a key
at org.apache.nifi.properties.AESSensitivePropertyProviderFactory.getProvider(AESSensitivePropertyProviderFactory.java:40)
at org.apache.nifi.properties.NiFiPropertiesLoader.getSensitivePropertyProvider(NiFiPropertiesLoader.java:190)
at org.apache.nifi.properties.NiFiPropertiesLoader.load(NiFiPropertiesLoader.java:249)
at org.apache.nifi.properties.NiFiPropertiesLoader.load(NiFiPropertiesLoader.java:266)
at org.apache.nifi.properties.NiFiPropertiesLoader.loadDefault(NiFiPropertiesLoader.java:173)
at org.apache.nifi.properties.NiFiPropertiesLoader.get(NiFiPropertiesLoader.java:284)

 

 

Could anyone please help?

 

 

1 ACCEPTED SOLUTION

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
New Contributor

Ok. WIll do. Thank you!