Description
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?
Error
Long response times for OAuth refresh requests.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth App
Additional context
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.
Circling back on this. The refresh times we were seeing were on AWS EC2 instances. I didn’t see anything else in the logs that would have signified a slow network connection or network throttling.
I have not seen this long of delays but we do see occasional OAuth refresh responses that take multiple seconds to return.
Thanks for the additional info. During peak usage it is possible the API could respond in a couple seconds. Please let us know if you see long response times in the future.