Support Questions

Find answers, ask questions, and share your expertise

Unauthorized Error="invalid_token"

avatar
Contributor

Hello all,
I'm currently running Nifi 1.23.2 in a 3 nodes cluster.  I would received the following message when I tried to login.  I would get kick out then this message will appear.  I verified I have sticky session enabled on SSLSession. Its also configured in round robin DNS.  Is there anything else I can look at thats contributing to this issue?   

Thanks!


LB_Setting.jpgErrorMessage.jpg
1 REPLY 1

avatar
Master Mentor

@jame1997 

Not enough information to say what is going on on your environment yet.  Can you provide more details?

  1. What method of authentication are you using in your NiFi (single-user, ldap-provider, kerberos-provder, SAML, etc...)
  2. Assuming you are using a login based provider, are you seeing the NiFi login page and then successfully logging in? 
  3. Do you ever see the NiFi UI canvas or immediately encounter this exception as soon as you login?
  4. Have you inspect the nifi-user.log and nifi-app.log on every node at time of attempted login to see which node is reporting the authentication success and which node is reporting the shared exception?
  5. If you do successfully access the NiFi canvas, how long is your access lasting before you encounter the exception?

Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt