Replies: 5 comments 13 replies
-
/cc @geoand (devservices), @pedroigor (keycloak), @sberyozkin (keycloak) |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I experienced the same problem. I tried all what has been mentioned above without success. For the record, I write down here how I managed to get back to normal. First let me give you a little bit of context : I'm on Mac. Docker Desktop installed for years. Updated regularly to the latest version. Kubernetes and Supabase deployed on Docker Desktop for quite some time. I was developing a Quarkus microservice requiring a Keycloak. Everything was working just fine : no problem with Keycloak devservices populated by my own Realm description file. Then the nightmare : Suddenly, test started failing with 401 - Unauthorized. I did not upgrade my docker desktop, I did not change whatsoever in my code. It started failing just like that. I tried some cleanup on my code side and docker side. Kill and purge everything. It kept on failing ! Finally the light at the end...The solution was to uninstall Docker Desktop "totally". A simple uninstall followed by a new installation starting up from the previous data files was not enough. You have to clean up Docker's directories. A couple of blog entries explain the directories you have to delete in addition to the uninstall process. And then, after a docker desktop re-installation from scratch, everything was back on tracks ! I did not have to change my code. There is no worse waste of time than searching for a bug that doesn't exist... |
Beta Was this translation helpful? Give feedback.
-
I solved this issue by changing the follow in my docker compose file:
TO
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was working with keycloak devservices for quite a while, providing my own realm. Now all of a sudden, I only see
But this is the main login - which always worked?!
My custom realm is not even initialized at all saying
Realm myrealm can not be created 401 - Unauthorized
(somewhere hidden I see that it is also referrring to HTTPS required)Container quay.io/keycloak/keycloak:26.2.4 started in PT9.86908S
Quarkus is 3.23.4
I found this old issue #27818 but no conclusion. I tried to find the initial realm or the source of the https setting - which as said seems suddenlty to have come up?!
Beta Was this translation helpful? Give feedback.
All reactions