Unable to scan biometric details

ok

can you once check if mock-mds is working as expected.

  1. Run the below curl in a new terminal

curl --location --request STREAM ‘http://127.0.0.1:4501/stream
–header ‘Content-Type: application/json’
–data-raw ‘{
“deviceId”:“3”,
“deviceSubId” : “0”,
“timeout” : “60000”
}’

  1. open a new terminal and run below curl

curl --location --request RCAPTURE ‘127.0.0.1:4501/capture’
–header ‘Content-Type: application/json’
–data-raw ‘{
“env”: “Staging”,
“purpose”: “Registration”,
“specVersion”: “0.9.5”,
“timeout”: 10000,
“captureTime”: “2022-10-20T09:11:27.047Z”,
“transactionId”: “1625650119378”,
“bio”: [
{
“type”: “Face”,
“count”: 1,
“requestedScore”: 40,
“deviceId”: “3”,
“deviceSubId”: 0,
“previousHash”: “”,
“bioSubType”: [ ]
}
],
“customOpts”: null
}’

Do not close the first terminal when running the starting the 2nd terminal. Here we are trying to start stream request in the 1st terminal when it’s streaming we are initiating Rcapture request.

ok. mock-MDS is failing to stream with “unknown error null”
are you sure you are using “1.2.0.1-B1”?

yes I use version “1.2.0.1-B1”
image

I tried checking out 1.2.0.1-B1 Mock-MDS and I was not able to reproduce the reported issue.
I have shared the Mock_MDS that I tested. can you pls check with this MDS once?

thanks

Hi @Anusha_sunkadh
Thank you for providing me with this zip file.
But When I tested, I get this error

Also when I ping the server I get this error

@Anusha_sunkadh

I modify the code.
I get this

Dear Kamiri,

Did you configured MOCK-MDS in MOSIP with Partner onboarding (Includes Certificate Upload, P12 file Creation & application.properties update) ?

Can you share the latest logs from Registration-client ?

Also Please let us know, which branch referring from github for registration-client. Please share the MOSIP github url which you referring in IDE ?

@thamarai_kannan I connected with @kamiri yesterday on slack.

The issue was run.bat in the mock-MDS has the wrong jar file name in release-1.2.0.1 branch, changing that he was able to do stream and rcapture via postman.

Wrong:
java -cp provider-1.1.5.jar;lib* io.mosip.mock.sbi.test.TestMockSBI “mosip.mock.sbi.device.purpose=Registration” “mosip.mock.sbi.biometric.type=Biometric Device”

Correct:
java -cp mock-mds-1.2.0.1-B1.jar;lib* io.mosip.mock.sbi.test.TestMockSBI “mosip.mock.sbi.device.purpose=Registration” “mosip.mock.sbi.biometric.type=Biometric Device”

Later, as the master and keymanager DB was not initialized, we were not able to proceed with reg-client initialization. @syed.salman has shared the docs and informed the necessary steps to setup the environment.

@kamiri, looking forward to your updates.

thanks

1 Like

hi @kamiri is above issue Resolved ?

Hi @thamarai_kannan

Yes is resolved