Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localhost lost connection #372

Open
AlexeyBelyakov opened this issue Jul 6, 2024 · 2 comments
Open

localhost lost connection #372

AlexeyBelyakov opened this issue Jul 6, 2024 · 2 comments

Comments

@AlexeyBelyakov
Copy link

  • setup .env file with my TELEGRAM_API_ID and TELEGRAM_API_HASH.
  • install dependency
  • npm run dev
  • successfully login with phone number
  • after 1 minute connection is always broken. Session on mobile device is also terminated.
    [2024-07-06T18:27:11.487Z] [ERROR] - [Error: Not connected]
    Tested with different telegram api. localhost Telegram K works fine.
@AlexeyBelyakov
Copy link
Author

GramJSINVOKE users.GetFullUser
helpers.ts:189 GramJSINVOKE ERROR users.GetFullUser
log @ helpers.ts:189
client.ts:295 Error: RPCError undefined: SESSION_REVOKED (caused by users.GetFullUser)
at RPCMessageToError (index.js:22:12)
at MTProtoSender._handleRPCResult (MTProtoSender.js:809:27)
at MTProtoSender._processMessage (MTProtoSender.js:728:15)
at async MTProtoSender._recvLoop (MTProtoSender.js:657:17)

@abduraimovabdurahmon
Copy link

abduraimovabdurahmon commented Aug 14, 2024

Error: RPCError undefined: SESSION_REVOKED (caused by users.GetFullUser)
at RPCMessageToError (index.js:22:12)
at MTProtoSender._handleRPCResult (MTProtoSender.js:809:27)
at MTProtoSender._processMessage (MTProtoSender.js:728:15)
at async MTProtoSender._handleContainer (MTProtoSender.js:836:13)
at async MTProtoSender._processMessage (MTProtoSender.js:728:9)
at async MTProtoSender._recvLoop (MTProtoSender.js:657:17)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants