I’ve configured IIS as Reverse Proxyserver for my keycloak instance. I can login to keycloak with my administrator userid. When I browse through the settings everything is Ok.
But the “Save” operations won’t work. Here is an example:
I can create a new realm (QrayTest) without problems. After creating the realm I want to change the Displayname to Test01 and press the SAVE button. This takes a while, and then I get the error: Realm could not be updated: Request failed with status code 502.
So it seems that GET and POST reqeusts works, only PUT request fail.
The error in the logfile is:
2023-01-31 14:04:05,451 INFO [io.quarkus.http.access-log] (vert.x-eventloop-thread-0) accounts.foodbase.nl - - 31/Jan/2023:14:04:05 +0100 “PUT /admin/realms/TestQray HTTP/1.1” 200 - “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.70” /admin/realms/TestQray -
2023-01-31 14:04:05,451 DEBUG [io.quarkus.resteasy] (vert.x-eventloop-thread-0) IO Exception : io.vertx.core.http.HttpClosedException: Connection was closed
2023-01-31 14:04:05,450 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-152) Uncaught server error: java.io.IOException: Read timed out
at io.quarkus.vertx.http.runtime.VertxInputStream$VertxBlockingInput.readBlocking(VertxInputStream.java:236)
at io.quarkus.vertx.http.runtime.VertxInputStream.readIntoBuffer(VertxInputStream.java:121)
at io.quarkus.vertx.http.runtime.VertxInputStream.read(VertxInputStream.java:83)
at com.fasterxml.jackson.core.json.ByteSourceJsonBootstrapper.ensureLoaded(ByteSourceJsonBootstrapper.java:539)
at com.fasterxml.jackson.core.json.ByteSourceJsonBootstrapper.detectEncoding(ByteSourceJsonBootstrapper.java:133)
at com.fasterxml.jackson.core.json.ByteSourceJsonBootstrapper.constructParser(ByteSourceJsonBootstrapper.java:256)
at com.fasterxml.jackson.core.JsonFactory._createParser(JsonFactory.java:1655)
at com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:1083)
at com.fasterxml.jackson.jaxrs.base.ProviderBase._createParser(ProviderBase.java:817)
Can anyone help me with a sugestion where the problem occurs? If more information is needed, please let me know.