The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
docker resolution causes RMSSOAuthenticator error, failed to load IDP config? Or something else?
Rapidminer is installed on a VM (running docker) with valid certs for DNS "rapid.lab.bayeslearner.org".
The browser error is RMSSOAuthenticator error, failed to load IDP configuration, and the browser shows that the cert is valid.
When I ping the IP from the container rm-server-svc, I get:
rapidminer@rm-server-svc:/$ ping 192.168.1.231
The browser error is RMSSOAuthenticator error, failed to load IDP configuration, and the browser shows that the cert is valid.
When I ping the IP from the container rm-server-svc, I get:
rapidminer@rm-server-svc:/$ ping 192.168.1.231
PING 192.168.1.231 (192.168.1.231) 56(84) bytes of data.
64 bytes from 192.168.1.231: icmp_seq=1 ttl=64 time=0.476 ms
64 bytes from 192.168.1.231: icmp_seq=2 ttl=64 time=0.144 ms
64 bytes from 192.168.1.231: icmp_seq=3 ttl=64 time=0.092 ms
64 bytes from 192.168.1.231: icmp_seq=4 ttl=64 time=0.132 ms
^C
--- 192.168.1.231 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 70ms
rtt min/avg/max/mdev = 0.092/0.211/0.476/0.154 ms
When I ping using DNS name, I got the following. It seems that it is resolved to connect to one of the internal containers (wrongly?)
When I ping using DNS name, I got the following. It seems that it is resolved to connect to one of the internal containers (wrongly?)
rapidminer@rm-server-svc:/$ ping rapid.lab.bayeslearner.org
PING rapid.lab.bayeslearner.org (172.29.0.3) 56(84) bytes of data.
64 bytes from rapidminer-rm-proxy-svc-1.jupyterhub-user-net-default (172.29.0.3): icmp_seq=1 ttl=64 time=12.7 ms
64 bytes from rapidminer-rm-proxy-svc-1.jupyterhub-user-net-default (172.29.0.3): icmp_seq=2 ttl=64 time=0.156 ms
64 bytes from rapidminer-rm-proxy-svc-1.jupyterhub-user-net-default (172.29.0.3): icmp_seq=3 ttl=64 time=0.100 ms
64 bytes from rapidminer-rm-proxy-svc-1.jupyterhub-user-net-default (172.29.0.3): icmp_seq=4 ttl=64 time=0.093 ms
64 bytes from rapidminer-rm-proxy-svc-1.jupyterhub-user-net-default (172.29.0.3): icmp_seq=5 ttl=64 time=0.153 ms
64 bytes from rapidminer-rm-proxy-svc-1.jupyterhub-user-net-default (172.29.0.3): icmp_seq=6 ttl=64 time=0.125 ms
64 bytes from rapidminer-rm-proxy-svc-1.jupyterhub-user-net-default (172.29.0.3): icmp_seq=7 ttl=64 time=0.103 ms
64 bytes from rapidminer-rm-proxy-svc-1.jupyterhub-user-net-default (172.29.0.3): icmp_seq=8 ttl=64 time=0.105 ms
^C
--- rapid.lab.bayeslearner.org ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 161ms
rtt min/avg/max/mdev = 0.093/1.692/12.705/4.162 ms
When I run wget, connection is refused.
When I run wget, connection is refused.
rapidminer@rm-server-svc:/$ wget https://rapid.lab.bayeslearner.org:8443
--2022-12-20 22:28:38-- https://rapid.lab.bayeslearner.org:8443/
Resolving rapid.lab.bayeslearner.org (rapid.lab.bayeslearner.org)... 172.29.0.3
Connecting to rapid.lab.bayeslearner.org (rapid.lab.bayeslearner.org)|172.29.0.3|:8443... failed: Connection refused.
I saw in the log of rm-server-svc:
2022-12-20 21:57:24,963 WARN [org.keycloak.adapters.KeycloakDeployment] (http-/0.0.0.0:8080-1) Failed to load URLs from https://rapid.lab.bayeslearner.org:8443/auth/realms/master/.well-known/openid-configuration: java.net.ConnectException: Connection refused (Connection refused)
What did I do wrong? Also why does an internal container such as rm-server-svc try to contact an external public URL. I understand it is related to keycloak integration, but it doesn't seem to make sense to me.
Tagged:
0
Answers
https://rapid.lab.bayeslearner.org:8443/auth/admin/master/console/#/realms/master
Oh also if I hit the URL https://rapid.lab.bayeslearner.org:8443/auth/realms/master/.well-known/openid-configuration from a browser, it works:
have you already tried the suggestions from this post https://community.rapidminer.com/discussion/comment/69038/#Comment_69038 ?
Greetings,
Jonas
For some reason, in the rm_server_svc container, rapid.lab.bayeslearner.org is resolved to the proxy container's internal IP, not the physical host's external IP (192.168.1.231). When this happens, the docker port-mapping 8443:443 is bypassed and the request is not forwarded to the keycloak container.