Asad Mehmood
Asad Mehmood

Reputation: 342

Persona U are U 4500 Web API

I am new to biometrics. I bought a new Persona U are U 4500 Device and SDK from a vendor. The SDK has some samples (as expected). All of the samples run smoothly except the WebSample. it do not detects my device in addition it gives an error in the console.

Can anyone please help me how to fix this issue and guide me as why am i facing this problem? is it something related to my wss://localhost?

enter image description here

Update

By further diving into the program i found the specified url https://127.0.0.1:52181/get_connection in websdk.client.bundle.min.js when i opened the link it says

{
 "code": -2147024894,
 "message": "The system cannot find the file specified."
}

Am i missing some file?

Upvotes: 2

Views: 14340

Answers (2)

mydoghasworms
mydoghasworms

Reputation: 18591

I don't have it in front of me now, because I switched back to the U.are.U 2.2.3 SDK, which does not have this feature.

But it sounds like you possibly have not installed the Digital Persona Lite client component. This runs a separate WebSocket service on port 9001 (IIRC) through which the JavaScript client then communicates.

It is described here: https://hidglobal.github.io/digitalpersona-devices/tutorial.html

After installation, you will need to restart.

The call to https://127.0.0.1:52181/get_connection should then respond with details of the WebSocket service, to which the JavaScript client will connect.

NOTE: The WebSkd library requires DigitalPersona Agent running on a client machine. This agent provides a secure communication channel between a browser and a fingerprint or card device driver. The DigitalPersona Agent is a part of a HID DigitalPersona Workstation. It can be also installed with a DigitalPersona Lite Client. If you expect your users do not use HID DigitalPersona Workstation, you may need to provide your users with a link to the Lite Client download, which you should show on a reader communication error:

A link is provided there to download the Lite client from here: https://www.crossmatch.com/AltusFiles/AltusLite/digitalPersonaClient.Setup64.exe

Upvotes: 0

Luan Silva
Luan Silva

Reputation: 1

you just add a script call of the following code "crossorigin = '' ". "crossorigin=''". It will look like this:

<script src="scripts/websdk.client.bundle.min.js" crossorigin="*"></script>
<script src="scripts/fingerprint.sdk.min.js" crossorigin="*"></script>

Upvotes: -2

Related Questions