tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

Error : 0 : MessageId is too high #2439

Closed SLiGe closed 1 year ago

SLiGe commented 1 year ago

I used the sock5 proxy to connect. my code:

TdApi.ProxyType proxy = new TdApi.ProxyTypeSocks5(proxyProp.username(), proxyProp.password());
TdApi.AddProxy addProxy = new TdApi.AddProxy(proxyProp.host(), proxyProp.port(), true, proxy);
 client.send(addProxy, result -> {
                logger.info("Telegram add proxy result: {}", !result.isError());
                result.error().ifPresent(e -> {
                    logger.info("Telegram add proxy error result: {}", e);
                });
            });

When my application starts, everything is normal. But after a few minutes, it seemed like the connection was disconnected. the error:

[ 2][t 4][1684218084.129693984][Session.cpp:628][#1][!Session:5:main]   
Session connection with 0 pending requests was closed: [Error : 0 : MessageId is too high] Session:5:main::Connect::TCP::Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:50928]
levlam commented 1 year ago

Could you restart the app, set log verbosity level to 5, set log stream to a logStreamFile, wait when the issue is reproduced again and send the log to https://t.me/tdlib_bot?

SLiGe commented 1 year ago

Could you restart the app, set log verbosity level to 5, set log stream to a logStreamFile, wait when the issue is reproduced again and send the log to https://t.me/tdlib_bot?

yes,I have already sent it to tdlib_bot,it didn't reply to me

SLiGe commented 1 year ago

full log :

2023-05-16T17:18:35.966+08:00  INFO 2562442 --- [   Thread-11060] it.tdlight.TDLight                       : [ 3][t 3][1684228715.966884136][Session.cpp:846][#1][!Session:5:main][&net_query]  Mark as unknown [message_id:7233707411566812612][Query:[id:1703936][tl:0x03173d78][state:Query]]
2023-05-16T17:18:35.967+08:00  INFO 2562442 --- [   Thread-11061] it.tdlight.TDLight                       : [ 3][t 3][1684228715.966988086][Session.cpp:504][#1][!Session:5:main]  Close session (external)
2023-05-16T17:18:35.967+08:00  INFO 2562442 --- [   Thread-11062] it.tdlight.TDLight                       : [ 3][t 3][1684228715.967098236][NetQuery.h:326][#1][!Session:5:main][&net_query]   Receive error [Query:[id:1703936][tl:0x03173d78][state:Query]] [Error : 202 : ]
2023-05-16T17:18:35.967+08:00  INFO 2562442 --- [   Thread-11063] it.tdlight.TDLight                       : [ 3][t 3][1684228715.967188119][NetQuery.h:83][#1][!Session:5:main][&net_query]    Resend [Query:[id:1703936][tl:0x03173d78][state:Error][Error : 202 : ]]
2023-05-16T17:18:35.967+08:00  INFO 2562442 --- [   Thread-11064] it.tdlight.TDLight                       : [ 3][t 3][1684228715.967268228][NetQuery.cpp:27][#1][!Session:5:main][&net_query]  [Query:[id:1703936][tl:0x03173d78][state:Query]] [state:sent to main session multi proxy DcId{5}]
2023-05-16T17:18:35.967+08:00  INFO 2562442 --- [   Thread-11065] it.tdlight.TDLight                       : [ 3][t 3][1684228715.967362165][ConnectionCreator.cpp:607][#1][!ConnectionCreator][&connections]   Request connection for [client:0xe92c41ac] to DcId{5} [allow_media_only:false]
2023-05-16T17:18:35.967+08:00  INFO 2562442 --- [   Thread-11066] it.tdlight.TDLight                       : [ 3][t 3][1684228715.967453956][ConnectionCreator.cpp:816][#1][!ConnectionCreator][&connections]   In client_loop: [client:0xe92c41ac]
2023-05-16T17:18:35.967+08:00  INFO 2562442 --- [   Thread-11067] it.tdlight.TDLight                       : [ 3][t 3][1684228715.967535257][ConnectionCreator.cpp:990][#1][!ConnectionCreator][&connections]   [client:0xe92c41ac] set timeout in 3.198095
2023-05-16T17:18:35.967+08:00  INFO 2562442 --- [   Thread-11068] it.tdlight.TDLight                       : [ 3][t 3][1684228715.967647075][NetQuery.cpp:27][#1][!SessionProxy:5:main][&net_query] [Query:[id:1703936][tl:0x03173d78][state:Query]] [state:SessionProxy:5:main: sent to session]
2023-05-16T17:18:35.967+08:00  INFO 2562442 --- [   Thread-11069] it.tdlight.TDLight                       : [ 3][t 3][1684228715.967733144][Session.cpp:376][#1][!Session:5:main][&net_query]  Receive query [Query:[id:1703936][tl:0x03173d78][state:Query]]
2023-05-16T17:18:35.967+08:00  INFO 2562442 --- [   Thread-11070] it.tdlight.TDLight                       : [ 3][t 3][1684228715.967802286][NetQuery.cpp:27][#1][!Session:5:main][&net_query]  [Query:[id:1703936][tl:0x03173d78][state:Query]] [state:Session:5:main: pending]
2023-05-16T17:18:36.267+08:00  INFO 2562442 --- [   Thread-11071] it.tdlight.TDLight                       : [ 3][t 3][1684228716.267309188][ConfigManager.cpp:606][#1][!Recoverer][&config_recoverer]  On connecting false
2023-05-16T17:18:36.267+08:00  INFO 2562442 --- [   Thread-11072] it.tdlight.TDLight                       : [ 3][t 3][1684228716.267606019][ConfigManager.cpp:792][#1][!Recoverer][&config_recoverer]  Successfully connected in 1.047987 seconds
2023-05-16T17:18:36.267+08:00  INFO 2562442 --- [   Thread-11073] it.tdlight.TDLight                       : [ 3][t 3][1684228716.267747163][ConfigManager.cpp:867][#1][!Recoverer][&config_recoverer]  Wakeup never
2023-05-16T17:18:36.267+08:00  INFO 2562442 --- [   Thread-11074] it.tdlight.TDLight                       : [ 3][t 3][1684228716.267833232][Td.cpp:3996][#1][!Td][&td_requests]    Sending update: UpdateConnectionState {
  state = ConnectionStateConnectingToProxy {
  }
}
2023-05-16T17:18:36.267+08:00  INFO 2562442 --- [   TDLib thread] it.tdlight.TDLight                       : [ 3][t 0][1684228716.267944097][Client.cpp:293][&td_requests]End to wait for updates, returning object 0 0x7fd7d8444c50
2023-05-16T17:18:36.268+08:00  INFO 2562442 --- [   TDLib thread] it.tdlight.TDLight                       : [ 3][t 0][1684228716.267987966][Client.cpp:280][&td_requests]Begin to wait for updates with timeout 0.000000
2023-05-16T17:18:36.268+08:00  INFO 2562442 --- [   TDLib thread] it.tdlight.TDLight                       : [ 3][t 0][1684228716.268037319][Client.cpp:293][&td_requests]End to wait for updates, returning object 0 (nil)
2023-05-16T17:18:36.268+08:00  INFO 2562442 --- [   TDLib thread] it.tdlight.TDLight                       : [ 3][t 0][1684228716.268120050][Client.cpp:280][&td_requests]Begin to wait for updates with timeout 2.000000
2023-05-16T17:18:38.268+08:00  INFO 2562442 --- [   TDLib thread] it.tdlight.TDLight                       : [ 3][t 0][1684228718.268876075][Client.cpp:293][&td_requests]End to wait for updates, returning object 0 (nil)
2023-05-16T17:18:38.269+08:00  INFO 2562442 --- [   TDLib thread] it.tdlight.TDLight                       : [ 3][t 0][1684228718.268997907][Client.cpp:280][&td_requests]Begin to wait for updates with timeout 2.000000
2023-05-16T17:18:39.169+08:00  INFO 2562442 --- [   Thread-11075] it.tdlight.TDLight                       : [ 3][t 3][1684228719.168877124][ConnectionCreator.cpp:1021][#1][!ConnectionCreator][&connections]  [hash:0xe92c41ac] wakeup
2023-05-16T17:18:39.169+08:00  INFO 2562442 --- [   Thread-11076] it.tdlight.TDLight                       : [ 3][t 3][1684228719.169157981][ConnectionCreator.cpp:816][#1][!ConnectionCreator][&connections]   In client_loop: [client:0xe92c41ac]
2023-05-16T17:18:39.169+08:00  INFO 2562442 --- [   Thread-11077] it.tdlight.TDLight                       : [ 3][t 3][1684228719.169255018][ConnectionCreator.cpp:707][#1][!ConnectionCreator][&connections]   Create: Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5}
2023-05-16T17:18:39.169+08:00  INFO 2562442 --- [   Thread-11078] it.tdlight.TDLight                       : [ 3][t 3][1684228719.169805049][ConnectionCreator.cpp:719][#1][!ConnectionCreator][&connections]   Create new transparent proxy connection Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]
2023-05-16T17:18:39.169+08:00  INFO 2562442 --- [   Thread-11079] it.tdlight.TDLight                       : [ 3][t 3][1684228719.169922113][ConnectionCreator.cpp:765][#1][!ConnectionCreator][&connections]   Start Socks5: Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]
2023-05-16T17:18:39.170+08:00  INFO 2562442 --- [   Thread-11080] it.tdlight.TDLight                       : [ 3][t 3][1684228719.170036077][ConnectionCreator.cpp:990][#1][!ConnectionCreator][&connections]   [client:0xe92c41ac] set timeout in 0.999759
2023-05-16T17:18:39.170+08:00  INFO 2562442 --- [   Thread-11081] it.tdlight.TDLight                       : [ 3][t 3][1684228719.170433044][ConnectionCreator.cpp:976][#1][!ConnectionCreator][&connections]   Start check: Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890] without auth data
2023-05-16T17:18:39.170+08:00  INFO 2562442 --- [   Thread-11082] it.tdlight.TDLight                       : [ 3][t 3][1684228719.170649290][RawConnection.cpp:93][#1][!PingActor<Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]>]   Send handshake packet:
00000000 00000000 00000001 00000000 00000090 be7e8ef1 44500b28 a3450a6f f65ca029 27637f9c d992647a a32c5082 fbdeb1ad de492f48 7391b7cc 8e31cae5
634a7cca 0abf71f1 997e4c30 0f8f1803 5357c926 dcd07c47 2b3daae3 7e084194 6a00fe4e 35568dcf 13a09996 8992cf75 e5152c10 1d8bf432 199ad836 981f66d8
bd4dd6a2 f8260fbc 8bbb5e3c f0afc55f 78d3746e d673f4d9 6309e79d 1a1b26bf 14138472
2023-05-16T17:18:39.221+08:00  INFO 2562442 --- [   Thread-11083] it.tdlight.TDLight                       : [ 3][t 3][1684228719.220943927][ConfigManager.cpp:606][#1][!Recoverer][&config_recoverer]  On connecting true
2023-05-16T17:18:39.221+08:00  INFO 2562442 --- [   Thread-11084] it.tdlight.TDLight                       : [ 3][t 3][1684228719.221221208][ConfigManager.cpp:790][#1][!Recoverer][&config_recoverer]  Failed to connect for 0.000002 seconds
2023-05-16T17:18:39.221+08:00  INFO 2562442 --- [   Thread-11085] it.tdlight.TDLight                       : [ 3][t 3][1684228719.221329927][ConfigManager.cpp:864][#1][!Recoverer][&config_recoverer]  Wakeup in 20.0s
2023-05-16T17:18:39.221+08:00  INFO 2562442 --- [   Thread-11086] it.tdlight.TDLight                       : [ 3][t 3][1684228719.221409082][Td.cpp:3996][#1][!Td][&td_requests]    Sending update: UpdateConnectionState {
  state = ConnectionStateConnecting {
  }
}
2023-05-16T17:18:39.221+08:00  INFO 2562442 --- [   TDLib thread] it.tdlight.TDLight                       : [ 3][t 0][1684228719.221528053][Client.cpp:293][&td_requests]End to wait for updates, returning object 0 0x7fd7d8444620
2023-05-16T17:18:39.221+08:00  INFO 2562442 --- [   TDLib thread] it.tdlight.TDLight                       : [ 3][t 0][1684228719.221603155][Client.cpp:280][&td_requests]Begin to wait for updates with timeout 0.000000
2023-05-16T17:18:39.221+08:00  INFO 2562442 --- [   TDLib thread] it.tdlight.TDLight                       : [ 3][t 0][1684228719.221679210][Client.cpp:293][&td_requests]End to wait for updates, returning object 0 (nil)
2023-05-16T17:18:39.221+08:00  INFO 2562442 --- [   TDLib thread] it.tdlight.TDLight                       : [ 3][t 0][1684228719.221781015][Client.cpp:280][&td_requests]Begin to wait for updates with timeout 2.000000
2023-05-16T17:18:39.627+08:00  INFO 2562442 --- [   Thread-11087] it.tdlight.TDLight                       : [ 3][t 3][1684228719.627008199][RawConnection.cpp:93][#1][!PingActor<Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]>]   Send handshake packet:
00000000 00000000 00000001 00000000 00000030 be7e8ef1 5f8188f1 aaedd032 07f6e8b6 3b5722d6 49366c51 dcf0444f 951399d6 7dd525e9 ded9ff9c 2d393720
daea61a6
2023-05-16T17:18:39.756+08:00  INFO 2562442 --- [   Thread-11088] it.tdlight.TDLight                       : [ 3][t 3][1684228719.756090879][ConnectionCreator.cpp:952][#1][!PingActor<Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]>][&connections]    Ready connection (checked) 0x7fd7d8198280 [rtt:128.8ms] Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]
2023-05-16T17:18:39.756+08:00  INFO 2562442 --- [   Thread-11089] it.tdlight.TDLight                       : [ 3][t 3][1684228719.756418228][ConnectionCreator.cpp:1005][#1][!ConnectionCreator][&connections]  Add ready connection 0x7fd7d8198280 for [client:0xe92c41ac]
2023-05-16T17:18:39.756+08:00  INFO 2562442 --- [   Thread-11090] it.tdlight.TDLight                       : [ 3][t 3][1684228719.756510019][ConnectionCreator.cpp:816][#1][!ConnectionCreator][&connections]   In client_loop: [client:0xe92c41ac]
2023-05-16T17:18:39.756+08:00  INFO 2562442 --- [   Thread-11091] it.tdlight.TDLight                       : [ 3][t 3][1684228719.756627082][ConnectionCreator.cpp:832][#1][!ConnectionCreator][&connections]   Send to promise [connection:0x7fd7d8198280]
2023-05-16T17:18:39.756+08:00  INFO 2562442 --- [   Thread-11092] it.tdlight.TDLight                       : [ 3][t 3][1684228719.756732940][Session.cpp:1294][#1][!Session:5:main] Finished to open connection Session:5:main::Connect::TCP::Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]
2023-05-16T17:18:39.756+08:00  INFO 2562442 --- [   Thread-11093] it.tdlight.TDLight                       : [ 3][t 3][1684228719.756855249][NetQuery.cpp:27][#1][!Session:5:main][&net_query]  [Query:[id:1703936][tl:0x03173d78][state:Query]] [state:Session:5:main: send to an MTProto connection]
2023-05-16T17:18:39.757+08:00  INFO 2562442 --- [   Thread-11094] it.tdlight.TDLight                       : [ 3][t 3][1684228719.756964206][Session.cpp:1165][#1][!Session:5:main][&net_query] Send query to connection [Query:[id:1703936][tl:0x03173d78][state:Query]] [message_id:0x64634a94a2e0a670][invoke_after:{}]
2023-05-16T17:18:39.960+08:00  WARN 2562442 --- [   Thread-11095] it.tdlight.TDLight                       : [ 2][t 3][1684228719.959823131][SessionConnection.cpp:330][#1][!Session:5:main]    [session_id:0x0000000000000000] [msg_id:0x64634a94a2f8467c] [seq_no:0x00000002]: MessageId is too high. Session will be closed
2023-05-16T17:18:39.960+08:00  WARN 2562442 --- [   Thread-11096] it.tdlight.TDLight                       : [ 2][t 3][1684228719.960134029][Session.cpp:731][#1][!Session:5:main]  Session failed: [Error : 0 : MessageId is too high]
2023-05-16T17:18:39.960+08:00  WARN 2562442 --- [   Thread-11097] it.tdlight.TDLight                       : [ 2][t 3][1684228719.960247039][Session.cpp:269][#1][!SessionProxy:5:main] Generate new session_id 9341401000340580016 for auth key 11886063380799842090 for main DC5
2023-05-16T17:18:39.960+08:00  WARN 2562442 --- [   Thread-11098] it.tdlight.TDLight                       : [ 2][t 3][1684228719.960460186][Session.cpp:628][#1][!Session:5:main]  Session connection with 1 pending requests was closed: [Error : 0 : MessageId is too high] Session:5:main::Connect::TCP::Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]
SLiGe commented 1 year ago
: [ 3][t 3][1684228715.966884136][Session.cpp:846][#1][!Session:5:main][&net_query] Mark as unknown [message_id:7233707411566812612][Query:[id:1703936][tl:0x03173d78][state:Query]]
: [ 3][t 3][1684228715.966988086][Session.cpp:504][#1][!Session:5:main] Close session (external)
: [ 3][t 3][1684228715.967098236][NetQuery.h:326][#1][!Session:5:main][&net_query]  Receive error [Query:[id:1703936][tl:0x03173d78][state:Query]] [Error : 202 : ]
: [ 3][t 3][1684228715.967188119][NetQuery.h:83][#1][!Session:5:main][&net_query]   Resend [Query:[id:1703936][tl:0x03173d78][state:Error][Error : 202 : ]]
: [ 3][t 3][1684228715.967268228][NetQuery.cpp:27][#1][!Session:5:main][&net_query] [Query:[id:1703936][tl:0x03173d78][state:Query]] [state:sent to main session multi proxy DcId{5}]
: [ 3][t 3][1684228715.967362165][ConnectionCreator.cpp:607][#1][!ConnectionCreator][&connections]  Request connection for [client:0xe92c41ac] to DcId{5} [allow_media_only:false]
: [ 3][t 3][1684228715.967453956][ConnectionCreator.cpp:816][#1][!ConnectionCreator][&connections]  In client_loop: [client:0xe92c41ac]
: [ 3][t 3][1684228715.967535257][ConnectionCreator.cpp:990][#1][!ConnectionCreator][&connections]  [client:0xe92c41ac] set timeout in 3.198095
: [ 3][t 3][1684228715.967647075][NetQuery.cpp:27][#1][!SessionProxy:5:main][&net_query]    [Query:[id:1703936][tl:0x03173d78][state:Query]] [state:SessionProxy:5:main: sent to session]
: [ 3][t 3][1684228715.967733144][Session.cpp:376][#1][!Session:5:main][&net_query] Receive query [Query:[id:1703936][tl:0x03173d78][state:Query]]
: [ 3][t 3][1684228715.967802286][NetQuery.cpp:27][#1][!Session:5:main][&net_query] [Query:[id:1703936][tl:0x03173d78][state:Query]] [state:Session:5:main: pending]
: [ 3][t 3][1684228716.267309188][ConfigManager.cpp:606][#1][!Recoverer][&config_recoverer] On connecting false
: [ 3][t 3][1684228716.267606019][ConfigManager.cpp:792][#1][!Recoverer][&config_recoverer] Successfully connected in 1.047987 seconds
: [ 3][t 3][1684228716.267747163][ConfigManager.cpp:867][#1][!Recoverer][&config_recoverer] Wakeup never
: [ 3][t 3][1684228716.267833232][Td.cpp:3996][#1][!Td][&td_requests]   Sending update: UpdateConnectionState {
  state = ConnectionStateConnectingToProxy {
  }
}
: [ 3][t 0][1684228716.267944097][Client.cpp:293][&td_requests]End to wait for updates, returning object 0 0x7fd7d8444c50
: [ 3][t 0][1684228716.267987966][Client.cpp:280][&td_requests]Begin to wait for updates with timeout 0.000000
: [ 3][t 0][1684228716.268037319][Client.cpp:293][&td_requests]End to wait for updates, returning object 0 (nil)
: [ 3][t 0][1684228716.268120050][Client.cpp:280][&td_requests]Begin to wait for updates with timeout 2.000000
: [ 3][t 0][1684228718.268876075][Client.cpp:293][&td_requests]End to wait for updates, returning object 0 (nil)
: [ 3][t 0][1684228718.268997907][Client.cpp:280][&td_requests]Begin to wait for updates with timeout 2.000000
: [ 3][t 3][1684228719.168877124][ConnectionCreator.cpp:1021][#1][!ConnectionCreator][&connections] [hash:0xe92c41ac] wakeup
: [ 3][t 3][1684228719.169157981][ConnectionCreator.cpp:816][#1][!ConnectionCreator][&connections]  In client_loop: [client:0xe92c41ac]
: [ 3][t 3][1684228719.169255018][ConnectionCreator.cpp:707][#1][!ConnectionCreator][&connections]  Create: Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5}
: [ 3][t 3][1684228719.169805049][ConnectionCreator.cpp:719][#1][!ConnectionCreator][&connections]  Create new transparent proxy connection Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]
: [ 3][t 3][1684228719.169922113][ConnectionCreator.cpp:765][#1][!ConnectionCreator][&connections]  Start Socks5: Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]
: [ 3][t 3][1684228719.170036077][ConnectionCreator.cpp:990][#1][!ConnectionCreator][&connections]  [client:0xe92c41ac] set timeout in 0.999759
: [ 3][t 3][1684228719.170433044][ConnectionCreator.cpp:976][#1][!ConnectionCreator][&connections]  Start check: Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890] without auth data
: [ 3][t 3][1684228719.170649290][RawConnection.cpp:93][#1][!PingActor<Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]>]  Send handshake packet:
00000000 00000000 00000001 00000000 00000090 be7e8ef1 44500b28 a3450a6f f65ca029 27637f9c d992647a a32c5082 fbdeb1ad de492f48 7391b7cc 8e31cae5
634a7cca 0abf71f1 997e4c30 0f8f1803 5357c926 dcd07c47 2b3daae3 7e084194 6a00fe4e 35568dcf 13a09996 8992cf75 e5152c10 1d8bf432 199ad836 981f66d8
bd4dd6a2 f8260fbc 8bbb5e3c f0afc55f 78d3746e d673f4d9 6309e79d 1a1b26bf 14138472
: [ 3][t 3][1684228719.220943927][ConfigManager.cpp:606][#1][!Recoverer][&config_recoverer] On connecting true
: [ 3][t 3][1684228719.221221208][ConfigManager.cpp:790][#1][!Recoverer][&config_recoverer] Failed to connect for 0.000002 seconds
: [ 3][t 3][1684228719.221329927][ConfigManager.cpp:864][#1][!Recoverer][&config_recoverer] Wakeup in 20.0s
: [ 3][t 3][1684228719.221409082][Td.cpp:3996][#1][!Td][&td_requests]   Sending update: UpdateConnectionState {
  state = ConnectionStateConnecting {
  }
}
: [ 3][t 0][1684228719.221528053][Client.cpp:293][&td_requests]End to wait for updates, returning object 0 0x7fd7d8444620
: [ 3][t 0][1684228719.221603155][Client.cpp:280][&td_requests]Begin to wait for updates with timeout 0.000000
: [ 3][t 0][1684228719.221679210][Client.cpp:293][&td_requests]End to wait for updates, returning object 0 (nil)
: [ 3][t 0][1684228719.221781015][Client.cpp:280][&td_requests]Begin to wait for updates with timeout 2.000000
: [ 3][t 3][1684228719.627008199][RawConnection.cpp:93][#1][!PingActor<Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]>]  Send handshake packet:
00000000 00000000 00000001 00000000 00000030 be7e8ef1 5f8188f1 aaedd032 07f6e8b6 3b5722d6 49366c51 dcf0444f 951399d6 7dd525e9 ded9ff9c 2d393720
daea61a6
: [ 3][t 3][1684228719.756090879][ConnectionCreator.cpp:952][#1][!PingActor<Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]>][&connections]   Ready connection (checked) 0x7fd7d8198280 [rtt:128.8ms] Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]
: [ 3][t 3][1684228719.756418228][ConnectionCreator.cpp:1005][#1][!ConnectionCreator][&connections] Add ready connection 0x7fd7d8198280 for [client:0xe92c41ac]
: [ 3][t 3][1684228719.756510019][ConnectionCreator.cpp:816][#1][!ConnectionCreator][&connections]  In client_loop: [client:0xe92c41ac]
: [ 3][t 3][1684228719.756627082][ConnectionCreator.cpp:832][#1][!ConnectionCreator][&connections]  Send to promise [connection:0x7fd7d8198280]
: [ 3][t 3][1684228719.756732940][Session.cpp:1294][#1][!Session:5:main]    Finished to open connection Session:5:main::Connect::TCP::Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]
: [ 3][t 3][1684228719.756855249][NetQuery.cpp:27][#1][!Session:5:main][&net_query] [Query:[id:1703936][tl:0x03173d78][state:Query]] [state:Session:5:main: send to an MTProto connection]
: [ 3][t 3][1684228719.756964206][Session.cpp:1165][#1][!Session:5:main][&net_query]    Send query to connection [Query:[id:1703936][tl:0x03173d78][state:Query]] [message_id:0x64634a94a2e0a670][invoke_after:{}]
: [ 2][t 3][1684228719.959823131][SessionConnection.cpp:330][#1][!Session:5:main]   [session_id:0x0000000000000000] [msg_id:0x64634a94a2f8467c] [seq_no:0x00000002]: MessageId is too high. Session will be closed
: [ 2][t 3][1684228719.960134029][Session.cpp:731][#1][!Session:5:main] Session failed: [Error : 0 : MessageId is too high]
: [ 2][t 3][1684228719.960247039][Session.cpp:269][#1][!SessionProxy:5:main]    Generate new session_id 9341401000340580016 for auth key 11886063380799842090 for main DC5
: [ 2][t 3][1684228719.960460186][Session.cpp:628][#1][!Session:5:main] Session connection with 1 pending requests was closed: [Error : 0 : MessageId is too high] Session:5:main::Connect::TCP::Socks5 [192.168.0.100:7890] --> [91.108.56.148:443] to DcId{5} from [192.168.0.100:58890]
levlam commented 1 year ago

I need full log from app launch as a file.

SLiGe commented 1 year ago

I need full log from app launch as a file.

I have already sent it to the tdlib_bot,the max verbosity level is 5.

levlam commented 1 year ago

The latest TDLib version should correctly recover after such errors.