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

SSLErrors Connecting to VirusTotal API #35

Open
ivanlei opened this issue Jul 4, 2015 · 2 comments
Open

SSLErrors Connecting to VirusTotal API #35

ivanlei opened this issue Jul 4, 2015 · 2 comments
Assignees
Labels

Comments

@ivanlei
Copy link

ivanlei commented Jul 4, 2015

I've got python 2.7.10 and latest OpenSSL.

$ python --version
Python 2.7.10
$ python -c 'import ssl; print ssl._OPENSSL_API_VERSION'
(1, 0, 2, 3, 15)

But still I get this.

Traceback (most recent call last):
  File "/Users/ivanlei/virtual_envs/osxcollector/lib/python2.7/site-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/Users/ivanlei/virtual_envs/osxcollector/lib/python2.7/site-packages/grequests.py", line 71, in send
    self.url, **merged_kwargs)
  File "/Users/ivanlei/virtual_envs/osxcollector/lib/python2.7/site-packages/requests/sessions.py", line 465, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/ivanlei/virtual_envs/osxcollector/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
    r = adapter.send(request, **kwargs)
  File "/Users/ivanlei/virtual_envs/osxcollector/lib/python2.7/site-packages/requests/adapters.py", line 431, in send
    raise SSLError(e, request=request)
SSLError: EOF occurred in violation of protocol (_ssl.c:590)
<Greenlet at 0x12ac6b050: <bound method AsyncRequest.send of <grequests.AsyncRequest object at 0x12b947790>>(stream=False)> failed with SSLError

I've got a branch where I've explored things a bit and I think I have a fix.

@ivanlei ivanlei added the bug label Jul 4, 2015
@ivanlei ivanlei self-assigned this Jul 4, 2015
@krmaxwell
Copy link

This should've been closed when #36 was merged, right?

@kurtcoke
Copy link

kurtcoke commented Nov 6, 2015

I still get this error. Using the latest version.

@jjsendor jjsendor self-assigned this Nov 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants