# User Self Register on keycloak 24.0.3 and 24.0.4 is broken

**URL:** <https://forum.keycloak.org/t/user-self-register-on-keycloak-24-0-3-and-24-0-4-is-broken/25971>\
**Category:** Configuring the server\
**Tags:** authentication\
**Created:** [May 10, 2024, 12:02pm UTC](https://forum.keycloak.org/t/user-self-register-on-keycloak-24-0-3-and-24-0-4-is-broken/25971 "2024-05-10T12:02:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![espinal1976](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/espinal1976/32/10390_2.png) [@espinal1976](https://forum.keycloak.org/u/espinal1976)\
**Post date:** [May 10, 2024, 12:02pm UTC](https://forum.keycloak.org/t/user-self-register-on-keycloak-24-0-3-and-24-0-4-is-broken/25971/1 "2024-05-10T12:02:19Z")

</div>

After clicking register on 24.0.3 and 24.0.4 I am getting Failed Authentication. I appreciate any suggestion. On Keycloak 22.0.1 there is NOT PROBLEM at all with User Self Registration

We are sorry:  
Unexpected error when handling authentication request to identity provider.

Server log:  
root@easytest:/opt/keycloak-24.0.4/bin# ./kc.sh start  
Appending additional Java properties to JAVA\_OPTS: -Dkeycloak.profile=preview -Dkeycloak.profile.feature.token-exchange=enabled -Dkeycloak.profile.feature.admin-fine-grained-authz=enabled  
2024-05-10 11:56:20,206 INFO [org.keycloak.common.Profile] (main) Preview features enabled: admin-fine-grained-authz:v1, client-secret-rotation:v1, dpop:v1, recovery-codes:v1, scripts:v1, token-exchange:v1, update-email:v1  
2024-05-10 11:56:31,854 INFO [org.keycloak.quarkus.runtime.hostname.DefaultHostnameProvider] (main) Hostname settings: Base URL: , Hostname: x.x.x, Strict HTTPS: true, Path: , Strict BackChannel: false, Admin URL: x.x.x:8445, Admin: x.x.x, Port: -1, Proxied: false  
2024-05-10 11:56:32,361 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000556: Starting user marshaller ‘org.infinispan.jboss.marshalling.core.JBossUserMarshaller’  
2024-05-10 11:56:35,347 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000088: Unable to use any JGroups configuration mechanisms provided in properties {}. Using default JGroups configuration!  
2024-05-10 11:56:36,653 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000078: Starting JGroups channel `ISPN`  
2024-05-10 11:56:36,677 INFO [org.jgroups.JChannel] (keycloak-cache-init) local\_addr: b992643c-7fd3-421a-a173-31dc77d27412, name: easytest-23762  
2024-05-10 11:56:36,819 WARN [org.jgroups.protocols.UDP] (keycloak-cache-init) JGRP000015: the send buffer of socket MulticastSocket was set to 1MB, but the OS only allocated 212.99KB  
2024-05-10 11:56:36,820 WARN [org.jgroups.protocols.UDP] (keycloak-cache-init) JGRP000015: the receive buffer of socket MulticastSocket was set to 20MB, but the OS only allocated 212.99KB  
2024-05-10 11:56:36,821 WARN [org.jgroups.protocols.UDP] (keycloak-cache-init) JGRP000015: the send buffer of socket MulticastSocket was set to 1MB, but the OS only allocated 212.99KB  
2024-05-10 11:56:36,822 WARN [org.jgroups.protocols.UDP] (keycloak-cache-init) JGRP000015: the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 212.99KB  
2024-05-10 11:56:36,954 INFO [org.jgroups.protocols.FD\_SOCK2] (keycloak-cache-init) server listening on \*.23227  
2024-05-10 11:56:39,068 INFO [org.jgroups.protocols.pbcast.GMS] (keycloak-cache-init) easytest-23762: no members discovered after 2044 ms: creating cluster as coordinator  
2024-05-10 11:56:39,127 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000094: Received new cluster view for channel ISPN: [easytest-23762|0] (1) [easytest-23762]  
2024-05-10 11:56:39,372 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000079: Channel `ISPN` local address is `easytest-23762`, physical addresses are `[192.168.106.22:38763]`  
2024-05-10 11:56:39,563 WARN [org.infinispan.CONFIG] (keycloak-cache-init) ISPN000569: Unable to persist Infinispan internal caches as no global state enabled  
2024-05-10 11:56:46,012 WARN [io.quarkus.agroal.runtime.DataSources] (JPA Startup Thread) Datasource enables XA but transaction recovery is not enabled. Please enable transaction recovery by setting quarkus.transaction-manager.enable-recovery=true, otherwise data may be lost if the application is terminated abruptly  
2024-05-10 11:56:55,365 INFO [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: easytest-23762, Site name: null  
2024-05-10 11:57:02,440 INFO [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener  
2024-05-10 11:57:07,596 INFO [io.quarkus] (main) Keycloak 24.0.4 on JVM (powered by Quarkus 3.8.4) started in 51.457s. Listening on: [https://0.0.0.0:8445](https://0.0.0.0:8445)  
2024-05-10 11:57:07,606 INFO [io.quarkus] (main) Profile prod activated.  
2024-05-10 11:57:07,606 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-mysql, keycloak, logging-gelf, narayana-jta, reactive-routes, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, vertx]  
**2024-05-10 11:57:34,034 WARN [org.keycloak.services] (executor-thread-1) KC-SERVICES0013: Failed authentication: java.lang.NullPointerException: Cannot invoke “org.keycloak.authentication.FormAction.buildPage(org.keycloak.authentication.FormContext, org.keycloak.forms.login.LoginFormsProvider)” because “action” is null**  
at org.keycloak.authentication.FormAuthenticationFlow.renderForm(FormAuthenticationFlow.java:304)  
at org.keycloak.authentication.FormAuthenticationFlow.processFlow(FormAuthenticationFlow.java:285)  
at org.keycloak.authentication.DefaultAuthenticationFlow.processSingleFlowExecutionModel(DefaultAuthenticationFlow.java:377)  
at org.keycloak.authentication.DefaultAuthenticationFlow.processFlow(DefaultAuthenticationFlow.java:246)  
at org.keycloak.authentication.AuthenticationProcessor.authenticateOnly(AuthenticationProcessor.java:1051)  
at org.keycloak.authentication.AuthenticationProcessor.authenticate(AuthenticationProcessor.java:892)  
at org.keycloak.services.resources.LoginActionsService.processFlow(LoginActionsService.java:367)  
at org.keycloak.services.resources.LoginActionsService.processRegistration(LoginActionsService.java:725)  
at org.keycloak.services.resources.LoginActionsService.registerRequest(LoginActionsService.java:781)  
at org.keycloak.services.resources.LoginActionsService.registerPage(LoginActionsService.java:742)  
at org.keycloak.services.resources.LoginActionsService$quarkusrestinvoker$registerPage\_4790ee1a00c5ff439df8d9f43fc42809e1831abf.invoke(Unknown Source)  
at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29)  
at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:141)  
at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:147)  
at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:582)  
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)  
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)  
at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)  
at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)  
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)  
at java.base/java.lang.Thread.run(Thread.java:833)

2024-05-10 11:57:34,046 WARN [org.keycloak.events] (executor-thread-1) type=“REGISTER\_ERROR”, realmId=“66d84889-94b7-4273-9f5c-cfb5504bde99”, clientId=“angular-client”, userId=“null”, ipAddress=“67.8.27.141”, error=“invalid\_user\_credentials”, auth\_method=“openid-connect”, auth\_type=“code”, redirect\_uri=“[https://easytest.itksoluciones.com:4200/](https://easytest.itksoluciones.com:4200/)”, code\_id=“f01392f8-77b7-41b4-b6bd-f7117dc5e3d4”
