Unknown transient reason error on identity creation attempt

I was going to provide link to a video and embed images, but I am not allowed.

1 Like

On Android with Chrome:

Failed to create identity: An error occured during construction: NotReadableError: An unknown error occurred while talking to the credential manager
23:39

On Android with Firefox:

Failed to create identity: An error occured during construction: UnknownError: The operation failed for an unknown transient reason

1 Like

Hi @mvrozanti ,

Can you register here: https://webauthn.io/

Just to check whether the problem is with passkeys or Internet Identity.

Thanks!

1 Like

Hi, thanks for taking the time to reply. I managed to both register and authenticate

2 Likes

In Internet Identity or in webauthn.io? or both?

1 Like

On webauthn io only. Not II

1 Like

Which phone do you have? Are you connecting a Yubikey? I found your error related to those devices.

I assume you get the error after clicking in “Create Internet Identity”, right?

1 Like

Samsung Galaxy M62. I don’t think I have a Yubikey. I get the error after selecting my device from the popup that appears after clicking “Creating Internet Identity”. There are other options such as USB key, NFC, and another one but selecting my phone is currently the only method available for me

1 Like

Did you try multiple times and every time is the same? We have seen that this error is sometimes temporary and after restarting the phone it goes away.

1 Like

I did try multiple times over a few days and also restarted the phone a few times in between. Just did it again now, but I get the same error

1 Like

The error comes from the phone, not from Internet Identity, that’s what’s confusing me.

Could you also try https://webauthn.me/ ?

Could you also try with the Samsung browser? I have seen another user that it was only working with the Samsung browser.

Thanks!

1 Like

I find it weird that you say the error comes from my phone when authentication worked on webauthn io as it should. Anyway, I tried webauthn me and I got this on firefox:

" Oops, something went wrong!

UnknownError: The operation failed for an unknown transient reason.

Close this modal reload the page so you can try again."

I also tried it on the samsung browser but I get another error:

“Failed to create identity: An error occured during construction: NotReadableError: An unknown error occurred while talking to the credential manager”

1 Like

The passkeys technology is not as mature as we’d like it to be. Sometimes the combination of Chrome version and Operating System version makes it fail.

Could you try again in webauth.me debugger but now with different combinations in the dropdowns?

You can try changing the values in the dropdowns of “pubKeyCredParams”, “authenticatorSelection” and “attestation”.

If it fails also in https://webauthn.me/ but works in https://webauthn.io/ then it must be that a specific combination fails with your device. Finding the combination that works in See your WebAuthn config in action will help us fix the problem in Internet Identity for you and probably other users.

Thanks for your effort, I hope we find the problem and can fix it!

1 Like

As I said, I’m not able to select NFC, nor USB key, nor use the option of using another device.

But, as requested, I tried the debugger and got this output:

rawID
credentialPublicKey
UnknownError: The operation failed for an unknown transient reason

I still don’t understand why this is so complicated. I wish I could just paste a public key which I already have and not need test combinations of options and devices and browsers. I was hoping to stake ICP to get a new phone, and not get a new phone to stake ICP heh

Why not simply copy whatever webauthn io is doing to identity.ic0.app?

1 Like

I understand your frustration. I’m also frustrated.

I can’t just copy what they do, I need to understand why it’s failing for you to understand why it might fail for other users.

Could you try in See your WebAuthn config in action and set the following parameters there:


Please let me know if you were able to successfully register in See your WebAuthn config in action

Thanks again!

1 Like

So, I opened the debugger config on my phone (the website isn’t mobile-friendly so it’s a bit of a hassle seeing everything in it, like forum.dfinity.org) and I see that while I have two pubKeyCredParams that match the first two in your screenshot, I don’t have the third EdDSA one, and the ‘+’ button which I assume is to add a param is not shown for me.

That being said, I checked the boxes for authenticatorSelection, residentKey and userVerification, set each to platform, preferred and preferred respectively and I get the exact same error:

rawID
credentialPublicKey
UnknownError: The operation failed for an unknown transient reason

Thank you for your patience

1 Like

I’d be surprised, but can you try to register in this link again? I removed the one that you don’t have in the other website.

If you fail to register there, it means that this algorithm type is necessary for you.

Thanks!

1 Like

I got a success message :slight_smile: what does this mean?

EDIT: one thing I should mention, maybe it’s relevant: the dropdowns in webauthn io and II are different, webauthn.io uses Google Passkeys while the other seems to use the phone’s credential manager

1 Like

Unfortunately, it means that I don’t know why it’s working for you in webauthn.io and failing in Internet Identity or https://webauthn.me/

What screen do you see from Internet Identity? Can you share a screenshot? I thought it was failing from the beginning.

1 Like

On II it does fail, with this dropdown:

I just got permission to send pic on the forum, that’s why I didn’t send it earlier

1 Like