Hi Team,
we configured mantra biometric, iris, face and auth devices. In SBI test kit all the device test was successful but in regclient none of the devices are scannable.
regclient version 1.2.0.1-B1
could you please help us out to configure biometric devices.
Regclient Logs:
2023-05-08 19:00:56,175 INFO [Thread-25] i.m.r.m.s.i.MosipDeviceSpecificationFactory : Checking device info from port : 4501 to port : 4600 with thread pool size : 5
2023-05-08 19:00:56,176 INFO [Thread-25] i.m.r.m.s.i.MosipDeviceSpecificationFactory : Waiting for the termination of biometric device search threads…
2023-05-08 19:00:56,225 INFO [pool-6-thread-2] i.m.r.m.s.s.i.MosipDeviceSpecification_095_ProviderImpl : MosipDeviceSpecification_095_ProviderImpl - REGISTRATION - REG - received device info response on port : 4502
2023-05-08 19:00:56,225 INFO [pool-6-thread-2] i.m.r.m.s.s.i.MosipDeviceSpecification_095_ProviderImpl : MosipDeviceSpecification_095_ProviderImpl - REGISTRATION - REG - parsing device info response to 095 dto
2023-05-08 19:00:56,226 INFO [pool-6-thread-2] i.m.k.s.s.i.SignatureServiceImpl : SignatureSessionId - JWTSignature - - Certificate found in JWT Header.
2023-05-08 19:00:56,227 WARN [pool-6-thread-2] i.m.k.s.u.SignatureUtil : SignatureSessionId - JWTSignature - - Warning thrown when certificate dates are not valid.
2023-05-08 19:00:56,242 INFO [pool-6-thread-2] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation.
2023-05-08 19:00:56,243 INFO [pool-6-thread-2] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: DEVICE
2023-05-08 19:00:56,243 INFO [pool-6-thread-2] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: DEVICE
2023-05-08 19:00:56,243 INFO [pool-6-thread-2] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Total Number of ROOT Trust Found: 1
2023-05-08 19:00:56,243 INFO [pool-6-thread-2] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Total Number of INTERMEDIATE Trust Found: 2
2023-05-08 19:00:56,245 ERROR [pool-6-thread-2] i.m.r.m.s.i.MosipDeviceSpecificationHelper : REG - REGISTRATION - Failed to decode device info - io.mosip.registration.exception.DeviceException: REG-MDM-108 → Certificate path trust validation failed
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationHelper.validateJWTResponse(MosipDeviceSpecificationHelper.java:133)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationHelper.getDeviceInfoDecoded(MosipDeviceSpecificationHelper.java:107)
at io.mosip.registration.mdm.spec_0_9_5.service.impl.MosipDeviceSpecification_095_ProviderImpl.getMdmDevices(MosipDeviceSpecification_095_ProviderImpl.java:107)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy211.getMdmDevices(Unknown Source)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory.initByPort(MosipDeviceSpecificationFactory.java:206)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory$1.run(MosipDeviceSpecificationFactory.java:124)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-08 19:00:56,245 INFO [pool-6-thread-2] i.m.r.m.s.s.i.MosipDeviceSpecification_095_ProviderImpl : REGISTRATION - USER_REGISTRATION - MOSIP BIO DEVICE MANAGER - REGISTRATION - REG - Adding Device to Registry :
2023-05-08 19:00:56,245 INFO [pool-6-thread-2] i.m.r.m.s.s.i.MosipDeviceSpecification_092_ProviderImpl : MosipDeviceSpecification_092_ProviderImpl - REGISTRATION - REG - received device info response on port : 4502
2023-05-08 19:00:56,245 INFO [pool-6-thread-2] i.m.r.m.s.s.i.MosipDeviceSpecification_092_ProviderImpl : MosipDeviceSpecification_092_ProviderImpl - REGISTRATION - REG - parsing device info response to 092 dto
2023-05-08 19:00:56,246 ERROR [pool-6-thread-2] i.m.r.m.s.s.i.MosipDeviceSpecification_092_ProviderImpl : REGISTRATION - REG - Exception while parsing deviceinfo response(092 spec) - com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field “errorCode” (class io.mosip.registration.mdm.spec_0_9_2.dto.response.Error), not marked as ignorable (2 known properties: “errorcode”, “errorinfo”])
at [Source: (String)"[{“deviceInfo”:“ew0KImFsZyI6ICJSUzI1NiIsDQoidHlwIjogIkpXVCIsDQoieDVjIjogWyJNSUlEaVRDQ0FuR2dBd0lCQWdJRUF3ZEtIakFOQmdrcWhraUc5dzBCQVFzRkFEQ0JqakVMTUFrR0ExVUVCaE1DU1U0eEN6QUpCZ05WQkFnVEFrZEtNUkl3RUFZRFZRUUhFd2xCYUcxbFpHRmlZV1F4SlRBakJnTlZCQW9USEUxaGJuUnlZU0JUYjJaMFpXTm9JRWx1WkdsaElGQjJkQ0JNZEdReEN6QUpCZ05WQkFzVEFrbFVNU293S0FZRFZRUURFeUZOWVc1MGNtRWdVMjltZEdWamFDQkpibVJwWVNCUWRuUWdUSFJrSUZCUFF6TXdIaGNOTWpNd05UQTRNRGt5TXpNeFdoY05Nak13TmpBM01Ea3pOelF3V2pCZk1SSXdFQVlEVlFRREV3bE5SbE0xTURBZ1RGZ3hDekFKQmdO”[truncated 5239 chars]; line: 1, column: 5713] (through reference chain: java.util.ArrayList[0]->io.mosip.registration.mdm.spec_0_9_2.dto.response.MdmDeviceInfoResponse[“error”]->io.mosip.registration.mdm.spec_0_9_2.dto.response.Error[“errorCode”])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:840)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1192)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1592)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1570)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4202)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3205)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3188)
at io.mosip.registration.mdm.spec_0_9_2.service.impl.MosipDeviceSpecification_092_ProviderImpl.getMdmDevices(MosipDeviceSpecification_092_ProviderImpl.java:105)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy211.getMdmDevices(Unknown Source)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory.initByPort(MosipDeviceSpecificationFactory.java:206)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory$1.run(MosipDeviceSpecificationFactory.java:124)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-08 19:00:56,247 INFO [pool-6-thread-2] i.m.r.m.s.s.s.i.MosipDeviceSpecification_SBI_1_0_ProviderImpl : MosipDeviceSpecification_SBI_1_0_ProviderImpl - REGISTRATION - REG - received device info response on port : 4502
2023-05-08 19:00:56,247 INFO [pool-6-thread-2] i.m.r.m.s.s.s.i.MosipDeviceSpecification_SBI_1_0_ProviderImpl : MosipDeviceSpecification_SBI_1_0_ProviderImpl - REGISTRATION - REG - parsing device info response to SBI 1_0 dto
2023-05-08 19:00:56,247 INFO [pool-6-thread-2] i.m.k.s.s.i.SignatureServiceImpl : SignatureSessionId - JWTSignature - - Certificate found in JWT Header.
2023-05-08 19:00:56,247 WARN [pool-6-thread-2] i.m.k.s.u.SignatureUtil : SignatureSessionId - JWTSignature - - Warning thrown when certificate dates are not valid.
2023-05-08 19:00:56,252 INFO [pool-6-thread-2] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation.
2023-05-08 19:00:56,252 INFO [pool-6-thread-2] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: DEVICE
2023-05-08 19:00:56,252 INFO [pool-6-thread-2] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: DEVICE
2023-05-08 19:00:56,252 INFO [pool-6-thread-2] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Total Number of ROOT Trust Found: 1
2023-05-08 19:00:56,252 INFO [pool-6-thread-2] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Total Number of INTERMEDIATE Trust Found: 2
2023-05-08 19:00:56,253 ERROR [pool-6-thread-2] i.m.r.m.s.i.MosipDeviceSpecificationHelper : REG - REGISTRATION - Failed to decode device info - io.mosip.registration.exception.DeviceException: REG-MDM-108 → Certificate path trust validation failed
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationHelper.validateJWTResponse(MosipDeviceSpecificationHelper.java:133)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationHelper.getDeviceInfoDecoded(MosipDeviceSpecificationHelper.java:107)
at io.mosip.registration.mdm.sbi.spec_1_0.service.impl.MosipDeviceSpecification_SBI_1_0_ProviderImpl.getMdmDevices(MosipDeviceSpecification_SBI_1_0_ProviderImpl.java:113)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy211.getMdmDevices(Unknown Source)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory.initByPort(MosipDeviceSpecificationFactory.java:206)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory$1.run(MosipDeviceSpecificationFactory.java:124)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-08 19:00:56,254 ERROR [pool-6-thread-2] i.m.r.m.s.s.s.i.MosipDeviceSpecification_SBI_1_0_ProviderImpl : REGISTRATION - REG - Exception while parsing deviceinfo response(SBI 1_0 spec) - java.lang.NullPointerException
at io.mosip.registration.mdm.sbi.spec_1_0.service.impl.MosipDeviceSpecification_SBI_1_0_ProviderImpl.getBioDevice(MosipDeviceSpecification_SBI_1_0_ProviderImpl.java:337)
at io.mosip.registration.mdm.sbi.spec_1_0.service.impl.MosipDeviceSpecification_SBI_1_0_ProviderImpl.getMdmDevices(MosipDeviceSpecification_SBI_1_0_ProviderImpl.java:115)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy211.getMdmDevices(Unknown Source)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory.initByPort(MosipDeviceSpecificationFactory.java:206)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory$1.run(MosipDeviceSpecificationFactory.java:124)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-08 19:00:57,114 INFO [pool-6-thread-1] i.m.r.m.s.s.i.MosipDeviceSpecification_095_ProviderImpl : MosipDeviceSpecification_095_ProviderImpl - REGISTRATION - REG - received device info response on port : 4501
2023-05-08 19:00:57,115 INFO [pool-6-thread-1] i.m.r.m.s.s.i.MosipDeviceSpecification_095_ProviderImpl : MosipDeviceSpecification_095_ProviderImpl - REGISTRATION - REG - parsing device info response to 095 dto
2023-05-08 19:00:57,116 INFO [pool-6-thread-1] i.m.k.s.s.i.SignatureServiceImpl : SignatureSessionId - JWTSignature - - Certificate found in JWT Header.
2023-05-08 19:00:57,120 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation.
2023-05-08 19:00:57,121 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: DEVICE
2023-05-08 19:00:57,121 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: DEVICE
2023-05-08 19:00:57,121 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Total Number of ROOT Trust Found: 1
2023-05-08 19:00:57,121 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Total Number of INTERMEDIATE Trust Found: 2
2023-05-08 19:00:57,122 ERROR [pool-6-thread-1] i.m.r.m.s.i.MosipDeviceSpecificationHelper : REG - REGISTRATION - Failed to decode device info - io.mosip.registration.exception.DeviceException: REG-MDM-108 → Certificate path trust validation failed
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationHelper.validateJWTResponse(MosipDeviceSpecificationHelper.java:133)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationHelper.getDeviceInfoDecoded(MosipDeviceSpecificationHelper.java:107)
at io.mosip.registration.mdm.spec_0_9_5.service.impl.MosipDeviceSpecification_095_ProviderImpl.getMdmDevices(MosipDeviceSpecification_095_ProviderImpl.java:107)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy211.getMdmDevices(Unknown Source)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory.initByPort(MosipDeviceSpecificationFactory.java:206)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory$1.run(MosipDeviceSpecificationFactory.java:124)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-08 19:00:57,122 INFO [pool-6-thread-1] i.m.r.m.s.s.i.MosipDeviceSpecification_095_ProviderImpl : REGISTRATION - USER_REGISTRATION - MOSIP BIO DEVICE MANAGER - REGISTRATION - REG - Adding Device to Registry :
2023-05-08 19:00:57,122 INFO [pool-6-thread-1] i.m.k.s.s.i.SignatureServiceImpl : SignatureSessionId - JWTSignature - - Certificate found in JWT Header.
2023-05-08 19:00:57,123 WARN [pool-6-thread-1] i.m.k.s.u.SignatureUtil : SignatureSessionId - JWTSignature - - Warning thrown when certificate dates are not valid.
2023-05-08 19:00:57,127 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation.
2023-05-08 19:00:57,127 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: DEVICE
2023-05-08 19:00:57,127 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: DEVICE
2023-05-08 19:00:57,127 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Total Number of ROOT Trust Found: 1
2023-05-08 19:00:57,127 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Total Number of INTERMEDIATE Trust Found: 2
2023-05-08 19:00:57,128 ERROR [pool-6-thread-1] i.m.r.m.s.i.MosipDeviceSpecificationHelper : REG - REGISTRATION - Failed to decode device info - io.mosip.registration.exception.DeviceException: REG-MDM-108 → Certificate path trust validation failed
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationHelper.validateJWTResponse(MosipDeviceSpecificationHelper.java:133)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationHelper.getDeviceInfoDecoded(MosipDeviceSpecificationHelper.java:107)
at io.mosip.registration.mdm.spec_0_9_5.service.impl.MosipDeviceSpecification_095_ProviderImpl.getMdmDevices(MosipDeviceSpecification_095_ProviderImpl.java:107)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy211.getMdmDevices(Unknown Source)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory.initByPort(MosipDeviceSpecificationFactory.java:206)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory$1.run(MosipDeviceSpecificationFactory.java:124)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-08 19:00:57,128 INFO [pool-6-thread-1] i.m.r.m.s.s.i.MosipDeviceSpecification_095_ProviderImpl : REGISTRATION - USER_REGISTRATION - MOSIP BIO DEVICE MANAGER - REGISTRATION - REG - Adding Device to Registry :
2023-05-08 19:00:57,129 INFO [pool-6-thread-1] i.m.r.m.s.s.i.MosipDeviceSpecification_092_ProviderImpl : MosipDeviceSpecification_092_ProviderImpl - REGISTRATION - REG - received device info response on port : 4501
2023-05-08 19:00:57,129 INFO [pool-6-thread-1] i.m.r.m.s.s.i.MosipDeviceSpecification_092_ProviderImpl : MosipDeviceSpecification_092_ProviderImpl - REGISTRATION - REG - parsing device info response to 092 dto
2023-05-08 19:00:57,130 ERROR [pool-6-thread-1] i.m.r.m.s.s.i.MosipDeviceSpecification_092_ProviderImpl : REGISTRATION - REG - Exception while parsing deviceinfo response(092 spec) - com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field “errorCode” (class io.mosip.registration.mdm.spec_0_9_2.dto.response.Error), not marked as ignorable (2 known properties: “errorcode”, “errorinfo”])
at [Source: (String)"[{“deviceInfo”:“ewoiYWxnIjogIlJTMjU2IiwKInR5cCI6ICJKV1QiLAoieDVjIjogWyJNSUlEWmpDQ0FrNmdBd0lCQWdJREhvU0FNQTBHQ1NxR1NJYjNEUUVCQ3dVQU1JR09NUXN3Q1FZRFZRUUdFd0pKVGpFTE1Ba0dBMVVFQ0JNQ1Iwb3hFakFRQmdOVkJBY1RDVUZvYldWa1lXSmhaREVsTUNNR0ExVUVDaE1jVFdGdWRISmhJRk52Wm5SbFkyZ2dTVzVrYVdFZ1VIWjBJRXgwWkRFTE1Ba0dBMVVFQ3hNQ1NWUXhLakFvQmdOVkJBTVRJVTFoYm5SeVlTQlRiMlowWldOb0lFbHVaR2xoSUZCMmRDQk1kR1FnVUU5RE16QWVGdzB5TXpBMU1EZ3dOakF4TURSYUZ3MHlNekEyTURjd05qRTJNREphTUZ3eER6QU5CZ05WQkFNVEJrMUJWRWxUV0RFTE1Ba0dBMVVFQ3hNQ1NW”[truncated 10362 chars]; line: 1, column: 5403] (through reference chain: java.util.ArrayList[0]->io.mosip.registration.mdm.spec_0_9_2.dto.response.MdmDeviceInfoResponse[“error”]->io.mosip.registration.mdm.spec_0_9_2.dto.response.Error[“errorCode”])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:840)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1192)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1592)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1570)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4202)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3205)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3188)
at io.mosip.registration.mdm.spec_0_9_2.service.impl.MosipDeviceSpecification_092_ProviderImpl.getMdmDevices(MosipDeviceSpecification_092_ProviderImpl.java:105)
at jdk.internal.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy211.getMdmDevices(Unknown Source)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory.initByPort(MosipDeviceSpecificationFactory.java:206)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory$1.run(MosipDeviceSpecificationFactory.java:124)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-08 19:00:57,131 INFO [pool-6-thread-1] i.m.r.m.s.s.s.i.MosipDeviceSpecification_SBI_1_0_ProviderImpl : MosipDeviceSpecification_SBI_1_0_ProviderImpl - REGISTRATION - REG - received device info response on port : 4501
2023-05-08 19:00:57,131 INFO [pool-6-thread-1] i.m.r.m.s.s.s.i.MosipDeviceSpecification_SBI_1_0_ProviderImpl : MosipDeviceSpecification_SBI_1_0_ProviderImpl - REGISTRATION - REG - parsing device info response to SBI 1_0 dto
2023-05-08 19:00:57,131 INFO [pool-6-thread-1] i.m.k.s.s.i.SignatureServiceImpl : SignatureSessionId - JWTSignature - - Certificate found in JWT Header.
2023-05-08 19:00:57,136 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation.
2023-05-08 19:00:57,136 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: DEVICE
2023-05-08 19:00:57,136 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Certificate Trust Path Validation for domain: DEVICE
2023-05-08 19:00:57,136 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Total Number of ROOT Trust Found: 1
2023-05-08 19:00:57,136 INFO [pool-6-thread-1] i.m.k.p.s.i.PartnerCertificateManagerServiceImpl : pcSessionId - CertTrustPathValidation - - Total Number of INTERMEDIATE Trust Found: 2
2023-05-08 19:00:57,137 ERROR [pool-6-thread-1] i.m.r.m.s.i.MosipDeviceSpecificationHelper : REG - REGISTRATION - Failed to decode device info - io.mosip.registration.exception.DeviceException: REG-MDM-108 → Certificate path trust validation failed
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationHelper.validateJWTResponse(MosipDeviceSpecificationHelper.java:133)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationHelper.getDeviceInfoDecoded(MosipDeviceSpecificationHelper.java:107)
at io.mosip.registration.mdm.sbi.spec_1_0.service.impl.MosipDeviceSpecification_SBI_1_0_ProviderImpl.getMdmDevices(MosipDeviceSpecification_SBI_1_0_ProviderImpl.java:113)
at jdk.internal.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy211.getMdmDevices(Unknown Source)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory.initByPort(MosipDeviceSpecificationFactory.java:206)
at io.mosip.registration.mdm.service.impl.MosipDeviceSpecificationFactory$1.run(MosipDeviceSpecificationFactory.java:124)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-08 19:00:57,137 ERROR [pool-6-thread-1] i.m.r.m.s.s.s.i.MosipDeviceSpecification_SBI_1_0_ProviderImpl : REGISTRATION - REG - Exception while parsing deviceinfo response(SBI 1_0 spec) - java.lang.NullPointerException
at io.mosip.registration.mdm.sbi.spec_1_0.service.impl.MosipDeviceSpecification_SBI_1_0_ProviderImpl.getBioDevice(MosipDeviceSpecification_SBI_1_0_ProviderImpl.java:337)
at io.mosip.registration.mdm.sbi.spec_1_0.service.impl.MosipDeviceSpecification_SBI_1_0_ProviderImpl.getMdmDevices(MosipDeviceSpecification_SBI_1_0_ProviderImpl.java:115)
at jdk.internal.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
The device partner is not onboarded (with certificate upload) in the environment where you have set up the registration client. Hence, the certificate path is not found, and the trust validation is failing in the registration client.
Please ensure you have onboarded the device partner and uploaded the certificate using the partner management portal.
If you have done so, then check the ca_certificate table in mosip_master db.