Member since
03-19-2021
11
Posts
0
Kudos Received
0
Solutions
07-30-2021
01:25 PM
Hi @AjitKS , I suppose that your issue is due the fact the request start in the pod A and the redirect goes to the pod B, so they can't finish the login properly. A suggestion that could help you to solve this issue, try to add a stick session on your ingress, this sticks the current session in a specific pod and will resolve your issue. Here is a snipped of the configuration: nginx.ingress.kubernetes.io/affinity: "cookie" nginx.ingress.kubernetes.io/session-cookie-name: "route" nginx.ingress.kubernetes.io/session-cookie-hash: "sha1" nginx.ingress.kubernetes.io/session-cookie-expires: "172800" nginx.ingress.kubernetes.io/session-cookie-max-age: "172800" nginx.ingress.kubernetes.io/affinity-mode: persistent
... View more
07-26-2021
01:43 AM
After a lot of headaches and some tries, I finally discover the issue, due the fact that I have a nginx as my ingress some headers are added during each request, and due the headers "x-forward-.*" the request always return an error. Although this is not an acceptable an answer, I need a clear understanding about that before to close this issue.
... View more
07-22-2021
08:20 AM
Hi @DennisJaheruddi, Thank you for your reply. About the image, I'm using this one Apache-Nifi. The Nifi version used is 1.12.1 Is a public cloud: AWS/EKS
... View more
07-22-2021
03:49 AM
I have been some issues to configuring Apache Nifi using an existing certificate. My use case is: I'm generating the truststore and the keystore from an existing tls.pem and tls.key that my ingress is using, from this I set the referent configurations of TLS and OpenId (I have created a custom image based on the official Nifi's image). Everything its working, although when I try to access the UI and the redirects to the openId occurs the Nifi throw an exception, these are the last logs shown in the nifi-user.log: 2021-07-22 09:58:05,814 INFO [NiFi Web Server-25] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (CN=MY-HOST) GET https://MY-HOST/nifi-api/flow/current-u ser (source ip: xx.xxx.xxx.xxx) 2021-07-22 09:58:05,815 INFO [NiFi Web Server-25] o.a.n.w.s.NiFiAuthenticationFilter Authentication success for CN=MY-HOST 2021-07-22 09:58:05,818 INFO [NiFi Web Server-25] o.a.n.w.a.c.AccessDeniedExceptionMapper identity[CN=MY-HOST], groups[] does not have permission to access the requested resource. Unknown user with id entity 'CN=MY-HOST'. Returning Forbidden response. Although according the documentation to this documentation: NiFi’s web server will REQUIRE certificate based client authentication for users accessing the User Interface when not configured with an alternative authentication mechanism which would require one way SSL (for instance LDAP, OpenId Connect, etc). Enabling an alternative authentication mechanism will configure the web server to WANT certificate base client authentication. This will allow it to support users with certificates and those without that may be logging in with credentials. See User Authentication for more details. This should not happens, someone have just passed for this before? What am I missing?
... View more
Labels:
- Labels:
-
Apache NiFi
-
Docker