<div dir="ltr">Which version of Keycloak are you running? Not sure it helps, but a similar question was posted while ago <a href="http://lists.jboss.org/pipermail/keycloak-user/2016-January/004529.html">http://lists.jboss.org/pipermail/keycloak-user/2016-January/004529.html</a></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Mar 9, 2016 at 10:39 AM Kevin Hirschmann &lt;<a href="mailto:khirschmann@huebinet.de">khirschmann@huebinet.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US">Hello,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Sometimes I get the following error. I can’t find a reason why this happens.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Do you have any idea what might be causing this?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thank you.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">2016-03-09 14:27:19,438 ERROR [org.keycloak.adapters.OAuthRequestAuthenticator] (default task-43) failed to turn code into token: java.net.SocketException: Connection reset<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at java.net.SocketInputStream.read(SocketInputStream.java:209)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at java.net.SocketInputStream.read(SocketInputStream.java:141)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at sun.security.ssl.InputRecord.read(InputRecord.java:503)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:961)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:918)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:223)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:685)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:487)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.keycloak.adapters.ServerRequest.invokeAccessCodeToToken(ServerRequest.java:90)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.keycloak.adapters.OAuthRequestAuthenticator.resolveCode(OAuthRequestAuthenticator.java:320)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.keycloak.adapters.OAuthRequestAuthenticator.authenticate(OAuthRequestAuthenticator.java:263)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.keycloak.adapters.RequestAuthenticator.authenticate(RequestAuthenticator.java:95)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.keycloak.adapters.undertow.AbstractUndertowKeycloakAuthMech.keycloakAuthenticate(AbstractUndertowKeycloakAuthMech.java:110)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.keycloak.adapters.undertow.ServletKeycloakAuthMech.authenticate(ServletKeycloakAuthMech.java:92)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:339)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:356)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:325)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:138)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:113)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:106)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">                at org.keycloak.adapters.undertow.ServletPreAuthActionsHandler.handleRequest(ServletPreAuthActionsHandler.java:69)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Mit freundlichen Grüßen<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Kevin Hirschmann<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">HUEBINET Informationsmanagement GmbH &amp; Co. KG<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">An der Königsbach 8<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">56075 Koblenz<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Sitz und Registergericht: Koblenz HRA 5329<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Persönlich haftender Gesellschafter der KG:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">HUEBINET GmbH;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Sitz und Registergericht: Koblenz HRB 6857<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Geschäftsführung:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Frank Hüttmann; Michael Biemer<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">------------------------------------------------------------------------------------------------------------------------------------------------------------------------<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Der Nachrichtenaustausch mit HUEBINET Informationsmanagement GmbH &amp; Co. KG, Koblenz via E-Mail dient lediglich zu Informationszwecken. Rechtsgeschäftliche Erklärungen mit verbindlichem Inhalt können über dieses Medium nicht ausgetauscht werden, da die Manipulation von E-Mails durch Dritte nicht ausgeschlossen werden kann.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Email communication with HUEBINET Informationsmanagement GmbH &amp; Co. KG is only intended to provide information of a general kind, and shall not be used for any statement with binding contents in respect to legal relations. It is not totally possible to prevent a third party from manipulating emails and email contents.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">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></blockquote></div>