Could not get result from torus nodes for one user

Hi, i’m developer for a start-up in web3,
We actually use your solution for our customers. One of them has connection problems as you can see in the screenshot below.
We only had this problem on this client and it can connect with another email


{"errorMsg":"Could not get result from torus nodes \n ",
"errorStack":"Error: Could not get result from torus nodes \n \n    at ct (https://auth.web3auth.io/v6/assets/index-WM5gy53Y.js:1:3563)\n    at https://auth.web3auth.io/v6/assets/index-WM5gy53Y.js:1:11986",
"title":"Mount Error","createdAt":"5/15/2024, 9:02:07 AM","info":{"customAuthState":{"client":"BG1thiRWX60LQOf4YAUROJOXb33iDZ0gB9M8sXVPBKuva8Nx_NnUsguM4_4ei0UCJzVQD71xM10HbP35lWblPx4","currentLoginProvider":"email_passwordless","popupWindow":"false","whiteLabel":"{}","keyMode":"v1","isCustomVerifier":"false","socialFactorFlow":"","loginId":"e878a33c60f38420e6a4e37383ad4e3c990e60b34b8feea80600c4273acb3f00","sessionNamespace":"","version":"6","instanceId":"e7nqfyi8hps","verifier":"torus","typeOfLogin":"jwt","redirectToOpener":false},"customAuthArgs":{"aggregateVerifierType":"single_id_verifier","verifierIdentifier":"tkey-auth0-email-passwordless","subVerifierDetailsArray":[{"typeOfLogin":"jwt","verifier":"torus","clientId":"BDIXq6ryHwTGwN11LFo4kwiMGY50zPip",
"jwtParams":{"domain":"https://passwordless.web3auth.io/v3/","verifierIdField":"name","connection":"email","isVerifierIdCaseSensitive":false,"network":"mainnet","flow_type":"code","login_hint":"client-email-here@gmail.com"},"customState":{"client":"BG1thiRWX60LQOf4YAUROJOXb33iDZ0gB9M8sXVPBKuva8Nx_NnUsguM4_4ei0UCJzVQD71xM10HbP35lWblPx4","currentLoginProvider":"email_passwordless","popupWindow":"false","whiteLabel":"{}","keyMode":"v1","isCustomVerifier":"false","socialFactorFlow":"","loginId":"e878a33c60f38420e6a4e37383ad4e3c990e60b34b8feea80600c4273acb3f00","sessionNamespace":"","version":"6"},"hash":"state=eyJjbGllbnQiOiJCRzF0aGlSV1g2MExRT2Y0WUFVUk9KT1hiMzNpRFowZ0I5TThzWFZQQkt1dmE4TnhfTm5Vc2d1TTRfNGVpMFVDSnpWUUQ3MXhNMTBIYlAzNWxXYmxQeDQiLCJjdXJyZW50TG9naW5Qcm92aWRlciI6ImVtYWlsX3Bhc3N3b3JkbGVzcyIsInBvcHVwV2luZG93IjoiZmFsc2UiLCJ3aGl0ZUxhYmVsIjoie30iLCJrZXlNb2RlIjoidjEiLCJpc0N1c3RvbVZlcmlmaWVyIjoiZmFsc2UiLCJzb2NpYWxGYWN0b3JGbG93IjoiIiwibG9naW5JZCI6ImU4NzhhMzNjNjBmMzg0MjBlNmE0ZTM3MzgzYWQ0ZTNjOTkwZTYwYjM0YjhmZWVhODA2MDBjNDI3M2FjYjNmMDAiLCJzZXNzaW9uTmFtZXNwYWNlIjoiIiwidmVyc2lvbiI6IjYiLCJpbnN0YW5jZUlkIjoiZTducWZ5aThocHMiLCJ2ZXJpZmllciI6InRvcnVzIiwidHlwZU9mTG9naW4iOiJqd3QiLCJyZWRpcmVjdFRvT3BlbmVyIjpmYWxzZX0&id_token=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL3RvcnVzLmF1LmF1dGgwLmNvbS8iLCJhdWQiOiJCRElYcTZyeUh3VEd3TjExTEZvNGt3aU1HWTUwelBpcCIsIm5hbWUiOiJjaHJpc3RvcGhlLmFyenVyQGdtYWlsLmNvbSIsImVtYWlsIjoiY2hyaXN0b3BoZS5hcnp1ckBnbWFpbC5jb20iLCJpYXQiOjE3MTU3NDkzMjMsImVhdCI6MTcxNTc0OTYyMywiZXhwIjoxNzE1NzQ5NjIzfQ.McXic_4smi9_bRuTEr9hepUYPls7ixD-1M6bNfSOe_x7C5Wdw6Ce0HyMDHPxcWVWfah8b2gobav0pKQ4gT-29A","queryParameters":{}}]},"customAuthError":"Could not get result from torus nodes \n ",
"customAuthHashParams":{"state":"eyJjbGllbnQiOiJCRzF0aGlSV1g2MExRT2Y0WUFVUk9KT1hiMzNpRFowZ0I5TThzWFZQQkt1dmE4TnhfTm5Vc2d1TTRfNGVpMFVDSnpWUUQ3MXhNMTBIYlAzNWxXYmxQeDQiLCJjdXJyZW50TG9naW5Qcm92aWRlciI6ImVtYWlsX3Bhc3N3b3JkbGVzcyIsInBvcHVwV2luZG93IjoiZmFsc2UiLCJ3aGl0ZUxhYmVsIjoie30iLCJrZXlNb2RlIjoidjEiLCJpc0N1c3RvbVZlcmlmaWVyIjoiZmFsc2UiLCJzb2NpYWxGYWN0b3JGbG93IjoiIiwibG9naW5JZCI6ImU4NzhhMzNjNjBmMzg0MjBlNmE0ZTM3MzgzYWQ0ZTNjOTkwZTYwYjM0YjhmZWVhODA2MDBjNDI3M2FjYjNmMDAiLCJzZXNzaW9uTmFtZXNwYWNlIjoiIiwidmVyc2lvbiI6IjYiLCJpbnN0YW5jZUlkIjoiZTducWZ5aThocHMiLCJ2ZXJpZmllciI6InRvcnVzIiwidHlwZU9mTG9naW4iOiJqd3QiLCJyZWRpcmVjdFRvT3BlbmVyIjpmYWxzZX0","id_token":"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL3RvcnVzLmF1LmF1dGgwLmNvbS8iLCJhdWQiOiJCRElYcTZyeUh3VEd3TjExTEZvNGt3aU1HWTUwelBpcCIsIm5hbWUiOiJjaHJpc3RvcGhlLmFyenVyQGdtYWlsLmNvbSIsImVtYWlsIjoiY2hyaXN0b3BoZS5hcnp1ckBnbWFpbC5jb20iLCJpYXQiOjE3MTU3NDkzMjMsImVhdCI6MTcxNTc0OTYyMywiZXhwIjoxNzE1NzQ5NjIzfQ.McXic_4smi9_bRuTEr9hepUYPls7ixD-1M6bNfSOe_x7C5Wdw6Ce0HyMDHPxcWVWfah8b2gobav0pKQ4gT-29A"}}}

The client tried on mobile, desktop, and different navigators.
Out of several thousand users, it is the unique case.

Please give me an answer that would explain this problem, this customer cannot access his account.

Thank You.

hi @lucasss
I hope you are well. Could you kindly share the package names and their versions with us? Additionally, providing some code snippets would be beneficial for us to assist you.

Hi Tom, sorry for the delay. here are the packages and their versions.
I find it strange that this only happened for one customer.

@web3auth/base”: “^7.2.0”,
@web3auth/ethereum-provider”: “^7.2.0”,
@web3auth/no-modal”: “^7.2.0”,
@web3auth/openlogin-adapter”: “^7.2.0”,
@web3auth/web3auth-wagmi-connector”: “^5.0.1”,

Hey @lucasss can you please update your web3auth packages to latest version? We had deployed some fixes in auth layer which are available in latest version or after 8.x version. Can you please update and let us know if the issue still persist?

hi, i’m actually trying to update all web3auth package to these versions :
@web3auth/base”: “^8.8.0”,
@web3auth/ethereum-provider”: “^8.6.2”,
@web3auth/no-modal”: “^8.10.2”,
@web3auth/web3auth-wagmi-connector”: “^6.0.0”,

I use the wagmi connector to connect my web3auth and rainbowkit to wagmi, but my web3auth connection dosnt work,I have the impression that the synchronization with wagmi is not done correctly. Can you help me please ?

const alchemyApiKey = process.env.NEXT_PUBLIC_ALCHEMY_API_KEY;

type ProvidersProps = {
  children: ReactNode;
};

const networkChain =
  process.env.NEXT_PUBLIC_ENVIRONMENT === "prod" ? polygon : polygonAmoy;

const Providers = ({ children }: ProvidersProps) => {
  const [wagmiConfig, setWagmiConfig] = useState<Config | null>(null);
  const { web3auth } = useWeb3AuthInit();

  const chainProvider =
    networkChain === polygon
      ? "https://polygon-mainnet.g.alchemy.com/v2/" + alchemyApiKey
      : "https://polygon-amoy.g.alchemy.com/v2/" + alchemyApiKey;

  const web3AuthConnector = Web3AuthConnector({
    web3AuthInstance: web3auth,
  });
  const { connectors } = getDefaultWallets({
    appName: "AppName",
    projectId: "ProjectID",
  });

  const mergedConnectors = [...connectors, web3AuthConnector];

  useEffect(() => {
    const config = createConfig({
      ssr: false,
      chains: [networkChain],
      connectors: mergedConnectors,
      transports: {
        80002: http(chainProvider),
        137: http(chainProvider),
      },
    });

    if (web3auth) {
      setWagmiConfig(config);
    }
  }, [web3auth]);

  const queryClient = new QueryClient({
    defaultOptions: {
      queries: {
        refetchOnWindowFocus: true,
        networkMode: "online",
        refetchInterval: REFETCH_INTERVAL,
        retry: 3,
      },
    },
  });

  if (!wagmiConfig) {
    return <div>Loading...</div>;
  }

  return (
    <WagmiProvider config={wagmiConfig}>
      <QueryClientProvider client={queryClient}>
        <RainbowKitProvider coolMode theme={darkTheme()}>
          <WalletProvider>
            <MainProvider>
              <WertProvider>
                <ContractProvider>
                  <MyCellarProvider>
                    <ProductProvider>
                      <RedeemProvider>
                        <BottleProvider>{children}</BottleProvider>...

Hey, can you please share more details about what do you mean by Web3Auth connection doesn’t work? Can you share the logs if it throws runtime error?

This problem is now fixed, i updated all the package to the last version but I find the same problem :

the problem seems to be a network and communication problem with the nodes.

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