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?

kundengkundeng Member Posts: 14 Contributor II
edited January 2023 in Help
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
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?) 
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.  
rapidminer@rm-server-svc:/$ wget 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:

Answers

Sign In or Register to comment.