How to run module registration-client in local environment

Hello everyone

Actually I am triying to implement a laboratoy to test the MOSIP solution

I don’t have enough hardware resources to deploy all modules. So I decide to test only some specify modules.

If only I want execute the module registration-client, what other dependences I need to have in my local ?

I have been executed successfully, but when I try to loggin then it shows me this error

Failed: No Internet Conection

Exploring the source code, I have found that It cannot connect to checks the Internet connectivity across the application

What should be the value for the property mosip.reg.healthcheck.url

It is on /registration-services/src/main/resources/props/mosip-application.properties

Any help will be great for me.

I am deploying and running this module on windows 11 with spring tool suit 4 and java 11

I have filled out the form with information the TMP details of my local machine

I am waiting the login credentials

What branch should I use to deploy and run in local environment?

Dear @Richard ,

Welcome to the community and thank you for reaching out, We are looking into your query and one of our experts will respond to you here with solution inputs.

Regards
Team MOSIP

1 Like

Hi @Richard

We are glad to hear that you are eager to try our MOSIP modules. you will receive the credentials within 24 hours. Credentials we will be sharing will give you access to explore registration client deployed in collab environment

Meanwhile you can refer to the master branch to get the latest code to proceed with the installation and exploration.

Regards,
Team MOSIP

1 Like

Hello svahsek

I found information in another theme and I just have updated the properties with these values

mosip.hostname =regclient-api.collab.mosip.net
mosip.client.upgrade.server.url=https://regclient.collab.mosip.net

Now, the client app has been changed to

Machine is ONLINE

This is great

Hello Varaniya1

I hope receive this information soon, thanks

I have other question

How can I do to appoint the property
“mosip.hostname” and “mosip.client.upgrade.server.url” to a local service, without use the collab environment?

What modules I need to run ?

Hi @Richard

If you are required to experience the whole registration process you need to install core modules of platform:
reg client, registration, id repo, admin and other supporting modules like commons, kernel.

For your second question adding property let me check with the team and revert back to you shortly

Hello Varaniya1

I haven’t received the credentials yet.

Can you help me ?, please

Hi @Richard

Sure let me share the credentials with you asap

Hello Varaniya1

I have received the credentials, thanks for this.

I have installed wireguard and I have loaded the configuration file

All looks like good, but when I try to log in the registration client (available on https://regclient-api.collab.mosip.net/registration-client/1.2.0.1-B1/reg-client.zip) shows me this error:

I have checked the log registration and I have found this error

*2025-05-21 10:51:09,156 INFO [JavaFX Application Thread] i.m.r.u.r.AuthTokenUtilService : Preparing URI for web-service >>>>>  https://regclient-api.collab.mosip.net/v1/syncdata/authenticate/useridpwd *
*2025-05-21 10:51:09,166 INFO [JavaFX Application Thread] i.m.r.u.r.AuthTokenUtilService : Completed preparing URI for web-service >>>>>>> https://regclient-api.collab.mosip.net/v1/syncdata/authenticate/useridpwd *
*2025-05-21 10:51:10,713 ERROR [JavaFX Application Thread] i.m.r.u.r.AuthTokenUtilService : KER-SYN-AUTH-001 --> Invalid Request*
*io.mosip.registration.exception.RegBaseCheckedException: KER-SYN-AUTH-001 --> Invalid Request*
*	at io.mosip.registration.util.restclient.AuthTokenUtilService.getAuthTokenResponse(AuthTokenUtilService.java:326)*
*	at io.mosip.registration.util.restclient.AuthTokenUtilService.getAuthTokenAndRefreshToken(AuthTokenUtilService.java:232)*
*	at io.mosip.registration.util.restclient.AuthTokenUtilService.getAuthTokenAndRefreshToken(AuthTokenUtilService.java:201)*
*	at io.mosip.registration.util.restclient.AuthTokenUtilService$$FastClassBySpringCGLIB$$605b6d5c.invoke(<generated>)*
*	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)*
*	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)*
*	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)*
*	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)*
*	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)*
*	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)*
*	at io.mosip.registration.util.restclient.AuthTokenUtilService$$EnhancerBySpringCGLIB$$6c005d08.getAuthTokenAndRefreshToken(<generated>)*
*	at io.mosip.registration.context.SessionContext.validateInitialLogin(SessionContext.java:192)*
*	at io.mosip.registration.context.SessionContext.create(SessionContext.java:167)*
*	at io.mosip.registration.controller.auth.LoginController.validateCredentials(LoginController.java:460)*
*	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
*	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)*
*	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)*
*	at java.base/java.lang.reflect.Method.invoke(Unknown Source)*
*	at com.sun.javafx.reflect.Trampoline.invoke(Unknown Source)*
*	at jdk.internal.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)*
*	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)*
*	at java.base/java.lang.reflect.Method.invoke(Unknown Source)*
*	at javafx.base/com.sun.javafx.reflect.MethodUtil.invoke(Unknown Source)*
*	at javafx.fxml/com.sun.javafx.fxml.MethodHelper.invoke(Unknown Source)*
*	at javafx.fxml/javafx.fxml.FXMLLoader$MethodHandler.invoke(Unknown Source)*
*	at javafx.fxml/javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)*
*	at javafx.base/javafx.event.Event.fireEvent(Unknown Source)*
*	at javafx.graphics/javafx.scene.Node.fireEvent(Unknown Source)*
*	at javafx.controls/javafx.scene.control.Button.fire(Unknown Source)*
*	at javafx.controls/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)*
*	at javafx.controls/com.sun.javafx.scene.control.inputmap.InputMap.handle(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)*
*	at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)*
*	at javafx.base/javafx.event.Event.fireEvent(Unknown Source)*
*	at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Unknown Source)*
*	at javafx.graphics/javafx.scene.Scene.processMouseEvent(Unknown Source)*
*	at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)*
*	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)*
*	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)*
*	at java.base/java.security.AccessController.doPrivileged(Native Method)*
*	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source)*
*	at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)*
*	at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)*
*	at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(Unknown Source)*
*	at javafx.graphics/com.sun.glass.ui.View.notifyMouse(Unknown Source)*
*	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)*
*	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)*
*	at java.base/java.lang.Thread.run(Unknown Source)*

¿Can you help to lets me know because it is happen?, please

Hi @Richard sure. let me have a look at the error with my team and revert back to you

Hi @Richard ,
I’m able to see the error message as KER-SYN-AUTH-001 → Invalid Request in the logs. It seems some of the details got missed or mismatched. Can you provide us with the details below to check further where it’s causing the issue?

  1. Keycloak roles for the user

  2. Machine details

  3. User-Center mapping details

Regards,
Team MOSIP

Hello Gokulraj

I am using the registration client of collaboration environment I thought that trying with this client I don’t have to deploy anymore

¿Is really necessary do it ?

Excuseme, but has been so difficult to undestant it

HI @Richard,

Please go through this technical documentation to understand the full flow: Registration Client Collab Guide | MOSIP Docs 1.2.0 and after that you come to know the details I asked then please come back with the details of above-mentioned.

Regards,
Team MOSIP