Web3auth.connect() giving errors "while getting current epoch" or "no such host" in sapphire_devnet

When calling web3auth.connect() im receiving 2 different errors on sapphire_devnet. Sometimes one, sometimes the other. Cannot develop right now at all - this did not happen just 1-2 hour ago.

Error 1

Uncaught Error Error: Unable to assign key, jsonrpc: code: -32603, message: Internal error, data: Unable to assign key, Post "http://dkgnode.dkgsecp256k1-3331.svc.sapphire-dev-2-5-europe-central2/jrpc": dial tcp: lookup dkgnode.dkgsecp256k1-3331.svc.sapphire-dev-2-5-europe-central2 on 169.254.169.254:53: no such host
    at <anonymous> (c:\Projects\BlinkAI.Wallet\node_modules\@toruslabs\torus.js\dist\torusUtils.cjs.js:670:20)
    at processTicksAndRejections (internal/process/task_queues:95:5)

Error2:

Uncaught Error Error: Error occurred while getting current epoch
    at <anonymous> (c:\Projects\BlinkAI.Wallet\node_modules\@toruslabs\torus.js\dist\torusUtils.cjs.js:670:20)
    at processTicksAndRejections (internal/process/task_queues:95:5)

Code:

  const provider = await web3auth.connect({
    verifier: verifier,
    verifierId: verifierId,
    idToken: token
  });

It also seems to intermittently just work. Very unstable at the moment…

Hi @silver

I hope you are doing well. Thanks for reporting the issue.
I’m forwarding these errors to our team and I’ll come back to you as soon as possible.

Thanks for your patience.

hi @silver

The errors were because of a small failure in a few nodes. Now they are all working ok.

Can you confirm to us that your dApp is stable and working ok?

Seems ok now indeed, thanks!

1 Like

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