e.wang
February 27, 2023, 6:04pm
1
opened 06:08AM - 06 Jan 23 UTC
closed 09:34AM - 13 Jan 23 UTC
### I am getting the error described in the title in torusSdk.getRedirectresult(… ) function.
I am using Torus custom auth to implement login in my app. I use the triggerLogin() function to redirect my page to the auth0 login page where the user enters his email and logs in using his OTP. After entering the OTP, I am redirected back to my app where I fetch the result of the redirect using getRedirectResult() function. The problem is that once every 4 or 5 times, It gives me the error message that says
'Sorry, the Torus Network that powers Web3Auth is currently very busy. We will generate your key in time. Pls try again later.'
I am guessing that this error has got to do something with the torus servers having too much traffic. Maybe this is an issue with Torus Custom Auth only and has been patched in Web3Auth. If anyone can help me solve this issue, that would be great.
### Steps to Reproduce
This error occurs completely randomly without any apparent reason, so it is difficult to reproduce. Still the steps are as follows:
1. Initialize TorusSDK
2. Call the triggerLogin function.
3. Complete the login process.
4. After redirect catch the error on getRedirectResult function.
### Expected behavior
Expected and normal behavior is that it should redirect back to my app and should provide the walletData. In case of any error or exception it should return with the error. it is throwing Error but the reason that happens is not clear to me.
### Screenshots

### Device Info (please complete the following information):
- Device: Lenovo Thinkpad T470
- OS: Kubuntu
- Browser Brave
- Version [Version 1.35.103 Chromium: 98.0.4758.102 (Official Build) (64-bit)](https://brave.com/latest/)
- Web3Auth Version 2.1.3
- Torus Custom Auth Version 9.1.0
I only see the option to select mainnet
vs cyan
when creating a project.
Can I switch to cyan
for my existing project?
Also, how would cyan
help?
pepper
March 7, 2023, 7:09am
2
Hi. sorry for late reply.
As you can see there are more option except mainnet and cyan, check the list here.
You can just change the network from mainnet to cyan, but be sure that all your settings (for example verifier, etc…) are correctly set to cyan.
Cyan
is same production environment, just like mainnet. Note that Cyan
network usually has 4x more login times than mainnet
, means that it has more capacity than mainnet
.
system
Closed
May 6, 2023, 7:09am
3
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.