Support Questions

Find answers, ask questions, and share your expertise

[NIFI] : web ui https behind reverse PROXY : FAILED

avatar
Rising Star

Hi all,

I've configured my cluster nifi with https and ldap login.

It works if i'm connecting with https://hostname/nifi

but not when i'm trying over an proxy https://vip-hostname/nifi

Unable to check Access Status
Unable to validate the access token.

2017-05-17 15:42:06,466 ERROR [NiFi Web Server-294241] o.a.nifi.web.security.jwt.JwtService There was an error validating the JWT
io.jsonwebtoken.JwtException: Unable to validate the access token.
        at org.apache.nifi.web.security.jwt.JwtService.parseTokenFromBase64EncodedString(JwtService.java:106) ~[nifi-web-security-1.1.0.jar:1.1.0]
        at org.apache.nifi.web.security.jwt.JwtService.getAuthenticationFromToken(JwtService.java:60) ~[nifi-web-security-1.1.0.jar:1.1.0]
        at org.apache.nifi.web.security.jwt.JwtAuthenticationProvider.authenticate(JwtAuthenticationProvider.java:48) [nifi-web-security-1.1.0.jar:1.1.0]
        at org.apache.nifi.web.api.AccessResource.getAccessStatus(AccessResource.java:179) [classes/:na]
        at sun.reflect.GeneratedMethodAccessor915.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]



Are you some ideas ?

1 REPLY 1

avatar

@mayki wogno

Have you tried refreshing your browser cache? Maybe it has the token from the first URL, https://hostname/nifi.