Problem:
Cannot delete groups in keycloak
Investigation:
The request is marked as “BLOCKED” in the javascript console.
It has error `NS_ERROR_NET_INTERRUPT" and one can see that no time is spend waiting for a response (you can see in the timing section that everything took 0ms. A working request takes a few ms waiting time).
Certain DELETE requests via the web interface always fail
DELETE /admin/realms/ucs/groups/e41bf644-2ea0-4352-afb7-0cc5b2b9ff91 undefined
The error is always NS_ERROR_NET_INTERRUPT and we cannot find a reason for this on no reason for this on our side. These requests do not arrive at the HAProxy load balancer and therefore not to the keycloak.
Solution:
In the proxy configuration DELETE was not enabled. So all of these http Methods should be allowed from proxy
DELETE
CONNECT
POST
HEAD
GET
PUT