Note
GitHub API: a cache error looked like a logout
A wrong memcached host made about 9% of GitHub API requests fail with 401. Apps thought their users were logged out and started sign-in flows again.
GitHub availability report: June 2026 (GitHub Blog) ↗
GitHub’s June report says that on 10 June a memcached proxy rollout gave the authentication service a wrong host configuration. About 9% of REST and GraphQL requests failed with 401 for 80 minutes. Apps saw 401 and started their sign-in flows again. The same client could succeed on one request and fail on the next.
One of the fixes is to make the gateway tell the difference between a temporary authentication-system error and invalid credentials.
Our opinion. We think a status code is a promise to the client. A 401 tells the client to throw away its token. A 503 tells it to wait and try again. If your auth backend is down, return 503. Otherwise every client makes your outage worse.