Member since
05-15-2022
2
Posts
0
Kudos Received
0
Solutions
05-17-2022
07:54 PM
Thanks @ckumar @MattWho for your responses. I enabled session affinity on LB and it resolved the issue. I am able to login using LB endpoint. What @ckumar said makes sense but why isn't it causing any issue for my cluster? Is it because I am using just basic LB and not Reverse proxy?
... View more
05-15-2022
10:05 PM
Hi, I am new to Nifi, so please excuse if this is a noob question. I have set up a 5 node Nifi cluster on GCP and using LDAP for authentication. I generated self-signed certs using the toolkit and I am able to login and access the UI at https://<hostname>:8443/nifi/. Everything looks good with this setup. Now, I added a HTTPS load balancer that routes the requests to backend Nifi nodes, when I try to access the Nifi UI at https://<load-balancer>/nifi/ it throws below error INFO [NiFi Web Server-251] o.a.n.w.s.NiFiAuthenticationFilter Authentication Started xx.xx.xxx.x [<anonymous>] GET https://nifi.xxxxx.com/nifi-api/flow/current-user
WARN [NiFi Web Server-251] o.a.n.w.s.NiFiAuthenticationFilter Authentication Failed xx.xx.xxx.x GET https://nifi.xxxxx.com/nifi-api/flow/current-user [Anonymous authentication has not been configured.] I generated the certificate using below command ./tls-toolkit.sh standalone -n 'nifixxxxxx[1-5].xxxx.com' -S 'xxxxxxx' -P 'xxxxxxx' -C 'CN=<ldap-userid>, OU=NIFI' Can someone help me understand why the user id shows as anonymous and how to fix it?
... View more
Labels:
- Labels:
-
Apache NiFi