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

Trouble with BlobDetector install during vagrant run #300

Closed
brendancol opened this issue Nov 16, 2014 · 2 comments
Closed

Trouble with BlobDetector install during vagrant run #300

brendancol opened this issue Nov 16, 2014 · 2 comments

Comments

@brendancol
Copy link

Using OSX Mavericks + Vagrant 1.6.5 + ansible 1.7.1

I'm having trouble with the BlobDetector install task. The main error is "URLError: <urlopen error [Errno 1] _ssl.c:504: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure>"

I'm troubleshooting now, but was wondering if anybody else encountered this.

Thanks.

Full Error message below:
TASK: [pip name=BlobDetector] *************************************************
failed: [default] => {"cmd": "/usr/bin/pip install BlobDetector", "failed": true}
msg: stdout: Downloading/unpacking BlobDetector
Error <urlopen error [Errno 1] _ssl.c:504: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure> while getting https://github.com/downloads/migurski/Blobdetector/BlobDetector-1.0.0.tar.gz (from https://pypi.python.org/simple/blobdetector/)
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 955, in prepare_files
self.unpack_url(url, location, self.is_download)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1072, in unpack_url
return unpack_http_url(link, location, self.download_cache, only_download)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 428, in unpack_http_url
resp = _get_response_from_url(target_url, link)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 457, in _get_response_from_url
resp = urlopen(target_url)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 83, in call
response = urllib2.urlopen(self.get_request(url))
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 438, in error
result = self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 1] _ssl.c:504: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure>

Storing complete log in /root/.pip/pip.log

FATAL: all hosts have already failed -- aborting

@standardpixel
Copy link

I have also noticed this issue. I opened a a ticket in the BlobDetector repo since I think this is something which can be resolved in how that pip package is being hosted. I will also keep looking into ways to fix this in the Vagrantfile.

@standardpixel
Copy link

I have added the BlobDetector package to this repo so we can just install it locally for now which resolves this issue. We have also updated the Readme files to give some more details on how to use Vagrant. At the moment, Vagrant is only set up to set up an environment capable of installing Field Papers, though I do plan to add the entire Field Papers installation in the future.

Long story short... git pull --rebase and try again. It should work

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

2 participants