peter-iakovlev / Telegram

Telegram Messenger for iOS
3.22k stars 858 forks source link

Bug for socks5 proxy in the newest version #192

Open ihciah opened 6 years ago

ihciah commented 6 years ago

After updating to the newest version of telegram on iOS, the proxy function goes wrong sometimes.

For example, open the app first, set a socks5 proxy in telegram, then exit by click the home button. After that, open any other apps to let the system kill background telegram app. Open telegram again, it will only connect to server directly. Now click Settings - Data and Storage, you can see "Use Proxy None" on the bottom of the screen, which should be "Use Proxy SOCKS5". If you click the proxy setting now, another strange thing happens. It will auto fill the previous SOCKS5 proxy settings instead of showing "None".

By the way, socks proxy works fine in previous versions.

t123yh commented 6 years ago

+1 I can confirm this.

alihardboy commented 6 years ago

Tttttttttt

yknext commented 6 years ago

I also have this problem, in addition I think telegram can add socks5-tls like encryption scheme, because isp and gov can get socks5 password or block the connection

rlad2333 commented 6 years ago

iPhone 7p iOS 11 Confirm this

thedix commented 6 years ago

I can confirm this bug on the latest iphone version. After restarting application or some other reason "Use proxy" shows "None" instead of "SOCKS5". After re-applying link "tg://socks" or saving proxy setting everything works fine until application restart. Could you consider fixing this? Russian users really want this bug to be fixed.

JiffsMaverick commented 6 years ago

I can confirm this.

iPhone 6 iOS 11.3.1 Telegram 4.8.1

pavelicii commented 6 years ago

Confirm.

Telegram 4.8.1 iPhone 5S iOS 11.3.1

UPD: For me problem is gone in 4.8.2.

gudoff commented 6 years ago

Confirm this. Iphone X, iOS 11.3.1

Steps to reproduce:

  1. Set the proxy settings via link (tg://socks?server=server&port=port&user=user&pass=pass). If the proxy settings manually added - this bug will not reproduced
  2. Turn your phone to the sleep mode
  3. Wait 15 minutes
  4. You can see "User proxy NONE"
pluckhuang commented 6 years ago

Confirm.

iPhone 5s iOS 11.4 proxy setting: 127.0.0.1:1080, connected, 0 ms ping app version: 4.8.2