Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

invalid checksum! skip ERROR #492

Open
wasimjee opened this issue May 28, 2017 · 1 comment
Open

invalid checksum! skip ERROR #492

wasimjee opened this issue May 28, 2017 · 1 comment

Comments

@wasimjee
Copy link

Hello All,

I am using the update events and after recieving a message when a new message is send, the api giving the error "invalid checksum! skip" on this class "public async Task Receieve()" of the file TcpTransport.cs

Any one having the same issue

@HamidBaghernia
Copy link

HamidBaghernia commented Oct 29, 2017

Hi, I found the source of this error:
The problem is that we are sending requests in a short period of time or even together.
The worked around is that we should avoid sending requests consecutively.
Use
await Task.Delay(250);//250 is the number I used and you need to test it
between requests.
when the requests are sent together, they're sent in a single packet to Telegram server.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants