We’re seeing instances of calls to refresh OAuth tokens that are taking longer to process. The worst one looks to be around 95 seconds to get a response back from the server. According to our metrics this started around 7/14 and has been continuing to be slow over the last week.
Is this a known issue? Can this be addressed?
Long response times for OAuth refresh requests.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
How To Reproduce (If applicable)
Steps to reproduce the behavior:
- Create OAuth app
- Get OAuth token
- Attempt to refresh the token
- Observe occasional response times that are seconds to tens of seconds long.
Screenshots (If applicable)
p95 Response Times times for calls to OAuth refresh
We could add in a timeout to these requests but is that going to mess up the token refresh process? The API only seems to support using a refresh token a single time so I am wary about putting in any sort of short-circuit that will timeout requests to try again as it may blow up the token and I will need customer user intervention to get a new one.