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

Connection reset by peer on https sites #16689

Closed
qvtqht opened this issue Jun 10, 2018 · 3 comments
Closed

Connection reset by peer on https sites #16689

qvtqht opened this issue Jun 10, 2018 · 3 comments
Labels

Comments

@qvtqht
Copy link

@qvtqht qvtqht commented Jun 10, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.06.11. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.06.11

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl "https://www.wimp.com/camels-eating-cacti-with-six-inch-needles/"
[Wimp] camels-eating-cacti-with-six-inch-needles: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 54] Connection reset by peer> (caused by URLError(ConnectionResetError(54, 'Connection reset by peer'),))
primer:~ digdug$ youtube-dl -v "https://www.wimp.com/camels-eating-cacti-with-six-inch-needles/"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.wimp.com/camels-eating-cacti-with-six-inch-needles/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.11
[debug] Python version 3.5.5 (CPython) - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0, ffprobe 4.0
[debug] Proxy map: {}
[Wimp] camels-eating-cacti-with-six-inch-needles: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 54] Connection reset by peer> (caused by URLError(ConnectionResetError(54, 'Connection reset by peer'),))
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 579, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 466, in open
    response = self._open(req, data)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 484, in _open
    '_open', req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1101, in https_open
    req, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1256, in do_open
    raise URLError(err)


If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

This issue has started happening a few weeks ago for me, and no youtube-dl updates have fixed it so far. It happens with most https sites, not just wimp.com.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 10, 2018

Network issue on your side. Nothing to do with youtube-dl.

@dstftw dstftw closed this Jun 10, 2018
@dstftw dstftw added the invalid label Jun 10, 2018
@qvtqht
Copy link
Author

@qvtqht qvtqht commented Jun 10, 2018

Any suggestion on how to debug/fix it? I've been having the same issue on different networks and sites.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 10, 2018

Try running through strace and analyze the output.

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.