Ready to post? First, try searching for your answer.
We are using the auth0 library to call Auth0 Management APIs. We are not changing any config when using the default http client (okHttp3). However, every few calls we see the end-to-end latency to be extremely large. Below is the call graph. Any idea on how to handle this?
java.lang.Thread:run:840 (method time = 0 ms, total time = 237255 ms)
okhttp3.internal.concurrent.TaskRunner$runnable$1:run:65 (method time = 0 ms, total time = 237255 ms)
okhttp3.internal.concurrent.TaskRunner:access$runTask:42 (method time = 0 ms, total time = 237255 ms)
okhttp3.internal.concurrent.TaskRunner:runTask:116 (method time = 0 ms, total time = 237255 ms)
okhttp3.internal.concurrent.TaskQueue$execute$1:runOnce:98 (method time = 0 ms, total time = 237255 ms)
okhttp3.internal.http2.Http2Connection$ReaderRunnable:invoke:609 (method time = 0 ms, total time = 237255 ms)
okhttp3.internal.http2.Http2Connection$ReaderRunnable:invoke:618 (method time = 0 ms, total time = 237255 ms)
okhttp3.internal.http2.Http2Reader:nextFrame:89 (method time = 0 ms, total time = 237255 ms)
okio.RealBufferedSource:require:202 (method time = 0 ms, total time = 237255 ms)
okio.RealBufferedSource:request:209 (method time = 0 ms, total time = 237255 ms)
okio.AsyncTimeout$source$1:read:128 (method time = 0 ms, total time = 237255 ms)
okio.InputStreamSource:read:93 (method time = 237255 ms, total time = 237255 ms)