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

[Error 10061] #6020

Closed
shubhamgupta1404 opened this issue Jun 18, 2015 · 6 comments
Closed

[Error 10061] #6020

shubhamgupta1404 opened this issue Jun 18, 2015 · 6 comments

Comments

@shubhamgupta1404
Copy link

@shubhamgupta1404 shubhamgupta1404 commented Jun 18, 2015

C:\Users_________\Downloads>youtube-dl --verbose "http://www.youtube.com/watch?v=
q5nvr__J8bQ"

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://www.youtube.com/watch?v=q5nvr
__J8bQ']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2015.06.15
[debug] Python version 2.7.8 - Windows-8-6.2.9200
[debug] exe versions: none
[debug] Proxy map: {'http': 'http://localhost:9614', u'https': 'http://localhost
:9614'}
[youtube] q5nvr__J8bQ: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 10061] No connection co
uld be made because the target machine actively refused it> (caused by URLError(
error(10061, 'No connection could be made because the target machine actively re
fused it'),))
File "youtube_dl\extractor\common.pyo", line 312, in _request_webpage
File "youtube_dl\YoutubeDL.pyo", line 1730, in urlopen
File "urllib2.pyo", line 404, in open
File "urllib2.pyo", line 422, in _open
File "urllib2.pyo", line 382, in _call_chain
File "youtube_dl\utils.pyo", line 713, in https_open
File "urllib2.pyo", line 1184, in do_open

Why is it giving this error and why is it downloading the webpage?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 18, 2015

What's the proxy software at localhost:9614?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 18, 2015

Are you using Xtreme Download Manager? Seems it's using port 9614.

@shubhamgupta1404
Copy link
Author

@shubhamgupta1404 shubhamgupta1404 commented Jun 18, 2015

I removed the proxy from my internet settings.
It's working now.
Thank You

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 18, 2015

If you can watch videos in the browser with the original proxy settings, it should be possible to download them via youtube-dl. I'll examine the situation.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 18, 2015

Seems Xtreme Download Manager's proxy does not handle HTTPS connections properly. HTTPS is used extensively in youtube.com. Before Xtreme Download Manager implements full HTTPS support, there's nothing we can do in youtube-dl. Anyway, thanks for providing a workaround for the problem. Another possible workaround can be:

youtube-dl --verbose --proxy "" "http://www.youtube.com/watch?v=q5nvr__J8bQ"

Passing an empty string to --proxy makes youtube-dl ignore system proxy settings.

@yan12125 yan12125 closed this Jun 18, 2015
@shubhamgupta1404
Copy link
Author

@shubhamgupta1404 shubhamgupta1404 commented Jun 18, 2015

Great help.
Thanks

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.