Comments (6)
Hi rickhull, indeed this seems a bug related to an updated gevent version. It is encountered in Debian jessie, not in wheezy or earlier versions.
The solution (as in https://github.com/gevent/gevent/pull/517/files)
is inside your virtualenv, edit file ssl.py
mist@buildout-test:~/mist.io$ pwd
/home/mist/mist.io
mist@buildout-test:~/mist.io$ vi eggs/gevent-1.0.1-py2.7-linux-x86_64.egg/gevent/ssl.py
and change
def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None):
to
def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None):
then all services start
mist@buildout-test:~/mist.io$ ./bin/supervisorctl status
celery RUNNING pid 21949, uptime 0:03:41
haproxy RUNNING pid 21946, uptime 0:03:41
memcache RUNNING pid 21951, uptime 0:03:41
rabbitmq RUNNING pid 21950, uptime 0:03:41
socketio RUNNING pid 21947, uptime 0:03:41
uwsgi RUNNING pid 21948, uptime 0:03:41
Cheers
from mist-ce.
Did some research, and it looks like Debian wankery has broken python-gevent for python 2.7.x in this respect. Perhaps this is specific to Jessie (testing) at this moment and maybe not an issue in Wheezy or Sid.
docker-library/python#29
gevent/gevent#513
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770616
Some specifics from my machine:
rwh@search-docker:~/workspace/mist.io (master)$ apt-cache policy python-gevent
python-gevent:
Installed: (none)
Candidate: 1.0.1-2
Version table:
1.0.1-2 0
500 http://mirrors.ocf.berkeley.edu/debian/ jessie/main amd64 Packages
rwh@search-docker:~/workspace/mist.io (master)$ apt-cache policy python2.7
python2.7:
Installed: 2.7.9-2
Candidate: 2.7.9-2
Version table:
*** 2.7.9-2 0
500 http://mirrors.ocf.berkeley.edu/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
Notice that I don't have python-gevent
Debian package installed, so I must be using an upstream python package. Note that I am pretty fuzzy on python packaging. I'm guessing that Debian's python-gevent
may work, but I'm not sure how to make virtualenv (or whatever) use it.
from mist-ce.
While I expect this is fixed in Debian's python-gevent
package, this has also been fixed in upstream gevent
, but the fix has not been released:
from mist-ce.
Confirmed that this works, thanks! Feel free to close or tag this issue however is appropriate.
from mist-ce.
Nice, let us know about your experience in mist.io, issues you've found, ideas etc.
from mist-ce.
Thank you mgogoulos.
from mist-ce.
Related Issues (20)
- openstack charmed
- Bad Gateway HOT 2
- Unable to create file through scripts in a vm HOT 2
- Mist sends invalid requests to SMTP mail server HOT 6
- GCP - No cost information? HOT 1
- 5.00alpha3.0 shell doesn't connect to commercial cloud machines HOT 1
- 5.00alpha3 shell doesn't connect to commercial cloud machines
- AWS China Ningxia Datacenter doesn't return cost HOT 1
- RDS & ELB for aws HOT 6
- Helm Install failing without giving much information about the cause. HOT 3
- Is there a cloud provider for Azure China instead of just Azure? HOT 1
- How to upload certificate for docker HOT 1
- Outscale HOT 1
- mistio via docker-compose unable to save keys
- Machine creation failed: Linode
- installation on K8S
- Install mist.io on Kubernetes failed
- Adding a NodeWeaver/OpenNebula cloud provider HOT 1
- The official documentation is inaccessible.
- Helm chart installation failing due to duplicate key in template file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mist-ce.