telegram-upload
telegram-upload copied to clipboard
Ipv6 support
It's just a question about it.
I am using a VPS with only Ipv6 there is a support or only to ipv4 networks ?
It should probably work fine. If it doesn't work let me know.
It should probably work fine. If it doesn't work let me know.
I already tried without success using only ipv6 here, only worked when I made a tunnel between another host with both ipv4/ipv6 and then set as default route to ipv4 to have telegram-upload working.
With just the ipv6 network I got this:
telegram-upload -d *.mp4 --to $VIDEO
Attempt 1 at connecting failed: OSError: [Errno 101] Network is unreachable
Attempt 2 at connecting failed: OSError: [Errno 101] Network is unreachable
Attempt 3 at connecting failed: OSError: [Errno 101] Network is unreachable
Attempt 4 at connecting failed: OSError: [Errno 101] Network is unreachable
Attempt 5 at connecting failed: OSError: [Errno 101] Network is unreachable
Attempt 6 at connecting failed: OSError: [Errno 101] Network is unreachable
Traceback (most recent call last):
File "/usr/local/bin/telegram-upload", line 8, in
I'm afraid it's hard for me to test... I don't have ipv6 at home and my server isn't ipv6 enabled either. At the moment it is not possible for me to solve it.
I might know the answer, when creating telethon client, a pram use_ipv6
can be set to true to use ipv6 to communicate to the TG server. So, you can simply add this to your telegram-upload.json in your ~/.config
or where you save your config file, I think this can be added to the first time auth.