fingerprintjs / fingerprintjs-pro-react-native

Official React Native client for Fingerprint PRO. 100% accurate device identification for fraud detection.
https://fingerprint.com
MIT License
56 stars 4 forks source link

NetworkError: Could not connect to the server. #101

Closed adnxy closed 8 months ago

adnxy commented 10 months ago

FingerprintJS is throwing network connection issues reported by our monitoring tool for both iOS & Android apps. There are multiple instances of this error, and it's throwing different error messages:

NetworkError: A server with the specified hostname could not be found.

NetworkError: Could not connect to the server.

NetworkError: The Internet connection appears to be offline.

Note: my fingerprintjs-pro-react-native is 2.5.3

Did anyone experienced something similar?

JuroUhlar commented 10 months ago

Hi @adnxy!

Does the issue happen to all Fingerprint requests or just occasionally? Wouldn't a small percentage of this kind of error be expected if some of your users are interacting with your application using unstable network connections?

Are you using some kind of proxy integration between your application and Fingerprint? Some VPN providers might block access to our APIs on a DNS level. If users are accessing your application using a VPN, they might run into these kinds of errors. Using a custom subdomain setup or a cloud proxy integration would resolve that issue.