Help needed: "invalid result from nodes, threshold number of public key results are not matching"

Suddenly started getting this in SAPPHIRE_DEVNET!

Please urgent help needed. Using JWT based login. For some JWTs it seems fine, but for some its saying this error.

Do I need to do anything? Or it is a DEVNET intermittent issue? Would I get it also on mainnet?

  "errorMsg": "Unable to resolve enough promises. \n      errors: Failed to fetch, Failed to fetch, Failed to fetch, Failed to fetch, \n      predicate error: invalid result from nodes, threshold number of public key results are not matching,\n      4 responses,\n      responses: [null,null,null,null]",
  "errorStack": "Error: Unable to resolve enough promises. \n      errors: Failed to fetch, Failed to fetch, Failed to fetch, Failed to fetch, \n      predicate error: invalid result from nodes, threshold number of public key results are not matching,\n      4 responses,\n      responses: [null,null,null,null]\n    at ft (https://auth.web3auth.io/v9/assets/index-DE-f75IV.js:2:2502)\n    at https://auth.web3auth.io/v9/assets/index-DE-f75IV.js:2:10999",
  "title": "Mount Error",
  "createdAt": "10/28/2024, 9:51:40 AM",

Hello Silver! Thank you for reaching out. I can see you’re encountering an issue with the “invalid result from nodes” error while using the Plug n Play SDK in SAPPHIRE_DEVNET. Let’s gather the necessary details for the support team to assist you better.

Here’s the information I’ve extracted from your message:

  • SDK Details: Plug n Play
  • SDK Version: Not specified, could you please confirm which version you’re using?
  • Platform: SAPPHIRE_DEVNET
  • Error Message: “Unable to resolve enough promises… predicate error: invalid result from nodes, threshold number of public key results are not matching”
  • Login Method: JWT based login
  • Error Occurrence: Intermittent for some JWTs

Additional Notes:

  • The error states “4 responses” with all responses being null, indicating an issue with node communication.
  • This seems to be a potential DEVNET issue, but it’s worth checking if it could occur on mainnet as well.

Proposed Next Steps:

  1. Check Your JWTs: Make sure that the JWTs having issues are correctly formatted and valid.
  2. Initialization Code: If you have a snippet of your Web3Auth initialization and login code, that would be helpful.
  3. Browser Console Screenshots: If you could share any console logs or screenshots, they might help in diagnosing the issue further.

Could you also confirm if you have a specific version number for the Plug n Play SDK? That will help us pinpoint the issue better.

If you have any links or additional images related to your question, please share those as well. Thank you, and I’m here to help!

Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.

Hi @silver,

Could you please provide the console and network logs, along with the region you are attempting to log in from? Additionally, a specific date and time would greatly assist us in identifying the issue more quickly.

Still occuring right now. And not only for me, region is Estonia and Ukraine (2 different JWTs).

  "errorMsg": "Unable to resolve enough promises. \n      errors: Failed to fetch, Failed to fetch, Failed to fetch, Failed to fetch, \n      predicate error: invalid result from nodes, threshold number of public key results are not matching,\n      4 responses,\n      responses: [null,null,null,null]",
  "errorStack": "Error: Unable to resolve enough promises. \n      errors: Failed to fetch, Failed to fetch, Failed to fetch, Failed to fetch, \n      predicate error: invalid result from nodes, threshold number of public key results are not matching,\n      4 responses,\n      responses: [null,null,null,null]\n    at ft (https://auth.web3auth.io/v9/assets/index-DE-f75IV.js:2:2502)\n    at https://auth.web3auth.io/v9/assets/index-DE-f75IV.js:2:10999",
  "title": "Mount Error",
  "createdAt": "10/28/2024, 10:14:33 AM",

Bunch of CORS issues in logs:

Hey @silver

Thanks for sharing, shared it with the team. Will keep you posted!

Hey @silver,

Our team has tested the system, and now the issue seems resolved. Do you still see this error?

I have the same error. I’ve just copied the code from Web3Auth PnP Modal Vanilla JS Quick Start and changed network to ‘sapphire_devnet’. Whe I try to login with google, I see this in console

Still experiencing same issue. It seems to be related to specific user logins (sub). Should I send you the sub and verifier id in DM? Right now I have 3 known subs failing .

Error comes from Web3Auth url, it spins there for some time and then displays the error:

1 Like

@shahbaz
Update: everything seems to be operational again. But sent you a dm with more info to investigate. Hopefully this kind of issue does not happen in mainnet.

Thank you for reporting.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.