OIDC SocketTimeoutException

Getting this error message in logs. Does anyone have an idea what could this be indicating?
I have checked my token endpoint through postman, and it works.

[instance-0000000001] Authentication to realm oidc1 failed - Failed to authenticate user with OpenID Connect (Caused by ElasticsearchSecurityException[Failed to exchange code for Id Token using the Token Endpoint.]; nested: SocketTimeoutException[5,000 milliseconds timeout on connection http-outgoing-0 [ACTIVE]]

Please keep your questions to a single thread, it makes it easier for people to help you :slight_smile: OIDC token_type issue, Token type must be Bearer

Is the error intermittent? If so, you are likely hitting a known issue

You can get around this by adjusting net.ipv4.tcp_retries2 as suggested in this comment.