I’m unable to login using Google, I see this message on keycloak UI: Unexpected error when authenticating with identity provider
On checking keycloak logs, I see these log messages:
09:42:01,842 INFO [org.apache.http.impl.execchain.RetryExec] (default task-2) I/O exception (java.net.SocketException) caught when processing request to {s}->https://oauth2.googleapis.com:443: Network is unreachable (connect failed)
09:42:01,843 INFO [org.apache.http.impl.execchain.RetryExec] (default task-2) Retrying request to {s}->https://oauth2.googleapis.com:443
09:42:01,844 INFO [org.apache.http.impl.execchain.RetryExec] (default task-2) I/O exception (java.net.SocketException) caught when processing request to {s}->https://oauth2.googleapis.com:443: Network is unreachable (connect failed)
09:42:01,844 INFO [org.apache.http.impl.execchain.RetryExec] (default task-2) Retrying request to {s}->https://oauth2.googleapis.com:443
09:42:01,845 INFO [org.apache.http.impl.execchain.RetryExec] (default task-2) I/O exception (java.net.SocketException) caught when processing request to {s}->https://oauth2.googleapis.com:443: Network is unreachable (connect failed)
09:42:01,845 INFO [org.apache.http.impl.execchain.RetryExec] (default task-2) Retrying request to {s}->https://oauth2.googleapis.com:443
09:42:01,846 ERROR [org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider] (default task-2) Failed to make identity provider oauth callback: java.net.SocketException: Network is unreachable (connect failed)