telegram-download-daemon
telegram-download-daemon copied to clipboard
How do I get the docker creation process to use a proxy?
Since I am in China, Telegram needs a proxy.
When I create it using docker, it keeps prompting me with a timeout.
I tried to modify the sock5 proxy in telegram-download-daemon.py
, but I still can't get through.
Is there anything I can do? Thanks a lot :)
Well, I have not tested this daemon with a proxy, but I think you are using a SOCKS5 proxy with an http url.
Try this:
proxy = (socks.SOCKS5, '192.168.31.218', 7890)
Check your proxy type as well. Could it be an http proxy?
Since I am in China, Telegram needs a proxy.
When I create it using docker, it keeps prompting me with a timeout.
I tried to modify the sock5 proxy in
telegram-download-daemon.py
, but I still can't get through.Is there anything I can do? Thanks a lot :)
Have you solved this problem ?
Please, check #90
Recent docker image supports proxy configuration.
thinks!