MadelineProto 8.0.0-beta144
Copyright (C) 2016-2023 Daniil Gentili
Licensed under AGPLv3
https://github.com/danog/MadelineProto
The database settings have changed!
Loading TL schemes...
Parsing TL_telegram_v161.tl...
Translating objects...
Translating methods...
Parsing TL_mtproto_v1.tl...
Translating objects...
Translating methods...
Parsing TL_secret.tl...
Translating objects...
Translating methods...
The serialization settings have changed!
Loading TL schemes...
Parsing TL_telegram_v161.tl...
Translating objects...
Translating methods...
Parsing TL_mtproto_v1.tl...
Translating objects...
Translating methods...
Parsing TL_secret.tl...
Translating objects...
Translating methods...
Acquiring connect lock for 2 -1!
Connecting to DC 2 from scratch
Trying shared connection via tcp://149.154.167.51:443 main DC 2, via ipv4 using AbridgedStream => BufferedRawStream => DefaultStream (-1)
Connecting to DC 2.0
Resetting session in DC 2.0...
Connected to DC 2.0!
Restoring 0 messages to DC 2
OK, connected to DC 2!
Initing auth in DC 2 due to call to help.getConfig pending!
Acquiring lock in order to init auth for DC 2
Initing auth for DC 2
Generating permanent authorization key for DC 2...
Requesting pq...
Initing auth in DC 2 due to call to help.getConfig pending!
Acquiring lock in order to init auth for DC 2
About to write in write loop in DC 2.0 unencrypted
Sending req_pq_multi pending as unencrypted message to DC 2.0
Sent req_pq_multi pending as unencrypted message to DC 2.0!
Wrote in write loop in DC 2.0
No messages, pausing in write loop in DC 2.0...
Reading in read loop in DC 2.0...
Garbage collected 0 outgoing messages in DC 2, 1 left
Waiting for temp key in Ping loop in DC 2.0
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received resPQ from DC 2
Trying to assign a response of type ResPQ to its request...
Does the request of return type ResPQ match?
Yes
Factorizing with native_single_cpp (please wait, might take a while)
Factorization 1744097165867389561 = 1319259043 * 1322027827
Starting Diffie Hellman key exchange
About to write in write loop in DC 2.0 unencrypted
Sending req_DH_params pending as unencrypted message to DC 2.0
Sent req_DH_params pending as unencrypted message to DC 2.0!
Wrote in write loop in DC 2.0
No messages, pausing in write loop in DC 2.0...
Reading in read loop in DC 2.0...
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received server_DH_params_ok from DC 2
Trying to assign a response of type Server_DH_Params to its request...
Does the request of return type Server_DH_Params match?
Yes
Server-client time delta = 0.0 s
Executing p/g checks (1/2)...
Executing p/g checks (2/2)...
Executing g check...
Executing g_a check (1/2)...
Executing g_a check (2/2)...
Generating b...
Generating g_b...
Executing g_a check (1/2)...
Executing g_a check (2/2)...
Executing g_b check...
Preparing client_DH_inner_data...
Executing set_client_DH_params...
About to write in write loop in DC 2.0 unencrypted
Sending set_client_DH_params pending as unencrypted message to DC 2.0
Sent set_client_DH_params pending as unencrypted message to DC 2.0!
Wrote in write loop in DC 2.0
No messages, pausing in write loop in DC 2.0...
Reading in read loop in DC 2.0...
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received dh_gen_ok from DC 2
Trying to assign a response of type Set_client_DH_params_answer to its request...
Does the request of return type Set_client_DH_params_answer match?
Yes
Generating authorization key...
Diffie Hellman key exchange processed successfully!
Auth key generated
Generating temporary authorization key for DC 2...
Requesting pq...
About to write in write loop in DC 2.0 unencrypted
Sending req_pq_multi pending as unencrypted message to DC 2.0
Sent req_pq_multi pending as unencrypted message to DC 2.0!
Wrote in write loop in DC 2.0
No messages, pausing in write loop in DC 2.0...
Reading in read loop in DC 2.0...
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received resPQ from DC 2
Trying to assign a response of type ResPQ to its request...
Does the request of return type ResPQ match?
Yes
Factorizing with native_single_cpp (please wait, might take a while)
Factorization 1961250370019225203 = 1243172297 * 1577617499
Starting Diffie Hellman key exchange
About to write in write loop in DC 2.0 unencrypted
Sending req_DH_params pending as unencrypted message to DC 2.0
Sent req_DH_params pending as unencrypted message to DC 2.0!
Wrote in write loop in DC 2.0
No messages, pausing in write loop in DC 2.0...
Reading in read loop in DC 2.0...
gc_collect_cycles done. Cleaned memory: 0 Mb
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received server_DH_params_ok from DC 2
Trying to assign a response of type Server_DH_Params to its request...
Does the request of return type Server_DH_Params match?
Yes
Server-client time delta = 0.0 s
Executing p/g checks (1/2)...
Executing p/g checks (2/2)...
Executing g check...
Executing g_a check (1/2)...
Executing g_a check (2/2)...
Generating b...
Generating g_b...
Executing g_a check (1/2)...
Executing g_a check (2/2)...
Executing g_b check...
Preparing client_DH_inner_data...
Executing set_client_DH_params...
About to write in write loop in DC 2.0 unencrypted
Sending set_client_DH_params pending as unencrypted message to DC 2.0
Sent set_client_DH_params pending as unencrypted message to DC 2.0!
Wrote in write loop in DC 2.0
No messages, pausing in write loop in DC 2.0...
Reading in read loop in DC 2.0...
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received dh_gen_ok from DC 2
Trying to assign a response of type Set_client_DH_params_answer to its request...
Does the request of return type Set_client_DH_params_answer match?
Yes
Generating authorization key...
Diffie Hellman key exchange processed successfully!
Auth key generated
Binding authorization keys...
About to write in write loop in DC 2.0 encrypted
Sending auth.bindTempAuthKey with message ID 7279405976816981752 pending as encrypted message to DC 2.0
Adding msgs_ack
Wrapping in msg_container (2 messages of total size 164) as encrypted message for DC 2.0
Sent encrypted payload to DC 2.0
Wrote in write loop in DC 2.0
No messages, pausing in write loop in DC 2.0...
Reading in read loop in DC 2.0...
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received msg_container from DC 2
Given message id (7279405978727961601) is bigger than or equal to the current limit (7279405978727957505). Please sync your date using NTP.
Inside of container, received new_session_created from DC 2
Inside of container, received msgs_ack from DC 2
Reading in read loop in DC 2.0...
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received rpc_result from DC 2
Bound temporary and permanent authorization keys, DC 2
About to write in write loop in DC 2.0 encrypted
Sending help.getConfig pending as encrypted message to DC 2.0
Writing client info (also executing help.getConfig)...
Adding msgs_ack
Wrapping in msg_container (2 messages of total size 112) as encrypted message for DC 2.0
Sent encrypted payload to DC 2.0
Wrote in write loop in DC 2.0
No messages, pausing in write loop in DC 2.0...
Reading in read loop in DC 2.0...
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received rpc_result from DC 2
Flushing pending messages, DC 2
Initing auth for DC 2
About to write in write loop in DC 2.0 encrypted
Sending help.getConfig pending as encrypted message to DC 2.0
Sending help.getConfig pending as encrypted message to DC 2.0
Adding msgs_ack
Wrapping in msg_container (3 messages of total size 72) as encrypted message for DC 2.0
Sent encrypted payload to DC 2.0
Wrote in write loop in DC 2.0
No messages, pausing in write loop in DC 2.0...
Ping DC 2.0
Reading in read loop in DC 2.0...
About to write in write loop in DC 2.0 encrypted
Sending ping_delay_disconnect pending as encrypted message to DC 2.0
Sent encrypted payload to DC 2.0
Wrote in write loop in DC 2.0
No messages, pausing in write loop in DC 2.0...
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received msg_container from DC 2
Given message id (7279405979901863937) is bigger than or equal to the current limit (7279405979901860865). Please sync your date using NTP.
Inside of container, received pong from DC 2
Inside of container, received msgs_ack from DC 2
Reading in read loop in DC 2.0...
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received rpc_result from DC 2
Updated config!
Reading in read loop in DC 2.0...
Received payload from DC 2.0
Finished reading in read loop in DC 2.0!
Received rpc_result from DC 2
Updated config!
Starting update system
MadelineProto is ready!
Acquiring connect lock for 4 -1!
Connecting to DC 4 from scratch
Trying shared connection via tcp://149.154.167.91:443 main DC 4, via ipv4 using AbridgedStream => BufferedRawStream => DefaultStream (-1)
Connecting to DC 4.0
Resetting session in DC 4.0...
Reading in read loop in DC 2.0...
Connected to DC 4.0!
Restoring 0 messages to DC 4
OK, connected to DC 4!
Initing auth in DC 4 due to call to auth.exportLoginToken pending!
Acquiring lock in order to init auth for DC 4
Initing auth for DC 4
Generating permanent authorization key for DC 4...
Requesting pq...
About to write in write loop in DC 4.0 unencrypted
Sending req_pq_multi pending as unencrypted message to DC 4.0
Sent req_pq_multi pending as unencrypted message to DC 4.0!
Wrote in write loop in DC 4.0
No messages, pausing in write loop in DC 4.0...
Reading in read loop in DC 4.0...
Garbage collected 0 outgoing messages in DC 4, 1 left
Waiting for temp key in Ping loop in DC 4.0
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received resPQ from DC 4
Trying to assign a response of type ResPQ to its request...
Does the request of return type ResPQ match?
Yes
Factorizing with native_single_cpp (please wait, might take a while)
Factorization 2112602692585147409 = 1358210449 * 1555431041
Starting Diffie Hellman key exchange
About to write in write loop in DC 4.0 unencrypted
Sending req_DH_params pending as unencrypted message to DC 4.0
Sent req_DH_params pending as unencrypted message to DC 4.0!
Wrote in write loop in DC 4.0
No messages, pausing in write loop in DC 4.0...
Reading in read loop in DC 4.0...
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received server_DH_params_ok from DC 4
Trying to assign a response of type Server_DH_Params to its request...
Does the request of return type Server_DH_Params match?
Yes
Server-client time delta = 0.0 s
Executing p/g checks (1/2)...
Executing p/g checks (2/2)...
Executing g check...
Executing g_a check (1/2)...
Executing g_a check (2/2)...
Generating b...
Generating g_b...
Executing g_a check (1/2)...
Executing g_a check (2/2)...
Executing g_b check...
Preparing client_DH_inner_data...
Executing set_client_DH_params...
About to write in write loop in DC 4.0 unencrypted
Sending set_client_DH_params pending as unencrypted message to DC 4.0
Sent set_client_DH_params pending as unencrypted message to DC 4.0!
Wrote in write loop in DC 4.0
No messages, pausing in write loop in DC 4.0...
Reading in read loop in DC 4.0...
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received dh_gen_ok from DC 4
Trying to assign a response of type Set_client_DH_params_answer to its request...
Does the request of return type Set_client_DH_params_answer match?
Yes
Generating authorization key...
Diffie Hellman key exchange processed successfully!
Auth key generated
Generating temporary authorization key for DC 4...
Requesting pq...
About to write in write loop in DC 4.0 unencrypted
Sending req_pq_multi pending as unencrypted message to DC 4.0
Sent req_pq_multi pending as unencrypted message to DC 4.0!
Wrote in write loop in DC 4.0
No messages, pausing in write loop in DC 4.0...
Reading in read loop in DC 4.0...
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received resPQ from DC 4
Trying to assign a response of type ResPQ to its request...
Does the request of return type ResPQ match?
Yes
Factorizing with native_single_cpp (please wait, might take a while)
Factorization 1923415759406534707 = 1178905379 * 1631526833
Starting Diffie Hellman key exchange
About to write in write loop in DC 4.0 unencrypted
Sending req_DH_params pending as unencrypted message to DC 4.0
Sent req_DH_params pending as unencrypted message to DC 4.0!
Wrote in write loop in DC 4.0
No messages, pausing in write loop in DC 4.0...
Reading in read loop in DC 4.0...
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received server_DH_params_ok from DC 4
Trying to assign a response of type Server_DH_Params to its request...
Does the request of return type Server_DH_Params match?
Yes
Server-client time delta = 0.0 s
Executing p/g checks (1/2)...
Executing p/g checks (2/2)...
Executing g check...
Executing g_a check (1/2)...
Executing g_a check (2/2)...
Generating b...
Generating g_b...
Executing g_a check (1/2)...
Executing g_a check (2/2)...
Executing g_b check...
Preparing client_DH_inner_data...
Executing set_client_DH_params...
About to write in write loop in DC 4.0 unencrypted
Sending set_client_DH_params pending as unencrypted message to DC 4.0
Sent set_client_DH_params pending as unencrypted message to DC 4.0!
Wrote in write loop in DC 4.0
No messages, pausing in write loop in DC 4.0...
Reading in read loop in DC 4.0...
Garbage collected 16 incoming messages in DC 2, 0 left
Garbage collected 14 outgoing messages in DC 2, 0 left
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received dh_gen_ok from DC 4
Trying to assign a response of type Set_client_DH_params_answer to its request...
Does the request of return type Set_client_DH_params_answer match?
Yes
Generating authorization key...
Diffie Hellman key exchange processed successfully!
Auth key generated
Binding authorization keys...
About to write in write loop in DC 4.0 encrypted
Sending auth.bindTempAuthKey with message ID 7279405985407063832 pending as encrypted message to DC 4.0
Adding msgs_ack
Wrapping in msg_container (2 messages of total size 164) as encrypted message for DC 4.0
Sent encrypted payload to DC 4.0
Wrote in write loop in DC 4.0
No messages, pausing in write loop in DC 4.0...
Reading in read loop in DC 4.0...
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received msg_container from DC 4
Given message id (7279405988052977665) is bigger than or equal to the current limit (7279405988052945921). Please sync your date using NTP.
Inside of container, received new_session_created from DC 4
Inside of container, received msgs_ack from DC 4
Reading in read loop in DC 4.0...
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received rpc_result from DC 4
Bound temporary and permanent authorization keys, DC 4
About to write in write loop in DC 4.0 encrypted
Sending help.getConfig pending as encrypted message to DC 4.0
Writing client info (also executing help.getConfig)...
Adding msgs_ack
Wrapping in msg_container (2 messages of total size 112) as encrypted message for DC 4.0
Sent encrypted payload to DC 4.0
Wrote in write loop in DC 4.0
No messages, pausing in write loop in DC 4.0...
Reading in read loop in DC 4.0...
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received rpc_result from DC 4
Flushing pending messages, DC 4
About to write in write loop in DC 4.0 encrypted
Sending auth.exportLoginToken pending as encrypted message to DC 4.0
Adding msgs_ack
Wrapping in msg_container (2 messages of total size 84) as encrypted message for DC 4.0
Sent encrypted payload to DC 4.0
Wrote in write loop in DC 4.0
No messages, pausing in write loop in DC 4.0...
Ping DC 4.0
Reading in read loop in DC 4.0...
About to write in write loop in DC 4.0 encrypted
Sending ping_delay_disconnect pending as encrypted message to DC 4.0
Sent encrypted payload to DC 4.0
Wrote in write loop in DC 4.0
No messages, pausing in write loop in DC 4.0...
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received msg_container from DC 4
Given message id (7279405988580504577) is bigger than or equal to the current limit (7279405988580502529). Please sync your date using NTP.
Inside of container, received pong from DC 4
Inside of container, received msgs_ack from DC 4
Reading in read loop in DC 4.0...
Received payload from DC 4.0
Finished reading in read loop in DC 4.0!
Received rpc_result from DC 4


OK JIT TEST

Prompting final serialization (SHUTDOWN)...
Waiting for exclusive lock of /tmp/aaa.madeline/safe.php.lock...
Got exclusive lock of /tmp/aaa.madeline/safe.php.lock...
Reading in read loop in DC 4.0...
Waiting for exclusive lock of /tmp/aaa.madeline/lightState.php.lock...
Got exclusive lock of /tmp/aaa.madeline/lightState.php.lock...
Saved session!
Done final serialization (SHUTDOWN)!
Shutting down MadelineProto (MTProto)
Will unreference instance
Disconnecting from shared DC 2
Disconnecting from DC 2.0
Backed up  from DC 2.0
Disconnected from DC 2.0
Backed up 0, added to 0 existing messages) from DC 2
Disconnecting from shared DC 4
Disconnecting from DC 4.0
Backed up  from DC 4.0
Disconnected from DC 4.0
Backed up 0, added to 0 existing messages) from DC 4
Unreferenced instance
Successfully destroyed MadelineProto
