When asking for help in this category, please make sure to provide the following details:
- SDK Version: @toruslabs/customauth-react-native-sdk:4.0.1
- Platform: React Native
Hello. I have been using Torus CustomAuth to implement web3 login in my React Native application. Everything was working fine until we received reports from Android users about login failures. Upon investigation, we confirmed that the functionality is still working properly on iOS.
Here’s my implementation: every state like clientid, verifier are just examples.
import CustomAuth from '@toruslabs/customauth-react-native-sdk';
const loginWithTorus = async () => {
try {
const subVerifierDetails = {
clientId: GOOGLE_CLIENT_ID,
typeOfLogin: 'google',
verifier: 'google-lrc'
};
const result = await CustomAuth.triggerLogin({
typeOfLogin: 'google',
verifier: 'google-lrc',
clientId: GOOGLE_CLIENT_ID,
});
console.log('Login success:', result);
} catch (error) {
console.error('Login failed:', error);
}
};
Here’s the error we’re encountering:
[java.util.concurrent.CompletionException: ["Unable to resolve host \"torus-19.torusnode.com\": No address associated with hostname","Unable to resolve host \"torus-node.ens.domains\": No address associated with hostname","Unable to resolve host \"torus-node.matic.network\": No address associated with hostname","Unable to resolve host \"torus.zilliqa.network\": No address associated with hostname",null,"failed to connect to torus2.etherscan.com/35.186.153.219 (port 443) from /10.0.2.16 (port 52414) after 10000ms","Unable to parse TLS packet header",null,"failed to connect to torusnode.ont.io/18.141.61.194 (port 443) from /10.0.2.16 (port 43324) after 10000ms"], responses: [null,null,null,null,"Not Found - Request ID: 01JM9HF100CNRAZZTYD91BTM18",null,null,"",null]java.lang.Exception: invalid results from KeyLookup [null,null,null,null,"Not Found - Request ID: 01JM9HF100CNRAZZTYD91BTM18",null,null,"",null]] []
Could you please confirm if these URLs are still accessible and active?
- torus-19.torusnode.com
- torus-node.ens.domains
- torus-node.matic.network
- torus.zilliqa.network
- torus2.etherscan.com
- torusnode.ont.io