[keycloak-user] Create user with admin client - throws socket exception..

Bill Burke bburke at redhat.com
Tue Nov 22 11:27:18 EST 2016


Too much has changed from 1.8.1 for us to be able to track down what the 
exact problem is. Move to 1.9.8 which our product is based on, or the 
latest 2.x.


On 11/22/16 10:51 AM, Mustafa Kuru wrote:
> Hi,
>
> We are using admin client to create an keycloak user.
> Socket exception occures sometimes on a test stage. Unfortunatelly i can
> not reproduce it locally. The stage is clustered.
>
> >From the keycloak logs i can not find much information about this problem.
>
> This produces blocking sessions in keycloak database. We have to kill them
> every time. Otherwise hanging every following call about 5 min. and then
> throws exception.
> It is very annoying.
>
> Until we upgrade from the version 1.8.1 to 2.x.x we have to find a
> temporary solution.
> I need to know why the "create user" call causes blocking sessions in
> database.
>
> Exceptions looks like:
>
> javax.ws.rs.ProcessingException: Unable to invoke request
> at
> org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine.invoke(ApacheHttpClient4Engine.java:287)
> at
> org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:407)
> at
> org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:102)
> at
> org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:62)
>
> ...
>
> Caused by: java.net.SocketException: Connection reset
> at java.net.SocketInputStream.read(SocketInputStream.java:209)
> at java.net.SocketInputStream.read(SocketInputStream.java:141)
> at
> org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:158)
>
> thanks in advance.
>
> Kind regards.
>
> Mustafa Kuru
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user



More information about the keycloak-user mailing list