Closed Aplear closed 6 years ago
Sync your date.
Make sure it's precise to the millisecond
I use this lib for web/api to get message.history on local machine it's okey and when try on server have no result, only this list - up
synchronised to NTP server (213...*) at stratum 2 time correct to within 20 ms polling server every 1024 s
untill no results
Send me the new logs after syncing the time
Logger, serhii_zakharchuk: MadelineProto Logger, serhii_zakharchuk: Copyright (C) 2016-2018 Daniil Gentili Logger, serhii_zakharchuk: Licensed under AGPLv3 Logger, serhii_zakharchuk: https://github.com/danog/MadelineProto MTProto, serhii_zakharchuk: Serialization is out of date, reconstructing object! TL, serhii_zakharchuk: Loading TL schemes... TL, serhii_zakharchuk: Parsing TL_mtproto_v1.json... TL, serhii_zakharchuk: Parsing TL_telegram_v82.tl... TL, serhii_zakharchuk: CRC32 mismatch (402d9b47, 37982646) for ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; TL, serhii_zakharchuk: CRC32 mismatch (020634ce, 4679b65f) for accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector
that's my result now
You should stop the yii lib from sending headers
Now I get this - all result in HTML response header not JSON
Logger, serhii_zakharchuk: MadelineProto Logger, serhii_zakharchuk: Copyright (C) 2016-2018 Daniil Gentili Logger, serhii_zakharchuk: Licensed under AGPLv3 Logger, serhii_zakharchuk: https://github.com/danog/MadelineProto MTProto, serhii_zakharchuk: Serialization is out of date, reconstructing object! TL, serhii_zakharchuk: Loading TL schemes... TL, serhii_zakharchuk: Parsing TL_mtproto_v1.json... TL, serhii_zakharchuk: Parsing TL_telegram_v82.tl... TL, serhii_zakharchuk: CRC32 mismatch (402d9b47, 37982646) for ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; TL, serhii_zakharchuk: CRC32 mismatch (020634ce, 4679b65f) for accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector
These are the logs, to disable them check the appropriate setting. https://docs.madelineproto.xyz/docs/LOGGING.html
Actually do NOT disable them, just send them to a file
Please help to resolve this,
how to fix this? On local machine works good but on host is error - can not get json response Just print this
Logger, serhii_zakharchuk: MadelineProto Logger, serhii_zakharchuk: Copyright (C) 2016-2018 Daniil Gentili Logger, serhii_zakharchuk: Licensed under AGPLv3 Logger, serhii_zakharchuk: https://github.com/danog/MadelineProto MTProto, serhii_zakharchuk: Serialization is out of date, reconstructing object! TL, serhii_zakharchuk: Loading TL schemes... TL, serhii_zakharchuk: Parsing TL_mtproto_v1.json... TL, serhii_zakharchuk: Parsing TL_telegram_v82.tl... TL, serhii_zakharchuk: CRC32 mismatch (402d9b47, 37982646) for ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; TL, serhii_zakharchuk: CRC32 mismatch (020634ce, 4679b65f) for accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector