# RegClient (Error in mock biometric authentication)

**URL:** <https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415>\
**Category:** General\
**Tags:** regclient\
**Created:** [April 12, 2023, 6:53am UTC](https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415 "2023-04-12T06:53:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayant](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jayant](https://community.mosip.io/u/Jayant)\
**Post date:** [April 12, 2023, 6:53am UTC](https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415/1 "2023-04-12T06:53:06Z")

</div>

we have configured mock integration from branch **1.1.5.**  
during biometric scan in regclient we are getting no device found exception

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/3b104c545ba51e396a17d49ce23ec66478e73985.png)

---

<div class="post-metadata">

**Author:** ![Anusha\_sunkadh](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/anusha_sunkadh/32/30_2.png) [@Anusha\_sunkadh](https://community.mosip.io/u/Anusha_sunkadh)\
**Post date:** [April 14, 2023, 5:34am UTC](https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415/2 "2023-04-14T05:34:26Z")

</div>

Hi @Jayant

Can you please provide below details?

1. which version of reg-client?
2. To use mock-mds, is the device partner onboarded?

and more details about how you have setup the mock-mds and reg-client logs could help us know more about the issue.

---

<div class="post-metadata">

**Author:** ![Jayant](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jayant](https://community.mosip.io/u/Jayant)\
**Post date:** [April 14, 2023, 1:42pm UTC](https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415/3 "2023-04-14T13:42:33Z")

</div>

Thanks @Anusha_sunkadh for your support.

we created device partner from partner portal and uploaded root and IntermediateCA certificate but while uploading the client.cer we are getting api error. uploading key manager logs for your ref.  
key manager version kernel-keymanager-service:1.2.0.1-B2

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/d28788f26ab6ad4e3601ae4dc0ede4f95606fe31.png)

---

<div class="post-metadata">

**Author:** ![chandra\_sekhar](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/chandra_sekhar/32/129_2.png) [@chandra\_sekhar](https://community.mosip.io/u/chandra_sekhar)\
**Post date:** [April 18, 2023, 3:17am UTC](https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415/4 "2023-04-18T03:17:48Z")

</div>

Hi @Jayant  
Can you please confirm Reg.client and PMP versions also.  
Thanks

---

<div class="post-metadata">

**Author:** ![Jayant](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jayant](https://community.mosip.io/u/Jayant)\
**Post date:** [April 18, 2023, 7:44am UTC](https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415/5 "2023-04-18T07:44:51Z")

</div>

Hi @chandra_sekhar  
This issue has been resolved. I am able to upload the client certificate for onboared device partner and after that created signed-Device.crt & Device.p12.  
I did the changes in application.properties for MockMDS (1.1.5),  
Now when i am login in regclinet and trying to biometric authentication (Face, iris, finger) we are getting device not found error  
regclient version: 1.2.0.1-B1  
PMP version: 1.2.0.1-B1  
Followed this link to setup MockMDS: [Building a Mock Registration MDS for your 1.2.0.x MOSIP Setup - MOSIP Support Desk - MOSIP (atlassian.net)](https://mosip.atlassian.net/wiki/spaces/MSD/pages/1022394369/Building+a+Mock+Registration+MDS+for+your+1.2.0.x+MOSIP+Setup)  
MockMDS Logs

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/bf97cd1f8c0ad2115f730937bd5f4ad93653e6b7.png)

---

<div class="post-metadata">

**Author:** ![Anusha\_sunkadh](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/anusha_sunkadh/32/30_2.png) [@Anusha\_sunkadh](https://community.mosip.io/u/Anusha_sunkadh)\
**Post date:** [April 18, 2023, 10:26am UTC](https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415/6 "2023-04-18T10:26:39Z")

</div>

Kindly share the mock-mds startup logs.

Also check this POST if this helps  
[https://community.mosip.io/t/unable-to-scan-biometric-details](https://community.mosip.io/t/unable-to-scan-biometric-details)

---

<div class="post-metadata">

**Author:** ![Jayant](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jayant](https://community.mosip.io/u/Jayant)\
**Post date:** [April 18, 2023, 10:28am UTC](https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415/7 "2023-04-18T10:28:41Z")

</div>

![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/b68af898e36c3f3b9b6ced2d0dcb61880ad2974b.png)

---

<div class="post-metadata">

**Author:** ![Jayant](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jayant](https://community.mosip.io/u/Jayant)\
**Post date:** [April 18, 2023, 3:55pm UTC](https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415/8 "2023-04-18T15:55:36Z")

</div>

Thanks @chandra_sekhar @Anusha_sunkadh  
issue has been resolved now.

---

<div class="post-metadata">

**Author:** ![gsasikumar](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@gsasikumar](https://community.mosip.io/u/gsasikumar)\
**Post date:** [April 19, 2023, 6:40am UTC](https://community.mosip.io/t/regclient-error-in-mock-biometric-authentication/415/9 "2023-04-19T06:40:00Z")

</div>


