Support Questions

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

Access Policies are not showing in NIFI UI

avatar
Super Collaborator

Hi,

i installed NiFi on a new server and was able to connect using my Initial Admin.

i am able to add new users using Users , but when i click on Policies nothing happens.

i tried from Operate panel also , same issue.

38471-ldap1.png

i looked at my authorizations.xml file , and the initial admin has Read\Write on policies.

attaching my Users and Authorizations files for reference. I tried deleting these files and restart NiFi again.

nothing seems to fix this. any idea.?

authorizations.xml

users.xml

Regards,

Sai

1 ACCEPTED SOLUTION

avatar
Master Guru

What browser are you using and are there are any errors in browser when this happens (may need to open specific dev console to see them)?

View solution in original post

6 REPLIES 6

avatar
Master Guru

What browser are you using and are there are any errors in browser when this happens (may need to open specific dev console to see them)?

avatar
Super Mentor

Issue was browser version related. Switching to a newer version of the browser resolved this issue.

avatar
Super Collaborator

@Bryan Bende

I am using Chrome Version 39.0.2171.65 m, and here is what i found in browser console.

If i click on Polices from Operate Panel , i see this in console panel

TypeError: undefined is not a function at b (https://localhost:9090/nifi/js/nf/canvas/nf-canvas-all.js?1.3.0:45:12690) at w.combo.select (https://localhost:9090/nifi/js/nf/canvas/nf-canvas-all.js?1.3.0:45:8031) at a (https://localhost:9090/nifi/js/jquery/combo/jquery.combo.js?1.3.0:1:626) at HTMLDivElement.<anonymous> (https://localhost:9090/nifi/js/jquery/combo/jquery.combo.js?1.3.0:1:3026) at Function.r.extend.each (https://localhost:9090/nifi/assets/jquery/dist/jquery.min.js:2:2815) at Function.b.each (https://localhost:9090/nifi/js/jquery/jquery.each.js:1:96) at r.fn.r.each (https://localhost:9090/nifi/assets/jquery/dist/jquery.min.js:2:1003) at c.setSelectedOption (https://localhost:9090/nifi/js/jquery/combo/jquery.combo.js?1.3.0:1:3010) at g.fn.combo (https://localhost:9090/nifi/js/jquery/combo/jquery.combo.js?1.3.0:1:3444) at Object.u.showComponentPolicy (https://localhost:9090/nifi/js/nf/canvas/nf-canvas-all.js?1.3.0:45:20382)

if i click on Polices from menu option on top-->right , i see this is Chrome Console

TypeError: undefined is not a function at b (https://localhost:9090/nifi/js/nf/canvas/nf-canvas-all.js?1.3.0:45:12690) at Object.u.showGlobalPolicies (https://localhost:9090/nifi/js/nf/canvas/nf-canvas-all.js?1.3.0:45:20882) at Object.policies.shell.launch (https://localhost:9090/nifi/js/nf/canvas/nf-canvas-all.js?1.3.0:57:1768) at fn (eval at <anonymous> (https://localhost:9090/nifi/assets/angular/angular.min.js:1:0), <anonymous>:4:653) at b (https://localhost:9090/nifi/assets/angular/angular.min.js:126:128) at e (https://localhost:9090/nifi/assets/angular/angular.min.js:276:195) at m.$eval (https://localhost:9090/nifi/assets/angular/angular.min.js:145:347) at m.$apply (https://localhost:9090/nifi/assets/angular/angular.min.js:146:52) at HTMLAnchorElement.<anonymous> (https://localhost:9090/nifi/assets/angular/angular.min.js:276:247) at HTMLAnchorElement.r.event.dispatch (https://localhost:9090/nifi/assets/jquery/dist/jquery.min.js:3:10315)

i tried to follow the similar approach on a different server , it works fine. the Chrome version & JAVA version is different on that server.

JAVA version on the server it fails is

java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

JAVA version on the server it works is

java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

FYI , I am connecting using LDAP Authentication on both the server.

Thanks for your help..

Regards,

Sai

avatar
Master Guru

I believe Chrome 39 is too old and not really a supported browser, the latest Chrome is up to version 60.

https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#browser-support

The version of Java should not matter.

avatar
Super Collaborator

Ok , will try to install latest version and see if it helps. Thanks.

avatar
Super Collaborator

Yes that's the issue , installed an approved version (49) for out servers and it did work. thanks.

Sai