You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried running master-labeled docker image and the issue still persists there
I'm running a supported version of the application which is listed here
Describe the bug (actual behavior)
I am attempting start Kafka UI in AWS EKS deployed with Helm Charts using KeyCloak for authentication. Kafka-Ui however fails on startup as it is unable to fetch KeyCloak realm openid-configuration. Error on startup Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://<redacted>/auth/realms/<redacted>/.well-known/openid-configuration": Connection reset at org.springframework.web.client.RestTemplate.createResourceAccessException(RestTemplate.java:888) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:868) at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:714) at org.springframework.security.oauth2.client.registration.ClientRegistrations.lambda$oidc$0(ClientRegistrations.java:163) at org.springframework.security.oauth2.client.registration.ClientRegistrations.getBuilder(ClientRegistrations.java:216) ... 72 common frames omitted Caused by: java.net.SocketException: Connection reset
See detailed SSL logs with additional debugging below
Expected behavior
On local host with docker-compose application successfully starts and I am prompted for KeyCloak authentication on login http://localhost:8080/login
However Kafka Ui fails on application startup. It is unclear to me why, but application in unable to communicate with https://<redacted>/auth/realms/<redacted>/.well-known/openid-configuration from inside the pod.
I am quite certain that the issue is not related to misconfigured service entry or problems resolving dns as nslookup of keycloak server from inside pod is successful. A few stackoverflow posts could indicate that this is an issue with TLS or cipher, but cause it not clear
mvassli
changed the title
Keycloak - ResourceAccessException on application startup when configured with Helm Charts
Keycloak - SSL / SocketException on application startup in EKS
Sep 20, 2023
Issue submitter TODO list
master
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
I am attempting start Kafka UI in AWS EKS deployed with Helm Charts using KeyCloak for authentication. Kafka-Ui however fails on startup as it is unable to fetch KeyCloak realm openid-configuration. Error on startup
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://<redacted>/auth/realms/<redacted>/.well-known/openid-configuration": Connection reset at org.springframework.web.client.RestTemplate.createResourceAccessException(RestTemplate.java:888) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:868) at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:714) at org.springframework.security.oauth2.client.registration.ClientRegistrations.lambda$oidc$0(ClientRegistrations.java:163) at org.springframework.security.oauth2.client.registration.ClientRegistrations.getBuilder(ClientRegistrations.java:216) ... 72 common frames omitted Caused by: java.net.SocketException: Connection reset
See detailed SSL logs with additional debugging below
Expected behavior
On local host with docker-compose application successfully starts and I am prompted for KeyCloak authentication on login http://localhost:8080/login
This is a subset of my compose which is working:
I am expecting same behaviour deploying on EKS
Your installation details
App version v0.7.1
Relevant Helm Charts configuration
Configmap created from configMapGenerator
I have verified that the truststore is available from inside the pod.
keycloak service entry
However Kafka Ui fails on application startup. It is unclear to me why, but application in unable to communicate with
https://<redacted>/auth/realms/<redacted>/.well-known/openid-configuration
from inside the pod.I am quite certain that the issue is not related to misconfigured service entry or problems resolving dns as nslookup of keycloak server from inside pod is successful. A few stackoverflow posts could indicate that this is an issue with TLS or cipher, but cause it not clear
Steps to reproduce
See above
Screenshots
No response
Logs
Detailed SSL debugging logs.txt
Additional context
No response
The text was updated successfully, but these errors were encountered: