question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

couldn't force ipv4

See original GitHub issue

I couldn’t find a way to “–force-ipv4” when I’m creating an ytdl player, I tried lot’s of things but when I looked for it on YoutubeDL.py I couldn’t find a term to force it on dict, is it possible to --force-ipv4?

my youtube-dl is really slow when I start downloading something, when I looked up using “youtube-dl --force-ipv4 url” worked really well, but when I tried it on my code I just couldn’t This was my last attempt: player[i] = await chVoice[i].create_ytdl_player(url,ytdl_options={"force_ipv4":True})

ps.: I already tried to put the force as default config and it worked by cmd, not on my code tho

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
khazhykcommented, Aug 1, 2017

(It’s not actually intuitive)

1reaction
khazhykcommented, Aug 1, 2017

Looking at the source for --force-ipv4, you want to set {“source_address”: “0.0.0.0”}, which is super intuitive

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting to force IPv4/disable IPv6 #2025 - hexchat ... - GitHub
I feel the lack of a way to force HexChat to connect via IPv4 only, maybe on a per-server basis, possibly via a...
Read more >
SSH connection unable to try IPv4 if IPv6 fails - Duplicati forum
I ran across a puzzling problem when using an SSH storage connection. It appears that if the destination server has both IPv6 and...
Read more >
Windows 10 PC suddenly won't talk to server using IPv4
Suddenly last week the desktop PC stopped talking to the server over IPv4. It will still use IPv6 but when I try ping...
Read more >
VPN, Connection issues when connecting over IPv6
First, check to see what IP address(es) your computer has. Go to https://www.whatismyip.com and see what it says. If you only have an...
Read more >
IPv6 works, IPv4 hasn't for days -- stonewalled by telephone ...
My "WAN Internet IP Address" is now the same as my "WAN DHCP IP Address." He couldn't explain why the gateway was incorrectly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found