[keycloak-user] KeyCloak 3.1.0 on OpenShift randomly unresponsive

Anton Arntz Anton.Arntz at planonsoftware.com
Wed Aug 9 08:50:54 EDT 2017


Correct, the first step is a redirect from KeyCloak to the ADFS server to authenticate the user.
This initial redirect happens only once.
After that we see more than 1000 requests hitting our KeyCloak URL with a redirect from that ADFS server and redirecting back to the ADFS server.
I mean like this:
KeyCloak -> ADFS
ADFS -> KeyCloak
KeyCloak -> ADFS
ADFS -> KeyCloak
KeyCloak -> ADFS
ADFS -> KeyCloak
We reached out to our customer to check if one of their users has a different cookie configuration in his/her browser.
Best way forward seems to be to locate the storm generator first.

-----Original Message-----
From: Bill Burke [mailto:bburke at redhat.com] 
Sent: dinsdag 8 augustus 2017 15:35
To: Anton Arntz <Anton.Arntz at planonsoftware.com>; keycloak-user at lists.jboss.org
Subject: Re: [keycloak-user] KeyCloak 3.1.0 on OpenShift randomly unresponsive

How can ADFS make requests to Keycloak?  Wouldn't it be other way around?


On 8/8/17 4:53 AM, Anton Arntz wrote:
> You are absolutely right, but at the time this was all the information I had and just wanted to check if anyone else had a similar experience.
> We narrowed it down to 1 realm receiving a lot of requests. All the requests are originating from the customer's ADFS that fills up our log. It seems that those requests aren't even logged at the keycloak realm, but the "logout all sessions" button in the sessions part of the realm does stop the storm.
> To answer your questions, customers didn't see the login page and keycloak didn't process HTTP requests anymore. KeyCloak is just one instance. I don't know the amount of database connections at that time. Will certainly look into those metrics next time.
>
> -----Original Message-----
> From: keycloak-user-bounces at lists.jboss.org [mailto:keycloak-user-bounces at lists.jboss.org] On Behalf Of Bill Burke
> Sent: dinsdag 1 augustus 2017 16:31
> To: keycloak-user at lists.jboss.org
> Subject: Re: [keycloak-user] KeyCloak 3.1.0 on OpenShift randomly unresponsive
>
> You'll need to narrow down the problem more.  i.e. What does "can't login anymore" mean?  Do customers still see login pages? Can Keycloak still receive and process HTTP requests?  Or is there connection denied?  Is Keycloak clustered?  Or is it one instance?  How many open database connections does the DB have?
>
> On 8/1/17 5:47 AM, Anton Arntz wrote:
>> We are currently facing an issue on our production environment in which the KeyCloak server becomes unresponsive at (what still looks like) random.
>> Tried to look into memory, cpu load and disk usage of the specific OpenShift gear and gone through all of the logs but nothing out of the ordinary could be found.
>> Looks like the application continues to run and still keeps logging, but none of the customers (realms) is able to login anymore.
>> Has anyone experienced the same with this KeyCloak version?
>>
>> Kind regards,
>> Anton Arntz
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
> _______________________________________________
> 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