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

All devices are logged out after successful TDLib login session #3101

Open
phpcxy opened this issue Oct 25, 2024 · 1 comment
Open

All devices are logged out after successful TDLib login session #3101

phpcxy opened this issue Oct 25, 2024 · 1 comment

Comments

@phpcxy
Copy link

phpcxy commented Oct 25, 2024

Current Behavior:

  1. Successfully log in to Telegram using TDLib
  2. After a short period (while the TDLib session is still active)
  3. All other devices (including the official Telegram app) using the same account are automatically logged out
  4. This happens consistently in this sequence

Questions:

  1. How can I investigate the root cause of this behavior?
  2. Are there any specific logs or events I should monitor to understand what triggers these logouts?
  3. Is there a way to check if this is caused by Telegram's security mechanisms or by something in my TDLib implementation?

What I'd like to know:

  1. Which log levels or specific events should I watch for?
  2. Are there any specific TDLib methods I can use to check the session status?
  3. How can I determine if my application is being flagged as suspicious?

I use TDLib 1.8.35

@levlam
Copy link
Contributor

levlam commented Oct 25, 2024

  1. You can't investigate the root cause of this behavior.
  2. There are no specific events.
  3. This is caused by Telegram's security mechanisms.

You can't determine the cause or do anything specific to avoid this.

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