Comments (6)
Hi there. Thanks for the report. Do you know how to reproduce it?
from telegram-tt.
[ERROR] - [Unhandled error while receiving data] [ERROR] - [Error: Could not find a matching Constructor ID for the TLObject that was supposed to be read with ID 253890367. Most likely, a TLObject was trying to be read when it should not be read. Remaining bytes: 480]
This error needs to be handled, because it can cause very serious problems in some places (e.g. chat list or message history not being loaded).
Fun fact: this error also often happens in Telethon, which GramJS is based on.
ID 253890367(which is f220f3f in hex) belongs to https://core.telegram.org/constructor/userFull in layer 105. Telegram sometimes returns data for the wrong layer and there isn't much we can do about since we don't save all past layers only the most recent one.
from telegram-tt.
Do you know how to reproduce it?
@Ajaxy no, it just happens randomly. I couldn't find any way to reproduce it.
ID 253890367(which is f220f3f in hex) belongs to userFull in layer 105.
@painor This error can happen with any constructor, not just this one.
Telegram sometimes returns data for the wrong layer and there isn't much we can do about
Yep, that's why it's necessary to catch this type of error and handle it somehow. Right now it can render the app unusable.
from telegram-tt.
Right now it can render the app unusable.
What does exactly happen? Do you have a screenshot?
from telegram-tt.
For example, this error may cause infinite archived chats loading:
The only way to open archived chats in that case is to reload the page.
from telegram-tt.
Fixed in cf2db92.
from telegram-tt.
Related Issues (20)
- Issue with StickerPicker CustomEmojiPicker - incorrect width for max-width: 600px (for max-width: 440px is okay)
- Issue with Black screen after CMD + W on MacOS in Electron HOT 3
- decentralized access points to access the web version of telegram?
- bug(ui): white stripe under the message HOT 1
- 10.3.0 Release Failed in GitHub Action HOT 1
- Replace Media [Feature Request]
- Please share codeStyleSettings.xml HOT 2
- Copy link error HOT 1
- FIrefox. Dialogue history is not reflected HOT 2
- Implications of using api secrets in a public environment?
- Inline keyboard on web telegram app gets stuck HOT 2
- [Mini Apps] Add more or custom params to allow on the iframe of the twa HOT 1
- ZWJ emojis are shown in two graphemes rather than one
- Insufficient support for supergroups and corresponding groups integration
- Complete lack of support for disappearing media?
- Reply: Добавить возможность отвечать в другом чате
- Archived groups with subgroups broken HOT 3
- open chat thread by username
- Cancel Reply
- when you press the erase button and there are no characters in the input field, an error occurs, you need to add a check for 0 characters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram-tt.