You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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: