algo icon indicating copy to clipboard operation
algo copied to clipboard

Ubunt 18.04 + ALGO ERROR . The python pyOpenSSL module is required.

Open plbartek89 opened this issue 8 years ago • 7 comments

Hello , I try to install algo on my ubuntu 18.04 VPS but no success atm. Screenshot https://i.gyazo.com/67f8fe27660b3b827b37f58e3f66191d.png

TASK [vpn : Create links for the private keys] ******************************************************************************* failed: [localhost -> localhost] (item=daxcvxn) => {"changed": false, "item": "daxcvxn", "msg": "the python pyOpenSSL module i s required"} failed: [localhost -> localhost] (item=jaxcvxvck) => {"changed": false, "item": "jaxcvxvck", "msg": "the python pyOpenSSL modu le is required"}

Thanks

plbartek89 avatar Oct 09 '18 20:10 plbartek89

Can you give us the full log including the debug output? The part that comes after --> Please include the following block of text when submitting issues:?

TC1977 avatar Oct 10 '18 02:10 TC1977

I was able to reproduce this error when attempting a local install on a DO Droplet.

davidemyers avatar Oct 10 '18 11:10 davidemyers

Reproduced the same. Manually installed pyOpenSSL and made a clean installation everything worked.

pip install pyopenssl

yilmzfurkan avatar Oct 10 '18 12:10 yilmzfurkan

@yilmzfurkan Thanks man. Works like a charm. I have one more question about speed my vps has CPU: 2 vCores RAM: 1GB Bandwidth: 200Mbps my internet connection 250Mbps. When i do speedtest with vpn on I reach +/- 20Mbps only. What can i do to increase the speed a little bit , when possible ofc. ?

plbartek89 avatar Oct 10 '18 13:10 plbartek89

@yilmzfurkan That command works for me too, when run outside of Algo's Python virtual environment.

@plbartek89 This might have nothing to do with your speed issue, but one of the DigitalOcean Droplets I created in NYC3 today is crazy slow, while others in NYC3 and SFO2 are fine. Maybe you've got a slow VPS.

davidemyers avatar Oct 10 '18 14:10 davidemyers

Should the local install instructions be updated?

sudo apt-get install software-properties-common && sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update && sudo apt-get install ansible python-pip build-essential python-dev libssl-dev libffi-dev
pip install virtualenv
pip install --upgrade pip
git clone https://github.com/trailofbits/algo
cd algo
python -m virtualenv env && source env/bin/activate && python -m pip install -U pip && python -m pip install -r requirements.txt
./algo

TC1977 avatar Oct 10 '18 14:10 TC1977

I think the local install instructions as currently written are obsolete. The normal instructions appear to be sufficient to do a local install on Ubuntu 18.04, with the exception of this issue.

As for this issue, I'm not sure if Jack would consider it a bug or something to be handled through documentation.

davidemyers avatar Oct 10 '18 14:10 davidemyers