Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a --force-ipv4 parameter #310

Open
pabloab opened this issue Aug 15, 2021 · 0 comments
Open

Provide a --force-ipv4 parameter #310

pabloab opened this issue Aug 15, 2021 · 0 comments

Comments

@pabloab
Copy link

pabloab commented Aug 15, 2021

Prerequisites

  • [x ] Did you make sure a similar issue didn't exist?
  • [x ] Did you update gTTS to the latest? (pip install --upgrade gTTS)

Proposed Behaviour

I had the same problem with both three: gtts-cli, streamlink and youtube-dl: They stuck at some point for some minutes. Solution: streamlink: --ipv4 , youtube-dl: --force-ipv4. Probably related to IPv6 DNS lookups.

Surely, we can force IPv4 user or system-wide, but would be nice to have a --force-ipv4 parameter on gtts-cli.

This was useful to reveal the issue: nmap -Pn -p80,443 -6 youtube.com; nmap -4 youtube.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants