Hi everyone,
We’re now tracking this issue within this issue: [node:4945] (attached to the thread).
Normally these types of conditions would be a 50X response, but the root cause here is somewhat awkwardly placed in the stack and results in the 401s that you’re seeing. Ultimately, this is similar to 502s you may experience where our servers have terminated the sequence of internal requests needed to evaluate a request early due to exceptional durations in processing.
There’s little you can likely do in the meantime to mitigate, besides ensuring that you don’t consider a spurious, non-continuous 401 error a total failure in authentication.