<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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't seem to work in the first place. I am unsure on how to proceed forward on this, and I'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 'myApp' failed: org.apache.http.conn.<wbr>ConnectTimeoutException: Connect to <a href="http://10.0.3.141:8083/" target="_blank" style="color: rgb(17, 85, 204);">10.0.3.141:8083</a> [/<a href="http://10.0.3.141/" target="_blank" style="color: rgb(17, 85, 204);">10.0.3.141</a>] failed: Connection timed out</div><div> at org.apache.http.impl.conn.<wbr>DefaultHttpClientConnectionOpe<wbr>rator.connect(<wbr>DefaultHttpClientConnectionOpe<wbr>rator.java:149)</div><div> at org.apache.http.impl.conn.<wbr>PoolingHttpClientConnectionMan<wbr>ager.connect(<wbr>PoolingHttpClientConnectionMan<wbr>ager.java:353)</div><div> at org.apache.http.impl.<wbr>execchain.MainClientExec.<wbr>establishRoute(MainClientExec.<wbr>java:380)</div><div> at org.apache.http.impl.<wbr>execchain.MainClientExec.<wbr>execute(MainClientExec.java:<wbr>236)</div><div> at org.apache.http.impl.<wbr>execchain.ProtocolExec.<wbr>execute(ProtocolExec.java:184)</div><div> at org.apache.http.impl.<wbr>execchain.RetryExec.execute(<wbr>RetryExec.java:88)</div><div> at org.apache.http.impl.<wbr>execchain.RedirectExec.<wbr>execute(RedirectExec.java:110)</div><div> at org.apache.http.impl.client.<wbr>InternalHttpClient.doExecute(<wbr>InternalHttpClient.java:184)</div><div> at org.apache.http.impl.client.<wbr>CloseableHttpClient.execute(<wbr>CloseableHttpClient.java:82)</div><div> at org.apache.http.impl.client.<wbr>CloseableHttpClient.execute(<wbr>CloseableHttpClient.java:107)</div><div> at org.keycloak.connections.<wbr>httpclient.<wbr>DefaultHttpClientFactory$1.<wbr>postText(<wbr>DefaultHttpClientFactory.java:<wbr>70)</div><div> at org.keycloak.services.<wbr>managers.ResourceAdminManager.<wbr>sendLogoutRequest(<wbr>ResourceAdminManager.java:251)</div><div> at org.keycloak.services.<wbr>managers.ResourceAdminManager.<wbr>logoutClientSessions(<wbr>ResourceAdminManager.java:195)</div><div> at org.keycloak.services.<wbr>managers.ResourceAdminManager.<wbr>logoutClientSession(<wbr>ResourceAdminManager.java:150)</div><div> at org.keycloak.protocol.oidc.<wbr>OIDCLoginProtocol.<wbr>backchannelLogout(<wbr>OIDCLoginProtocol.java:209)</div><div> at org.keycloak.services.<wbr>managers.<wbr>AuthenticationManager.<wbr>browserLogout(<wbr>AuthenticationManager.java:<wbr>208)</div><div> at org.keycloak.protocol.oidc.<wbr>endpoints.LogoutEndpoint.<wbr>logout(LogoutEndpoint.java:<wbr>142)</div><div> at sun.reflect.<wbr>GeneratedMethodAccessor584.<wbr>invoke(Unknown Source)</div><div> at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43)</div><div> at java.lang.reflect.Method.<wbr>invoke(Method.java:498)</div><div> at org.jboss.resteasy.core.<wbr>MethodInjectorImpl.invoke(<wbr>MethodInjectorImpl.java:139)</div><div> at org.jboss.resteasy.core.<wbr>ResourceMethodInvoker.<wbr>invokeOnTarget(<wbr>ResourceMethodInvoker.java:<wbr>295)</div><div> at org.jboss.resteasy.core.<wbr>ResourceMethodInvoker.invoke(<wbr>ResourceMethodInvoker.java:<wbr>249)</div><div> at org.jboss.resteasy.core.<wbr>ResourceLocatorInvoker.<wbr>invokeOnTargetObject(<wbr>ResourceLocatorInvoker.java:<wbr>138)</div><div> at org.jboss.resteasy.core.<wbr>ResourceLocatorInvoker.invoke(<wbr>ResourceLocatorInvoker.java:<wbr>107)</div><div> at org.jboss.resteasy.core.<wbr>ResourceLocatorInvoker.<wbr>invokeOnTargetObject(<wbr>ResourceLocatorInvoker.java:<wbr>133)</div><div> at org.jboss.resteasy.core.<wbr>ResourceLocatorInvoker.invoke(<wbr>ResourceLocatorInvoker.java:<wbr>101)</div><div> at org.jboss.resteasy.core.<wbr>SynchronousDispatcher.invoke(<wbr>SynchronousDispatcher.java:<wbr>395)</div><div> at org.jboss.resteasy.core.<wbr>SynchronousDispatcher.invoke(<wbr>SynchronousDispatcher.java:<wbr>202)</div><div> at org.jboss.resteasy.plugins.<wbr>server.servlet.<wbr>ServletContainerDispatcher.<wbr>service(<wbr>ServletContainerDispatcher.<wbr>java:221)</div><div> at org.jboss.resteasy.plugins.<wbr>server.servlet.<wbr>HttpServletDispatcher.service(<wbr>HttpServletDispatcher.java:56)</div><div> at org.jboss.resteasy.plugins.<wbr>server.servlet.<wbr>HttpServletDispatcher.service(<wbr>HttpServletDispatcher.java:51)</div><div> at javax.servlet.http.<wbr>HttpServlet.service(<wbr>HttpServlet.java:790)</div><div> at io.undertow.servlet.handlers.<wbr>ServletHandler.handleRequest(<wbr>ServletHandler.java:85)</div><div> at io.undertow.servlet.handlers.<wbr>FilterHandler$FilterChainImpl.<wbr>doFilter(FilterHandler.java:<wbr>129)</div><div> at org.keycloak.services.filters.<wbr>KeycloakSessionServletFilter.<wbr>doFilter(<wbr>KeycloakSessionServletFilter.<wbr>java:88)</div><div> at io.undertow.servlet.core.<wbr>ManagedFilter.doFilter(<wbr>ManagedFilter.java:60)</div><div> at io.undertow.servlet.handlers.<wbr>FilterHandler$FilterChainImpl.<wbr>doFilter(FilterHandler.java:<wbr>131)</div><div> at io.undertow.servlet.handlers.<wbr>FilterHandler.handleRequest(<wbr>FilterHandler.java:84)</div><div> at io.undertow.servlet.handlers.<wbr>security.<wbr>ServletSecurityRoleHandler.<wbr>handleRequest(<wbr>ServletSecurityRoleHandler.<wbr>java:62)</div><div> at io.undertow.servlet.handlers.<wbr>ServletDispatchingHandler.<wbr>handleRequest(<wbr>ServletDispatchingHandler.<wbr>java:36)</div><div> at org.wildfly.extension.<wbr>undertow.security.<wbr>SecurityContextAssociationHand<wbr>ler.handleRequest(<wbr>SecurityContextAssociationHand<wbr>ler.java:78)</div><div> at io.undertow.server.handlers.<wbr>PredicateHandler.<wbr>handleRequest(<wbr>PredicateHandler.java:43)</div><div> at io.undertow.servlet.handlers.<wbr>security.<wbr>SSLInformationAssociationHandl<wbr>er.handleRequest(<wbr>SSLInformationAssociationHandl<wbr>er.java:131)</div><div> at io.undertow.servlet.handlers.<wbr>security.<wbr>ServletAuthenticationCallHandl<wbr>er.handleRequest(<wbr>ServletAuthenticationCallHandl<wbr>er.java:57)</div><div> at io.undertow.server.handlers.<wbr>PredicateHandler.<wbr>handleRequest(<wbr>PredicateHandler.java:43)</div><div> at io.undertow.security.handlers.<wbr>AbstractConfidentialityHandler<wbr>.handleRequest(<wbr>AbstractConfidentialityHandler<wbr>.java:46)</div><div> at io.undertow.servlet.handlers.<wbr>security.<wbr>ServletConfidentialityConstrai<wbr>ntHandler.handleRequest(<wbr>ServletConfidentialityConstrai<wbr>ntHandler.java:64)</div><div> at io.undertow.security.handlers.<wbr>AuthenticationMechanismsHandle<wbr>r.handleRequest(<wbr>AuthenticationMechanismsHandle<wbr>r.java:60)</div><div> at io.undertow.servlet.handlers.<wbr>security.<wbr>CachedAuthenticatedSessionHand<wbr>ler.handleRequest(<wbr>CachedAuthenticatedSessionHand<wbr>ler.java:77)</div><div> at io.undertow.security.handlers.<wbr>NotificationReceiverHandler.<wbr>handleRequest(<wbr>NotificationReceiverHandler.<wbr>java:50)</div><div> at io.undertow.security.handlers.<wbr>AbstractSecurityContextAssocia<wbr>tionHandler.handleRequest(<wbr>AbstractSecurityContextAssocia<wbr>tionHandler.java:43)</div><div> at io.undertow.server.handlers.<wbr>PredicateHandler.<wbr>handleRequest(<wbr>PredicateHandler.java:43)</div><div> at org.wildfly.extension.<wbr>undertow.security.jacc.<wbr>JACCContextIdHandler.<wbr>handleRequest(<wbr>JACCContextIdHandler.java:61)</div><div> at io.undertow.server.handlers.<wbr>PredicateHandler.<wbr>handleRequest(<wbr>PredicateHandler.java:43)</div><div> at io.undertow.server.handlers.<wbr>PredicateHandler.<wbr>handleRequest(<wbr>PredicateHandler.java:43)</div><div> at io.undertow.servlet.handlers.<wbr>ServletInitialHandler.<wbr>handleFirstRequest(<wbr>ServletInitialHandler.java:<wbr>284)</div><div> at io.undertow.servlet.handlers.<wbr>ServletInitialHandler.<wbr>dispatchRequest(<wbr>ServletInitialHandler.java:<wbr>263)</div><div> at io.undertow.servlet.handlers.<wbr>ServletInitialHandler.access$<wbr>000(ServletInitialHandler.<wbr>java:81)</div><div> at io.undertow.servlet.handlers.<wbr>ServletInitialHandler$1.<wbr>handleRequest(<wbr>ServletInitialHandler.java:<wbr>174)</div><div> at io.undertow.server.Connectors.<wbr>executeRootHandler(Connectors.<wbr>java:202)</div><div> at io.undertow.server.<wbr>HttpServerExchange$1.run(<wbr>HttpServerExchange.java:793)</div><div> at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1142)</div><div> at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:617)</div><div> at java.lang.Thread.run(Thread.<wbr>java:745)</div><div>Caused by: java.net.ConnectException: Connection timed out</div><div> at java.net.PlainSocketImpl.<wbr>socketConnect(Native Method)</div><div> at java.net.<wbr>AbstractPlainSocketImpl.<wbr>doConnect(<wbr>AbstractPlainSocketImpl.java:<wbr>350)</div><div> at java.net.<wbr>AbstractPlainSocketImpl.<wbr>connectToAddress(<wbr>AbstractPlainSocketImpl.java:<wbr>206)</div><div> at java.net.<wbr>AbstractPlainSocketImpl.<wbr>connect(<wbr>AbstractPlainSocketImpl.java:<wbr>188)</div><div> at java.net.SocksSocketImpl.<wbr>connect(SocksSocketImpl.java:<wbr>392)</div><div> at java.net.Socket.connect(<wbr>Socket.java:589)</div><div> at org.apache.http.conn.socket.<wbr>PlainConnectionSocketFactory.<wbr>connectSocket(<wbr>PlainConnectionSocketFactory.<wbr>java:74)</div><div> at org.apache.http.impl.conn.<wbr>DefaultHttpClientConnectionOpe<wbr>rator.connect(<wbr>DefaultHttpClientConnectionOpe<wbr>rator.java:134)</div><div> ... 64 more</div><div><br></div></div></div>                                            </div></body>
</html>