-
We are facing a weird behavior in our production environment. When a request in hydra is taking too much time (apparently, when it takes more than 10secs), hydra logs says that it returns a 200 but the client is receiving a 502. Unfortunately, this happens on a sensitive business case: when a user tries to use a refresh case. In that scenario, the refresh_token gets used by the hydra process while the token isn't returned to the client and the client has perform a new oauth flow. We are using hydra 1.10.7 here is the log
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
When I lower the client timeout for the service calling hydra, I have another behavior: The client calls hydra
The client close the connection because of timeout
Hydra replies with a 401
Then the client retries
Hydra returns a 400 because the refresh token is gone
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the question and sorry for the slow response. Do you know why the refresh request is taking so long and the database is so slow? Is an index missing? |
Beta Was this translation helpful? Give feedback.
Thank you for the question and sorry for the slow response. Do you know why the refresh request is taking so long and the database is so slow? Is an index missing?