You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
Describe the bug
I seem to get a long list of "Not found predicate with id: ..." logs which results in:
RangeError: Offset is outside the bounds of the DataView at DataView.getInt32 (<anonymous>) at Deserializer.int32 (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:25:33) at Deserializer.predicate (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:112:21) at Deserializer.vector (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:89:22) at module.exports (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\parser\index.js:1203:21) at Deserializer.predicate (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\tl\deserializer\index.js:121:15) at RPC.handleEncryptedMessage (C:\Projects\vouches-to-sql\node_modules\@mtproto\core\src\rpc\index.js:449:38) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Code example
I am using your guide "User Authorization" example. When authorised (which works fine) after a couple of seconds this error occurs.
authoriseUser():
Context:
Library version: 6.2.0
Node version: v20.5.1
Additional context
This issue or bug did not occur a few weeks ago with the same code so perhaps it's a change on Telegrams side?