Error occurred while attempting to decode the Jwt
Abhishek A
0
Reputation points
We observed two brief spikes of 401 Unauthorized errors in our 2 different services. These were caused by transient network failures preventing our services from communicating with Microsoft’s Identity Provider to verify JWT signatures. These were infrastructure-level blips and not application bugs.
Error Details:
- Timeout while waiting for cache refresh (15000ms exceeded). (The service waited 15s for the network to respond before failing). NO PROXY ERRORS: org.springframework.security.authentication.AuthenticationServiceException: An error occurred while attempting to decode the Jwt: Timeout while waiting for cache refresh (15000ms exceeded)
- Connection refused (I/O error on GET request to login.windows.net): org.springframework.security.authentication.AuthenticationServiceException: An error occurred while attempting to decode the Jwt: I/O error on GET request for "https://login.windows.net/common/discovery/keys": Connection refused
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
A cloud-based identity and access management service for securing user authentication and resource access
Sign in to answer