hidglobal / digitalpersona-devices

DigitalPersona Security Devices support library
https://hidglobal.github.io/digitalpersona-devices/index.html
MIT License
64 stars 41 forks source link

Communication failure: Digital Persona 4500 #37

Closed okothhillary closed 8 months ago

okothhillary commented 1 year ago

I keep getting a communication error when I try to connect DP 4500 to my web app. Below is a test file that reproduces the issue I'm facing. I already have DigitalPersona Lite Client and DIGITALPERSONA 4500 WBF DRIVER installed.

test.zip

okothhillary commented 1 year ago

That error is displayed on all browsers that I've tried. I've allowed loopback in MS Edge, I've checked if there's any firewall blocking connection but I haven't seen any after posting "https://127.0.0.1:52181/get_connection", I got something like "endpoint...web_sdk". How do I resolve the communication error?

Screenshot (550) Error

okothhillary commented 1 year ago

All local agents are running...how do I solve the communication error @a-bronx, @daniilr, @adricasti, @pboulvais ?

a-bronx commented 1 year ago

Apologies for a long delay, I was prioritized to work on different projects.

Upon a code inspection I can only say, that the this.reader.channel.webChannel.connect() call in the FingerprintSigninControl constructor is unnecessary, the FingerprintReader.startAcquisition() will try to open the channel automatically in a proper way.

Note that the company policy forbids me to run your test sample with untrusted content. Should you wish me to investigate further, please create a minimal GitHub project reproducing the issue (no third-party libraries). Also specify versions of the browsers you tried and the version of the Lite Client installed.