<div dir="ltr">Can the Keycloak server connect to <a href="http://10.0.3.141:8083">10.0.3.141:8083</a> at all?</div><div class="gmail_extra"><br><div class="gmail_quote">On 12 July 2016 at 22:08, Richard Lavallee <span dir="ltr">&lt;<a href="mailto:rllavallee@hotmail.com" target="_blank">rllavallee@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr"><div><font color="#222222" face="arial, sans-serif"><span style="font-size:12.8px;background-color:rgb(255,255,255)">Has anyone experienced a similar failure stack trace when initiating a Logout from Keycloak, please?</span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="font-size:12.8px;background-color:rgb(255,255,255)"><br></span></font></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)">This has something to do with the Admin URL, BUT...filling that in seems to cause a Proxy Error when attempting to logout normally, and doesn&#39;t seem to work in the first place. I am unsure on how to proceed forward on this, and I&#39;m hoping someone in the community has worked with the Tomcat Adapter</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)">-Richard</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)"><br></span></div><div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)"><div>19:36:55,145 WARN  [org.keycloak.services] (default task-30) KC-SERVICES0057: Logout for client &#39;myApp&#39; failed: org.apache.http.conn.ConnectTimeoutException: Connect to <a href="http://10.0.3.141:8083/" style="color:rgb(17,85,204)" target="_blank">10.0.3.141:8083</a> [/<a href="http://10.0.3.141/" style="color:rgb(17,85,204)" target="_blank">10.0.3.141</a>] failed: Connection timed out</div><div>        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:149)</div><div>        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)</div><div>        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)</div><div>        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)</div><div>        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)</div><div>        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)</div><div>        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)</div><div>        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)</div><div>        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)</div><div>        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)</div><div>        at org.keycloak.connections.httpclient.DefaultHttpClientFactory$1.postText(DefaultHttpClientFactory.java:70)</div><div>        at org.keycloak.services.managers.ResourceAdminManager.sendLogoutRequest(ResourceAdminManager.java:251)</div><div>        at org.keycloak.services.managers.ResourceAdminManager.logoutClientSessions(ResourceAdminManager.java:195)</div><div>        at org.keycloak.services.managers.ResourceAdminManager.logoutClientSession(ResourceAdminManager.java:150)</div><div>        at org.keycloak.protocol.oidc.OIDCLoginProtocol.backchannelLogout(OIDCLoginProtocol.java:209)</div><div>        at org.keycloak.services.managers.AuthenticationManager.browserLogout(AuthenticationManager.java:208)</div><div>        at org.keycloak.protocol.oidc.endpoints.LogoutEndpoint.logout(LogoutEndpoint.java:142)</div><div>        at sun.reflect.GeneratedMethodAccessor584.invoke(Unknown Source)</div><div>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div><div>        at java.lang.reflect.Method.invoke(Method.java:498)</div><div>        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)</div><div>        at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)</div><div>        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)</div><div>        at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:138)</div><div>        at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:107)</div><div>        at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:133)</div><div>        at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:101)</div><div>        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:395)</div><div>        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)</div><div>        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)</div><div>        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)</div><div>        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)</div><div>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)</div><div>        at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)</div><div>        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)</div><div>        at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:88)</div><div>        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)</div><div>        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)</div><div>        at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)</div><div>        at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)</div><div>        at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)</div><div>        at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)</div><div>        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</div><div>        at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)</div><div>        at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)</div><div>        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</div><div>        at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)</div><div>        at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)</div><div>        at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)</div><div>        at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)</div><div>        at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)</div><div>        at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)</div><div>        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</div><div>        at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)</div><div>        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</div><div>        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</div><div>        at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)</div><div>        at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)</div><div>        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)</div><div>        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)</div><div>        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)</div><div>        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)</div><div>        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)</div><div>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)</div><div>        at java.lang.Thread.run(Thread.java:745)</div><div>Caused by: java.net.ConnectException: Connection timed out</div><div>        at java.net.PlainSocketImpl.socketConnect(Native Method)</div><div>        at <a href="http://java.net" target="_blank">java.net</a>.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)</div><div>        at <a href="http://java.net" target="_blank">java.net</a>.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)</div><div>        at <a href="http://java.net" target="_blank">java.net</a>.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)</div><div>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)</div><div>        at java.net.Socket.connect(Socket.java:589)</div><div>        at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)</div><div>        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)</div><div>        ... 64 more</div><div><br></div></div></div>                                               </div></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>