mtprotoproxy icon indicating copy to clipboard operation
mtprotoproxy copied to clipboard

python proxy not work at all

Open A2116 opened this issue 3 years ago • 6 comments

python proxy does not work on any port and configuration the official work fine on the same server it prompts on service following line Unable to connect to 2001:67c:04e8:f004::a 443 also if I change from python 3.8 to python 3.6 os is centos 8.3

A2116 avatar Feb 22 '21 01:02 A2116

Same here on ubuntu 18.04

MohrezSheikh avatar Feb 22 '21 07:02 MohrezSheikh

I changed the code enjoy https://github.com/jjjan/mtprotoproxy1 halesho bebarin

jjjan avatar Feb 22 '21 08:02 jjjan

I changed the code enjoy https://github.com/jjjan/mtprotoproxy1 halesho bebarin

thanks bro damet garm agha :)

Mee1ad avatar Feb 22 '21 12:02 Mee1ad

Another option is to add PREFER_IPV6 = False to config.py

seriyps avatar Feb 22 '21 13:02 seriyps

hi, the proxy tries to use ipv6 by default if it is available.

I added one more check if ipv6 is in good condition to use it: https://github.com/alexbers/mtprotoproxy/commit/6e8e8b63b26507310bbe550d5fbd6851f598f6e1 , hope it helps

alexbers avatar Mar 02 '21 12:03 alexbers

hi @alexbers ! Same here this problem on ubuntu 18.04 LTS. I used Last version of yout code but didn't.

finally I added PREFER_IPV6 = False on top of config.py and it worked for me.

thanks

noorbala7418 avatar Jun 17 '21 15:06 noorbala7418