adyen-react-native icon indicating copy to clipboard operation
adyen-react-native copied to clipboard

Fatal Exception: NSInternalInconsistencyException, Directory server root certificates are invalid or nil

Open StefanWallin opened this issue 1 year ago • 2 comments

Describe the bug This is a bug we've encountered in our Firebase Crashlytics Reporting.

This causes a fatal exception for us. We have two occurrences so far. Not a major headache yet.

iOS only, we deploy both to Android and iOS

From our telemetry it looks like both of these devices had network issues at the time because they had not handshaken with our backend on app start which they usually do.

Fatal Exception: NSInternalInconsistencyException Directory server root certificates are invalid or nil,
providing the Directory server root certificates and public key is required. check [documentation](
https://docs.adyen.com/online-payments/classic-integrations/api-integration-ecommerce/3d-secure/native)

The URL referenced above is also 404.

To Reproduce Steps to reproduce the behavior: I don't know honestly.

Expected behavior The app to not crash with the above exception.

Screenshots Device 1

  • App run time at point of crash: 1 minute 38 seconds
  • Package version: "@adyen/react-native": "^1.1.0", Screenshot 2024-02-22 at 16 45 23

Device 2

  • App run time at point of crash: 2 minutes 20 seconds
  • Package version: "@adyen/react-native": "^1.1.0", Screenshot 2024-02-22 at 16 45 17

Additional context Not sure what context is relevant for you, ask questions and I will try to answer.

StefanWallin avatar Feb 22 '24 16:02 StefanWallin

Hey @StefanWallin

This looks like https://github.com/Adyen/adyen-3ds2-ios/issues/34

I'll check with 3DS2 team..

descorp avatar Feb 23 '24 10:02 descorp

We just released 2.0.0-rc.1 and 1.2.1 that uses latest Adyen3DS.

@StefanWallin could you verify the fix ?

descorp avatar May 03 '24 16:05 descorp

Well, we've only seen this a couple of times. Since I filed this issue, only once and that was on 31st of march. We are also currently stuck with apple, but I'll try to squeeze this into an upcoming release and then we'll just have wait and see...

StefanWallin avatar May 14 '24 07:05 StefanWallin

I'll close this ticket for now. Feel free to leave feedback and continue the discussion here.

descorp avatar Jun 18 '24 15:06 descorp