MTProxy icon indicating copy to clipboard operation
MTProxy copied to clipboard

Telegram client not connect to proxy server!!

Open ghost opened this issue 6 years ago • 7 comments

2018-06-04_17-35-16

I think there isn't any error, but telegram clients cant connect to my server, 443 port is open.

what's problem??!

ghost avatar Jun 04 '18 13:06 ghost

Same error here, proxy works successfully until today

prudnitskiy avatar Jun 05 '18 09:06 prudnitskiy

me too

rizpardazan avatar Jun 05 '18 09:06 rizpardazan

I had the same problem, sometimes it was working, other times it wasn't, kind of instability. I created a service by /p1ratrulezzz/MTProxy-1 instructions. After starting the service (or just by running mtproto-proxy [options]), I could connect to proxy but it's rarely successful. Also several times I experienced that after connecting to the proxy successfully, it will be disconnected quickly. I don't know it is a bug or what else.

However when I changed the port from 443 to 8081, now it works perfectly so far. So just changing the port number is enough I guess. For completeness, all options I've set: -u nobody -p 8888 -H 8081 -S <secret> --aes-pwd proxy-secret proxy-multi.conf -M 0 --address <server-ip-address> --cpu-threads 1 --max-accept-rate 10 -C 1000 --ipv6 --allow-skip-dh

VahidPY avatar Jun 05 '18 11:06 VahidPY

@VahidPY these options does not work on docker.

btw, I found out even though I change the port on docker command, it still uses 443 docker run -d -p8081:8081 --name=mtproto-proxy --restart=always -v proxy-config:/data telegrammessenger/proxy:latest

hadifarnoud avatar Jun 08 '18 07:06 hadifarnoud

@hadifarnoud -p is for the web interface, -H is for proxy

stek29 avatar Jun 09 '18 12:06 stek29

Pls. check netstat -an

iqdoctor avatar Jul 17 '18 16:07 iqdoctor

same issue here

armagg avatar Mar 09 '22 14:03 armagg