Support Questions

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

Unable to check access status in Apache Nifi(Nifi not running on browser)

avatar
Contributor

Hi All,

Our Nifi is running in the unix when we are checking the status it is saying that Nifi is running. But we are unable t open it in the browser. SO someone can help us on this issue. Thanks in advance.

1 ACCEPTED SOLUTION

avatar
Master Mentor
@Ayaskant Das

Based on the output from the nifi-user.log, the following user successfully authenticated to NiFi but was not authorized view the NiFi UI.

13302-screen-shot-2017-03-06-at-50149-pm.png

Did you configure this user as your "Initial Admin Identity"?

The "Initial Admin Identity" is configured in the authorizers.xml file and is used to initially create both the users.xml and authorizations.xml files. It is case sensitive and white spaces do count.

If you NiFi had previously been started with an incorrect value for "Initial Admin Identity" you will need to correct the authorizers.xml with the correct value, delete both users.xml and authorizations.xml files, and restart NiFi so that these files are created again.

Thanks, Matt

View solution in original post

15 REPLIES 15

avatar
Contributor

Hi Matt,

We have configured the SSL certificate and configured the keystore and trustore as well. Also we have imported the certificate into the web browser but still we are unable to open the browser.

thanks

avatar
Master Mentor

Is there anything in the nifi-user.log when you try to access the https web address? I also noticed the URLs are for 10.x.x.x web addresses. Are these address reachable from the system where you have your web browser loaded? Can you post a screenshot of your browser when you try to access the https web address?

Matt

avatar
Contributor

Please find the screen shot the web browser issue :

13211-web-issue.png

Also please find the user log :

13212-nifi-user-log.png

Thanks

avatar
Contributor

Hi Matt,

Still not able to log in through web server and getting the same error.

Thanks

avatar
Master Mentor
@Ayaskant Das

Based on the output from the nifi-user.log, the following user successfully authenticated to NiFi but was not authorized view the NiFi UI.

13302-screen-shot-2017-03-06-at-50149-pm.png

Did you configure this user as your "Initial Admin Identity"?

The "Initial Admin Identity" is configured in the authorizers.xml file and is used to initially create both the users.xml and authorizations.xml files. It is case sensitive and white spaces do count.

If you NiFi had previously been started with an incorrect value for "Initial Admin Identity" you will need to correct the authorizers.xml with the correct value, delete both users.xml and authorizations.xml files, and restart NiFi so that these files are created again.

Thanks, Matt

avatar
Master Mentor

@Ayaskant Das

Just wondering if the above was able to resolve your issue. The nifi-user.log screenshot you provided clearly shows that you have reached NiFi and successfully authenticated with the above user DN; however, the user is not authorized to access the nifi /flow resource.

Thank you,

Matt

In order for users to get notifications of a comment to a post you must tag them in teh response using the @<username> (example: @Matt Clarke )