Created on 04-11-2017 05:21 PM - edited 08-17-2019 11:31 PM
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
the nifi-applog and bootstrap log also seems ok.
---------------------------
Hope someone can help me out... doing something wrong :).
Kind regards,
Ray
Created 04-11-2017 07:35 PM
Did you generate a user certificate to load into the IE browser?
Look in the nifi-user.log file and look for any errors.
Created 04-12-2017 12:51 PM
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
Created 04-12-2017 01:12 PM
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?
Created 04-12-2017 01:26 PM
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 .
Created on 04-12-2017 01:48 PM - edited 08-17-2019 11:30 PM
Created 04-12-2017 01:34 PM
What version of IE are you using and do you have another browser you are able to try?
Created 04-12-2017 01:38 PM
firefox and chorme also the same error ,and if I don't use Ambari to install Nifi by HDF , it is ok.
Created 05-05-2017 05:39 PM
Created 04-12-2017 02:35 PM
Try using incognito mode in chrome, this works for me and asks me to proceed. Make sure you import the cert via IE first.
Created 05-05-2017 07:11 PM
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.
Created 05-02-2018 01:49 PM
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.