Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pending Updates After Filled Gaps Issue #300

Open
sametcekin opened this issue Nov 23, 2024 · 4 comments
Open

Pending Updates After Filled Gaps Issue #300

sametcekin opened this issue Nov 23, 2024 · 4 comments

Comments

@sametcekin
Copy link

I have a problem when I used the Client_OnUpdate method.

I have an issue when reading messages from a channel. The message has already arrived in the channel, but when I use WTelegram, I cannot see the message due to this issue:

Trying to apply 2 pending updates after filled gaps

UpdateEditChannelMessage

Trying to apply 1 pending update after filled gaps

Trying to recover gaps for 2 pending updates (2360819976, new +0->14)

TL.UpdateReadChannelInbox

First appearance of MBox

Trying to apply 2 pending updates after filled gaps

The above lines are console logs. How can I fix the filled gaps?

@sametcekin
Copy link
Author

Got Updates_State 0->3779, date=12/31/9999 11:59:59 PM->11/23/2024 9:41:18 AM, seq=0->12950
4>Receiving Updates                                  2024-11-23 09:41:41Z
(***,      0+1->15    ) TL.UpdateNewChannelMessage     pending | msgID=14
Trying to recover gaps for 1 pending updates
((***,  new  +1->15    ) TL.UpdateNewChannelMessage     First appearance of MBox | msgID=14
Trying to apply 1 pending updates after filled gaps
((***,     14+1->15    ) TL.UpdateNewChannelMessage     applied now | msgID=14
4>Receiving UpdatesTooLong                           2024-11-23 09:41:47Z

@wiz0u
Copy link
Owner

wiz0u commented Nov 24, 2024

Provide full logs of the problem.

The logs in your last message doesn't show anything wrong. The line "applied now" shows that the pending update was successfully passed to OnUpdate.

@sametcekin
Copy link
Author

Channel messageChannel messages come late. I think there's a gap. For example, in the console application that I wrote with WTelegramClient, it writes a message like 'Trying to apply 2 pending updates after filled gaps', even though the notification has been received on my other devices. When another message drops on the same channel 1 hour later, it shows both messages. I am writing the logs to WTelegram.log. Should I throw all of this. I already got this log from there.

Translated with DeepL.com (free version)s are receiving lately

@wiz0u
Copy link
Owner

wiz0u commented Dec 7, 2024

I said: Provide full logs of the problem.
(if it's too big for here, you can use pastebin or something... and don't forget to give me the timestamps I should particularly look at)

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

No branches or pull requests

2 participants