td icon indicating copy to clipboard operation
td copied to clipboard

All devices are logged out after successful TDLib login session

Open phpcxy opened this issue 1 year ago • 3 comments

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

phpcxy avatar Oct 25 '24 03:10 phpcxy

  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.

levlam avatar Oct 25 '24 19:10 levlam

  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.

Why does it happen though? This happens to me too, and has never happened in the last 3 years.

morseton avatar Nov 25 '24 18:11 morseton

@morseton It is impossible to determine the cause of this.

levlam avatar Nov 25 '24 20:11 levlam