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

gevent problem on Debian Jessie (missing SSLv3) #135

Open
lape opened this issue Apr 6, 2016 · 5 comments
Open

gevent problem on Debian Jessie (missing SSLv3) #135

lape opened this issue Apr 6, 2016 · 5 comments

Comments

@lape
Copy link

lape commented Apr 6, 2016

It's not possible to start Plivo when installed with the gevent version 1.03a downloaded from plivo_install.sh on a Debian 8 Jessie system:

[...]
    from gevent import socket
  File "/usr/local/plivo/local/lib/python2.7/site-packages/gevent/socket.py", line 695, in <module>
    from gevent.ssl import sslwrap_simple as ssl, SSLError as sslerror, SSLSocket as SSLType
  File "/usr/local/plivo/local/lib/python2.7/site-packages/gevent/ssl.py", line 438, in <module>
    def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None):
NameError: name 'PROTOCOL_SSLv3' is not defined

Upgrading to the latest gevent version with

<plivo_root>/bin/pip install gevent --upgrade

seems to fix the problem.

@lape
Copy link
Author

lape commented Jan 12, 2017

Upgrading to latest version of gevent no longer works. To get plivo running, uninstall gevent and install version 1.1.0 (now on Github):

<plivo_root>/bin/pip uninstall gevent
<plivo_root>/bin/pip install -Iv https://github.com/gevent/gevent/releases/download/v1.1.0/gevent-1.1.0.tar.gz

@lape
Copy link
Author

lape commented Jan 12, 2017

Fixed this in plivo_install.sh:
d252364

@abstream
Copy link

This will make plivo run but then when I try to make calls I get:

BlockingSwitchOutError: Impossible to call blocking function in the event loop callback

This is from plivo outbound log and I think it is a problem with python and gevent.

@abstream
Copy link

Basically , the plivo framework installation and runtime fails on most recent linux distros

@ktrev
Copy link

ktrev commented Sep 26, 2017

I am also facing the same issue. Is there any solution for this?

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