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

Address family for hostname not supported #1151

Open
vanilla38 opened this issue Jul 30, 2013 · 5 comments
Open

Address family for hostname not supported #1151

vanilla38 opened this issue Jul 30, 2013 · 5 comments

Comments

@vanilla38
Copy link

@vanilla38 vanilla38 commented Jul 30, 2013

Hello, since I use IPV6 with Youtube-dl (see #1020), i often got some "urlopen" errors, here's an error dump:

error

Does anyone got an idea on what it's due ? Thanks.

@l29ah
Copy link

@l29ah l29ah commented May 28, 2017

bump?

@filterfish
Copy link

@filterfish filterfish commented Sep 19, 2017

It's because the site you are downloading from doesn't support IPv6. Yes I know here we are in 2017 and there are still a fair few big sites that don't support IPv6, Github for example and vimeo.

Just run it with the -4 option.

@l29ah
Copy link

@l29ah l29ah commented Sep 19, 2017

Actually it looks like it's youtube-dl that doesn't support ipv6.

@filterfish
Copy link

@filterfish filterfish commented Sep 19, 2017

It definitely supports IPv6. I'm currently downloading a video from Youtube and using lsof I can clearly see that it's using IPv6.as witnessed by this line (my ip addr redacted):

youtube-d 24476  xxx    4u  IPv6 5265671       0t0       TCP [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:48937->[2404:6800:400d:5::b]:https (ESTABLISHED)

If you do a reverse DNS lookup on the second ip address you'll see it resolves to google.

That coupled with the fact that the URL that gave me the error message that led me to this issue was Vimeo and there is no AAAA record for vimeo but there is an A record.

So with those two pieces of evidence I think it's pretty safe to say that youtube-dl supports IPv6 and that the problem is to do with the site not supporting IPv6.

Now a better error message that would be useful, though when you know what it means it's pretty obvious!

@buzo-ffm
Copy link

@buzo-ffm buzo-ffm commented Feb 5, 2020

see also #15368

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.