TelegramMessenger / TelegramMessenger/Telegram-iOS

Connect to MTProto proxy via domain name stalled

Open
#63 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce

Setup your own domain to point to a address with mtproxy installed server
Add mtproto proxy using this domain name + secret
Try connecting

Expected behaviour

Connected via mtproto proxy

Actual behaviour

We see "connecting" about 10 seconds and then become available with xxx ms. Though replacement the domain name with its ip address directly works properly. Tried with many domains to MTP proxies, and got the same result.

Configuration

iOS 12.3.1 with Telegram 5.7 from App Store/TestFlight

Please refer to https://github.com/telegramdesktop/tdesktop/issues/4695

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files, tests, or entry points. Start by reproducing the connection using a domain name and an IP address on the stated iOS and Telegram versions, then trace the MTProto proxy connection path. Done means domain-based proxy connections work without the reported delay or stalled state.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.