-
-
Notifications
You must be signed in to change notification settings - Fork 185
Description
Hi Developer, i tried to login with number as well as json as you have suggested but login failed badly.. if i provide json it still asks me for phone number.. also json doesnt has intallation-id any more i think.. i searched grok and here is what it says:
The error you're encountering ("AxiosError: Client network socket disconnected before secure TLS connection was established" or "AxiosError: read ECONNRESET") is a common Node.js network issue during the OTP login process. It occurs when the connection to Truecaller's server (account-asia-south1.truecaller.com) is abruptly closed or reset before a secure TLS handshake can complete. This happens at the step where TruecallerJS tries to send the OTP request via Axios (an HTTP client library). Based on the stack trace, it's not a code bug in TruecallerJS but a transient network or environment problem. The fact that JSON login falls back to prompting for a phone number suggests the JSON file is invalid or missing key fields (like installationId), forcing the OTP flow, which then fails due to this error.