Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Can't Access the Nifi UI

New Contributor

Hi, I have some issue after I use ambari install nifi.

I set up the SSL in Ambari Nifi configs. the nifi status is ok, but I can't access the Nifi UI

14553-qq截图20170412001758.png

14557-5.png

14554-2.png

the nifi-applog and bootstrap log also seems ok.

14555-3.png

14556-4.png

---------------------------

Hope someone can help me out... doing something wrong :).

Kind regards,

Ray

11 REPLIES 11

@Ray Deng

Did you generate a user certificate to load into the IE browser?

Look in the nifi-user.log file and look for any errors.

New Contributor

@Wynner

I look in the nif-user.log, it just have warn

2017-04-11 23:27:01,633 WARN [main] o.a.n.a.util.IdentityMappingUtil Identity Mapping property nifi.security.identity.mapping.pattern.kerb was found, but was empty 2017-04-11 23:27:01,633 WARN [main] o.a.n.a.util.IdentityMappingUtil Identity Mapping property nifi.security.identity.mapping.pattern.dn was found, but was empty

@Ray Deng

That warning is normal, not the issue.

If there is nothing else in the user log, that means you are not even getting to NiFi. Is port 7071 open?

What URL are you using? The same on that is in the app log? https://spark-nn01.local:7071/nifi? Can the system you are launching IE from resolve the hostname to an IP address?

Did you generate a user certificate to load into the IE browser?

New Contributor

@Wynner

Yes, it is same,IP address also can't access , port is ok .

I have user certificate in the IE, I think it's not the issue reason, because if my bower don't have certificate, it should be show I don't have permission.

When I close SSL, it's ok that I can access the Nifi .

@Ray Deng

What value is in the property nifi.security.user.login.identity.provider

14586-screen-shot-2017-04-12-at-94717-am.png

@Ray Deng

What version of IE are you using and do you have another browser you are able to try?

New Contributor

firefox and chorme also the same error ,and if I don't use Ambari to install Nifi by HDF , it is ok.

@Ray Deng

If there anything else in the user log?

Have you got past the issue?

Expert Contributor

Try using incognito mode in chrome, this works for me and asks me to proceed. Make sure you import the cert via IE first.

Expert Contributor

Trying to give closure to this topic:

This is a very misleading situation where it seems Nifi is not running but it actually is. And you get ERR_CONNECTION_CLOSED or 'can't display page' etc. error when you try to hit the secure url.

Reason: Nifi is configured to authenticate client for connection and since there is not authentication provided the UI errors out.

Resolution: Import client certificate in your browser. This certificate needs to be trusted by the same authority as Nifi.

Once imported, close and re-open the browser (refreshing will not work). Given you have imported the certificates, you should be prompted to select a certificate to login.

Rising Star

This issue is not limited to IE. A similar issue with cached credentials/session may occur in Chrome. Restarting Chrome resolves the issue as well. To restart Chrome without losing current tabs, type chrome://restart in a new tab.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.