Internal server error using the redirecting urls in Keycloak

2,223 views
Skip to first unread message

Paul DG

unread,
Jun 12, 2020, 3:56:18 AM6/12/20
to dcm4che
Hi, 
I am installing dcm4chee arclight 5 with the following link, everything seems to work fine until the Keycloak configuration, I have correctly set the Valid Redirect URLs and Root URL as mentionned but when I try to use those redirect url link, I am facing an "Internal Server Error" page for the :8080 link and a blank page with some weird characters for the :8443 link.

If anyone knows how to fix that, 
Thank you
paul

vrinda...@j4care.com

unread,
Jun 14, 2020, 4:57:56 PM6/14/20
to dcm4che
What do you see in the server.log? How does your Keycloak client configuration look like ?

Paul DG

unread,
Jun 15, 2020, 5:35:11 AM6/15/20
to dcm4che
My problem is very similar to  https://groups.google.com/g/dcm4che/c/lEF4QQ7UOnY/m/hfJren18CQAJ 
In the server.log file I've got a WARN line :
2020-06-15 11:24:02,672 WARN  [org.keycloak.adapters.KeycloakDeployment] (default task-1) Failed to load URLs from https://localhost:8843/auth/realms/dcm4che/.well-known/openid-configuration: java.net.ConnectException: Connection refused (Connection refused)  

and an ERROR one : 
2020-06-15 11:04:45,651 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /dcm4chee-arc/ui2: java.lang.NullPointerException

I have tried the solution gunter provided in the above link which consist to modify the firewall parameters with ufw by adding port 8843 but it didn't work, I still got the Internal server error on http://localhost:8080/dcm4chee-arc/ui2 
My keycloak client configuration for the archive ui is as follows, nothing really different from the tutorial

Thanks,
dcm4che arc ui.png

Gunter Zeilinger

unread,
Jun 15, 2020, 5:55:34 AM6/15/20
to dcm...@googlegroups.com
AUTH_SERVER_URL can't specify "localhost", because keycloak runs in a different container than the archive.


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.

Romain Paturet

unread,
Sep 15, 2020, 7:05:48 AM9/15/20
to dcm4che
What's should we specify for AUTH_SERVER_URL ?

Romain Paturet

unread,
Sep 15, 2020, 11:25:13 AM9/15/20
to dcm4che
ok the docker host is different from the server host IP. It should be something like 172.27.....
Reply all
Reply to author
Forward
0 new messages