Oidc 5000milliseconds timeout. oidc realm oidc1 failed to authenticate

Hello community.
I have been stuck with following message for a while now.

[2022-04-05T18:20:23,391][WARN ][o.e.x.s.a.AuthenticationService] [vesa-brokerage-elk-multizone-es-node-2] 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-1 [ACTIVE]];)

This hosting is being done on a kubernetes environment where it runs fine on one cluster(IBMCloud) but fails on the other cluster hosted on Azure. I initially thought that maybe it's because of the TTL time for the A record and the azure's NS but that's not the case.
I have tried adding what yang_wang suggested but that didn't do anything. The logs still showed 5000ms timeout.
Any help will be great. Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.