How to handle Channel difference too long error. #969
Unanswered
Thankgod20
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to know a way around on how to handle these errors when listening to updates from telegram server. These error usually occurs after some period of time.
ERROR gap.channel updates/state_channel.go:323 get channel difference error {"channel_id": 1676769482, "error": "get channel difference: rpcDoRequest: engine was closed", "errorVerbose": "get channel difference:\n github.com/gotd/td/telegram/updates.(*channelState).getDifference\n /Users/macintoshhd/go/pkg/mod/github.com/gotd/[email protected]/telegram/updates/state_channel.go:243\n - rpcDoRequest:\n github.com/gotd/td/internal/mtproto.(*Conn).Invoke\n /Users/macintoshhd/go/pkg/mod/github.com/gotd/[email protected]/internal/mtproto/rpc.go:44\n - engine was closed:\n github.com/gotd/td/internal/rpc.init\n /Users/macintoshhd/go/pkg/mod/github.com/gotd/[email protected]/internal/rpc/errors.go:26"}
Below is the code i use to try and reset the entire process when the error rises but don t seem to work
`
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions