-
Notifications
You must be signed in to change notification settings - Fork 826
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
POST request to get token is hanging out for all UAA 77.x.x version #3104
Comments
A reason for "hanging" could be fips compliant version of bouncy castle. Can you provide the docker file and how you setup UAA . You need to set with property and we know from some platforms that even then dev/random is used with FIPS version. so you need to gather more random... if the issue is, what I assume that it could be, e.g. https://stackoverflow.com/questions/26021181/not-enough-entropy-to-support-dev-random-in-docker-containers-running-in-boot2d |
Hello @strehle ; following is docker file
This property("java.security.egd", "file:/dev/./urandom") was added 2 years ago. |
What version of UAA are you running?
77.x.x versions
How are you deploying the UAA?
deployed UAA docker image in kubernetes
What did you do?
upgrading uaa version from 76.31.0 to 77.x.x version
What did you expect to see? What goal are you trying to achieve with the UAA?
Everything works fine as UAA version 76.31.0; POST request to get token is not hanging out
What did you see instead?
Faced with the issue that the first POST request to get token is success, the following requests are hanging without any errors in the logs.
The logs contains two POST request fetching tokens. The first POST request was made at:
[2024-10-15 08:41:13.549] uaa - 1 [http-nio-8080-exec-3] .... DEBUG — FilterChainProxy: Securing POST /oauth/token
and got response without delays:
[2024-10-15 08:41:14.208] uaa - 1 [http-nio-8080-exec-3] .... DEBUG — DispatcherServlet: Completed 200 OK
The second request was made at
[2024-10-15 08:42:18.699] uaa - 1 [http-nio-8080-exec-6] .... DEBUG — FilterChainProxy: Securing POST /oauth/token
and stuck at:
[2024-10-15 08:42:18.943] uaa - 1 [http-nio-8080-exec-6] .... DEBUG — DataSourceUtils: Fetching JDBC Connection from DataSource
The response was received at:
[2024-10-15 08:43:43.745] uaa - 1 [http-nio-8080-exec-6] .... DEBUG — DispatcherServlet: Completed 200 OK
The text was updated successfully, but these errors were encountered: