- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Forbidden Error when open NIFI UI
- Labels:
-
Apache NiFi
Created ‎08-08-2024 01:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had an authorization error after running successfully NiFi service on the Cloudera Private Cloud Base Cluster. Here is the error log in nifi-user.log file:
2024-08-07 17:57:56,775 INFO [main] o.a.n.a.FileAccessPolicyProvider Authorizations file loaded at Wed Aug 07 17:57:56 ICT 2024
2024-08-07 17:58:48,621 INFO [NiFi Web Server-30] o.a.n.w.s.NiFiAuthenticationFilter Authentication Started 10.62.142.124 [CN=node2, ST=CA, C=US] GET https://node2:8443/nifi-api/flow/metrics/json
2024-08-07 17:58:48,627 INFO [NiFi Web Server-30] o.a.n.w.s.NiFiAuthenticationFilter Authentication Success [node2] 10.62.142.124 GET https://node2:8443/nifi-api/flow/metrics/json
2024-08-07 17:58:48,747 INFO [NiFi Web Server-30] o.a.n.w.a.c.AccessDeniedExceptionMapper identity[node2], groups[nifi] does not have permission to access the requested resource. No applicable policies could be found. Returning Forbidden response.
Here are all the services I am using:
I am using Java 11, I changed the NiFi directory from /var/lib/nifi, /var/log/nifi to /home/lib/nifi, /home/log/nifi because of the free space problem.
Does anyone know how to fix this? Thanks
Created ‎08-12-2024 08:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the logs snipped, it appears that the NiFi node does not have all the permissions, to get more clarity it would be nice if you could add the error you see in NiFi UI related to permissions.
Thank you
Created ‎08-12-2024 07:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ckumar, recently I can not open the UI because the error of 403 when I check the nifi-request.log file also. I think all error come from same reason.
