It seems like the issue related to SSL setup. You may need to configure keystore and truststore (or alternatively you may need to disable truststore), especially since you're using self-signed certificates. See docs here http://keycloak.github.io/docs/userguide/keycloak-server/html/ch08.html#adapter-config and especially the options "truststore", "truststore-password", "client-keystore", "client-keystore-password", "client-key-password" and "disable-trust-manager" .

Btv. It's better to use keycloak-user ML for questions ;)

Marek

On 17/04/16 08:04, Paa Kojo Konduah Amos wrote:

Hello, Any leads on how to resolve this? ; This is happening only when you try to access the application from a public IP.

 

NOTE:

-         Everything works as expected within the LAN.

-        I have not obtained a CERTIFICATE yet; I am still using the self-generated one.

 

ERROR [org.keycloak.adapters.OAuthRequestAuthenticator] (default task-2) failed to turn code into token: java.net.ConnectException: Connection timed out.



_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev