mtg icon indicating copy to clipboard operation
mtg copied to clipboard

iOS Telegram with mtg stuck while loading images or files.

Open hshh opened this issue 3 years ago • 10 comments

I am running git mtg v2. Compared to android telegram, the iOS/iPhone Telegram with mtg is much slower while loading attachments such as images or files. It always keep stuck on loading.

According to the mtg server network traffic monitor, while loading lots of images, there is 100Mbps+ inbound, and 20Mbps outbound, that is not network problem.

hshh avatar Sep 01 '22 19:09 hshh

I know :(

https://github.com/9seconds/mtg/issues/274 https://github.com/9seconds/mtg/issues/270

Can't figure out what is happening. mtg sends a request and telegram replies so long

9seconds avatar Sep 08 '22 09:09 9seconds

Same problem on iOS, but if in the VPN proxy (such as shadowsocks) works perfectly...

Odinman avatar Sep 14 '22 03:09 Odinman

This is because nowadays Telegram uses CDNs to deliver media content: https://core.telegram.org/cdn So, if CDN is available, then content will be delivered fine. Unfortunately, Telegram ignores such CDNs on using MTPROTO proxies and fallbacks to old-fashioned mode of getting results from media cluster that is very overloaded

9seconds avatar Sep 15 '22 08:09 9seconds

This is because nowadays Telegram uses CDNs to deliver media content: https://core.telegram.org/cdn So, if CDN is available, then content will be delivered fine. Unfortunately, Telegram ignores such CDNs on using MTPROTO proxies and fallbacks to old-fashioned mode of getting results from media cluster that is very overloaded

Makes sense, they'll fix this, right?

Odinman avatar Sep 18 '22 04:09 Odinman

I hope so

9seconds avatar Sep 19 '22 13:09 9seconds

This is entirely the responsibility of telegram app, change to use nicegram will not have this problem at all

cod1ingcoding avatar Sep 23 '22 02:09 cod1ingcoding

@9seconds Interesting that images and videos load properly in iOS telegram app connecting with MTProto protocol via https://github.com/TelegramMessenger/MTProxy installed on same server. Switching to mtg makes images and videos stuck on loading

hondaspb avatar Oct 29 '22 11:10 hondaspb

I hope so

I don't think they will fix it because the offical version MTPROTO don't have this problem.

CCCAUCHY avatar Nov 02 '22 05:11 CCCAUCHY

So, are there any plans to fix this problem? as the official TelegramMessenger/MTProxy seems to be fine without stuck in IOS.

Crownzhu avatar Dec 11 '22 16:12 Crownzhu

@Crownzhu This is because they work with middle proxies. If you want, you can try with v1 of mtg, it supports adtag, thus gonna work with middle proxies and have no such issues at all.

9seconds avatar Dec 13 '22 20:12 9seconds