-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facing unexpected issue(Invalid user) in production #3557
Comments
Hi team, It is severely impacting production. thanks for the support |
I know nothing about azure. How are we to reproduce it? |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Currently we are using micro services architecture in our project.
We have gatewayservices which is used only for authentication and authorization.
We have 2 more services services1 and services2 which work as resource server.
For gateway services we are using(spring boot setup) spring-cloud-starter-gateway-mvc and spring security.
It works perfectly fine in local and nonprod and prod also.
But some time it between(even after login successfully and using application it occure in between and random) we face invalid user issue and the application get stuck and all other users also faces same issue. It get resolve after sometime by itself.
I have check the log and I am attaching some example.
When you need a token fro azure it is a two step communication. First you will send userid and password and in return azure will provide with code as you can see in logs. Again you will send the code to azure and it will provide you token.
In our cases it is working as I mention above. But sometime it get code from azure and It goes to spring filter and spring filter gives error invalid user. As you can see in above in log filterChainProxy throws error.
I am not able to understand few things
how to produce it in local
second what can be the issue with code that spring give error.
Is issue is with spring session or some threads.
If one user get this issue all user start getting same issue and it get solve after sometime.
Please help me as it is a production issue I don't have access. Please message if you required extra information on it like project setup details.
Thanks for you help and support.
The text was updated successfully, but these errors were encountered: