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

URLError: <urlopen error [Errno 54] Connection reset by peer> #7

Open
karosLi opened this issue Feb 7, 2018 · 2 comments
Open

URLError: <urlopen error [Errno 54] Connection reset by peer> #7

karosLi opened this issue Feb 7, 2018 · 2 comments

Comments

@karosLi
Copy link

karosLi commented Feb 7, 2018

when install devtools, it happens error.

➜ ponyd ponyd update-devtools
Downloading https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F464644%2Fchrome-linux.zip?alt=media
Traceback (most recent call last):
File "/usr/local/bin/ponyd", line 11, in
load_entry_point('ponyd', 'console_scripts', 'ponyd')()
File "/Users/karosli/Library/Weaver/src/ponyd/ponyd/argbase.py", line 149, in main
args.command(args)
File "/Users/karosli/Library/Weaver/src/ponyd/ponyd/argbase.py", line 128, in run_command
return instance()
File "/Users/karosli/Library/Weaver/src/ponyd/ponyd/downloader.py", line 49, in call
tools_stream = StringIO(urllib2.urlopen(tools_url).read())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, 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 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1240, in https_open
context=self._context)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 54] Connection reset by peer>

@nguyenhuy
Copy link
Member

nguyenhuy commented Feb 7, 2018 via email

@wuon
Copy link

wuon commented Jul 5, 2018

If anyone else bumps into the <urlopen error [Errno 54] Connection reset by peer> issue, I solved it by installing Python 2.7.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants