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: No connection could be made because the target machine actively refused it #7848

Closed
musq opened this issue Dec 12, 2015 · 1 comment

Comments

@musq
Copy link

@musq musq commented Dec 12, 2015

Whenever I try to download any youtube video using the command:
youtube-dl -v https://www.youtube.com/watch?v=Vmb1tqYqyII
I get the following error...


[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=Vmb1tqYqyII']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2015.12.10
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-74835-gbd6610c, ffprobe N-74835-gbd6610c
[debug] Proxy map: {}
[youtube] Vmb1tqYqyII: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it> (caused by URLError(error(10061, 'No connection could be made because the target machine actively refused it'),))
File "youtube_dl\extractor\common.pyo", line 329, in _request_webpage
File "youtube_dl\YoutubeDL.pyo", line 1884, in urlopen
File "urllib2.pyo", line 431, in open
File "urllib2.pyo", line 449, in _open
File "urllib2.pyo", line 409, in _call_chain
File "youtube_dl\utils.pyo", line 813, in https_open
File "urllib2.pyo", line 1197, in do_open


Additional info:

  1. Windows 8.1, 64 bit, 4 GB ram, Intel i3 1.9GHz processor
  2. Using anaconda, instead of python
@musq musq changed the title ERROR: Unable to download webpage ERROR 10061: No connection could be made because the target machine actively refused it Dec 12, 2015
@musq
Copy link
Author

@musq musq commented Dec 12, 2015

Sorry about that.
I resolved the error by setting proxy in the youtube-dl.conf file (https://github.com/rg3/youtube-dl#configuration).

@musq musq closed this Dec 12, 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
1 participant
You can’t perform that action at this time.