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

VPN users face the reset problem.... #9834

Closed
songbaoqiang opened this issue Jun 19, 2016 · 6 comments
Closed

VPN users face the reset problem.... #9834

songbaoqiang opened this issue Jun 19, 2016 · 6 comments

Comments

@songbaoqiang
Copy link

@songbaoqiang songbaoqiang commented Jun 19, 2016

$ youtube-dl http://www.cbsnews.com/videos/lost-in-the-bermuda-triangle-2/
[CBSNews] lost-in-the-bermuda-triangle-2: Downloading webpage
ERROR: Unable to download webpage: [Errno 54] Connection reset by peer (caused by error(54, 'Connection reset by peer')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 19, 2016

Please post the output of the following command:

$ youtube-dl -v http://www.cbsnews.com/videos/lost-in-the-bermuda-triangle-2/

And which VPN software are you using?

@songbaoqiang
Copy link
Author

@songbaoqiang songbaoqiang commented Jun 19, 2016

Google Lantern。

youtube-dl -v http://www.cbsnews.com/videos/lost-in-the-bermuda-triangle-2/

[debug] System config: []

[debug] User config: []

[debug] Command-line args: [u'-v', u'
http://www.cbsnews.com/videos/lost-in-the-bermuda-triangle-2/']

[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8

[debug] youtube-dl version 2016.03.06

[debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit

[debug] exe versions: ffmpeg 3.0, ffprobe 3.0, rtmpdump 2.4

[debug] Proxy map: {}

[CBSNews] lost-in-the-bermuda-triangle-2: Downloading webpage

ERROR: Unable to download webpage: [Errno 54] Connection reset by peer
(caused by error(54, 'Connection reset by peer')); please report this issue
on https://yt-dl.org/bug . Make sure you are using the latest version;
type youtube-dl -U to update. Be sure to call youtube-dl with the
--verbose flag and include its complete output.

File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line
358, in _request_webpage

return self._downloader.urlopen(url_or_request)

File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1931, in
urlopen

return self._opener.open(req, timeout=self._socket_timeout)

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 431, in open

response = self._open(req, data)

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 449, in _open

'_open', req)

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 409, in _call_chain

result = func(*args)

File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 719, in
http_open

req)

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
line 1200, in do_open

r = h.getresponse(buffering=True)

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py",
line 1132, in getresponse

response.begin()

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py",
line 453, in begin

version, status, reason = self._read_status()

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py",
line 409, in _read_status

line = self.fp.readline(_MAXLINE + 1)

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py",
line 480, in readline

data = self._sock.recv(self._rbufsize)

On Sun, Jun 19, 2016 at 3:53 PM, Yen Chi Hsuan notifications@github.com
wrote:

Please post the output of the following command:

$ youtube-dl -v http://www.cbsnews.com/videos/lost-in-the-bermuda-triangle-2/

And which VPN software are you using?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#9834 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ACE8HCaZ5K_AXN0htmSd9aiWm7baYdJ_ks5qNPV8gaJpZM4I5HPL
.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 19, 2016

Seems Latern is a HTTP proxy. Could you add --proxy http://ip:port and try again?

@songbaoqiang
Copy link
Author

@songbaoqiang songbaoqiang commented Jun 19, 2016

http://ip:port ?? which ip? which port?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 19, 2016

127.0.0.1:8787, according to some random lantern tutorials.

@songbaoqiang
Copy link
Author

@songbaoqiang songbaoqiang commented Jun 19, 2016

it's ok now add --proxy http://ip:port

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.