HirbodBehnam / MTProtoProxyInstaller

One-click script to install MTProto Proxy server on CentOS, Ubuntu and Debian
MIT License
824 stars 166 forks source link

Different address from Bot vs Script #41

Closed SajjadKharrazi closed 3 years ago

SajjadKharrazi commented 3 years ago

hi

I run script well and i receive my address. so when I try this address everything is well and I can connect to server without any problem.

but when I use @MTProxybot for create AD Tag, it will response to me like this:

Success!
Your proxy has been successfully registered. You can now pass this proxy tag to the software you are using: XXXXXXXXXXX.
Here is a link to your proxy server: https://t.me/proxy?server=XXX.XXX.XXX.XXX&port=443&secret=XXXXXXXX
And here is a direct link for those who have the Telegram app installed: tg://proxy?server= XXX.XXX.XXX.XXX&port=443&secret= XXXXXXXX

when I try to connect to my proxy with bot link, it can not connect and say: Unavailable

so my questions is:

after 24 hours, telegram does not show my sponsor channel, so I think there is a problem in these urls

HirbodBehnam commented 3 years ago

We had a chat in Telegram. Apparently, Iran actively blocks the legacy versions of MTProtoProxy (the ones with 32 character secrets). Changing to TLS version fixed the problem.