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

"Network is Unreachable" with force ipv6 parameter #4869

Closed
RaeesBhatti opened this issue Feb 4, 2015 · 3 comments
Closed

"Network is Unreachable" with force ipv6 parameter #4869

RaeesBhatti opened this issue Feb 4, 2015 · 3 comments

Comments

@RaeesBhatti
Copy link

@RaeesBhatti RaeesBhatti commented Feb 4, 2015

Hello, I have the latest youtube-dl installed at a VPS. It is a Ubuntu 14.04 x64 machine and has both IPv4 and IPv6 connectivity but the tool only works with IPv4. This is what i get
youtube-dl -6 -f 43 -g https://www.youtube.com/watch?v=GC2qk2X3fKA
ERROR: Unable to download webpage: <urlopen error [Errno 101] Network is unreachable> (caused by URLError(error(101, 'Network is unreachable'),))

As I said the same url works with IPv4. What could be the problem?

@phihag
Copy link
Contributor

@phihag phihag commented Feb 5, 2015

Are you sure that you do have IPv6 connectivity? Can you post a screenshot of http://test-ipv6.com/ run on that machine? What is the output of ip -6 r in the command line?

@RaeesBhatti
Copy link
Author

@RaeesBhatti RaeesBhatti commented Feb 5, 2015

I haven't installed Desktop on it but this fe80::/64 dev eth0 proto kernel metric 256 is of the command ip -6 r

@phihag
Copy link
Contributor

@phihag phihag commented Feb 5, 2015

That's fine, the route table is enough to show that you do not have IPv6 connectivity. You must configure your routing (or use a SLAAC or DHCPv6) before you can actually use IPv6.

@phihag phihag closed this Feb 5, 2015
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
2 participants
You can’t perform that action at this time.