{"action":"created","issue":{"url":"https://api.github.com/repos/asciimoo/searx/issues/442","labels_url":"https://api.github.com/repos/asciimoo/searx/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/asciimoo/searx/issues/442/comments","events_url":"https://api.github.com/repos/asciimoo/searx/issues/442/events","html_url":"https://github.com/asciimoo/searx/issues/442","id":109532069,"number":442,"title":"pyopenssl ndg-httpsclient pyasn1 are not picked up","user":{"login":"tristan-k","id":732025,"avatar_url":"https://avatars.githubusercontent.com/u/732025?v=3","gravatar_id":"","url":"https://api.github.com/users/tristan-k","html_url":"https://github.com/tristan-k","followers_url":"https://api.github.com/users/tristan-k/followers","following_url":"https://api.github.com/users/tristan-k/following{/other_user}","gists_url":"https://api.github.com/users/tristan-k/gists{/gist_id}","starred_url":"https://api.github.com/users/tristan-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristan-k/subscriptions","organizations_url":"https://api.github.com/users/tristan-k/orgs","repos_url":"https://api.github.com/users/tristan-k/repos","events_url":"https://api.github.com/users/tristan-k/events{/privacy}","received_events_url":"https://api.github.com/users/tristan-k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-02T17:07:12Z","updated_at":"2015-10-02T18:27:56Z","closed_at":null,"body":"Im running searx with a virtualenv and installed all requirments. For some reason pyopenssl, ndg-httpsclient, pyasn1 are not picked up, even though they are installed. This way I can only connect without https. This is related to https://github.com/asciimoo/searx/pull/298. Any suggestions?\r\n\r\n\t$ python searx/webapp.py \r\n\tCRITICAL:searx.webapp:The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\r\n\tSome HTTPS connections will failed\r\n    ERROR:werkzeug:77.181.180.84 - - [02/Oct/2015 19:11:15] code 400, message Bad HTTP/0.9 request type ('\\x16\\x03\\x01\\x00\\xb4\\x01\\x00\\x00\\xb0\\x03\\x03\\xd2m\\x9d\\xae\\xc3x\\xcf\\xeb\\xa8\\x95\\x8e\\x80>\\xe7|>\\xf9\\xb1\\x1b\\xff\\xbe!\\xa3')\r\n    INFO:werkzeug:77.181.180.84 - - [02/Oct/2015 19:11:15] \"���m���x�먕��>�|>��!�   t��\"�k��+�/�\" 400 -\r\n\r\n\t\r\n\t$ pip install pyopenssl ndg-httpsclient pyasn1\r\n\tRequirement already satisfied (use --upgrade to upgrade): pyopenssl in /home/tristank/venv/searx-ve/lib/python2.7/site-packages\r\n\tRequirement already satisfied (use --upgrade to upgrade): ndg-httpsclient in /home/tristank/venv/searx-ve/lib/python2.7/site-packages\r\n\tRequirement already satisfied (use --upgrade to upgrade): pyasn1 in /home/tristank/venv/searx-ve/lib/python2.7/site-packages\r\n\tRequirement already satisfied (use --upgrade to upgrade): six>=1.5.2 in /home/tristank/venv/searx-ve/lib/python2.7/site-packages (from pyopenssl)\r\n\tRequirement already satisfied (use --upgrade to upgrade): cryptography>=0.7 in /home/tristank/venv/searx-ve/lib/python2.7/site-packages (from pyopenssl)\r\n\tRequirement already satisfied (use --upgrade to upgrade): setuptools in /home/tristank/venv/searx-ve/lib/python2.7/site-packages (from cryptography>=0.7->pyopenssl)\r\n\tRequirement already satisfied (use --upgrade to upgrade): enum34 in /home/tristank/venv/searx-ve/lib/python2.7/site-packages (from cryptography>=0.7->pyopenssl)\r\n\tRequirement already satisfied (use --upgrade to upgrade): ipaddress in /home/tristank/venv/searx-ve/lib/python2.7/site-packages (from cryptography>=0.7->pyopenssl)\r\n\tRequirement already satisfied (use --upgrade to upgrade): idna>=2.0 in /home/tristank/venv/searx-ve/lib/python2.7/site-packages (from cryptography>=0.7->pyopenssl)\r\n\tRequirement already satisfied (use --upgrade to upgrade): cffi>=1.1.0 in /home/tristank/venv/searx-ve/lib/python2.7/site-packages (from cryptography>=0.7->pyopenssl)\r\n\tRequirement already satisfied (use --upgrade to upgrade): pycparser in /home/tristank/venv/searx-ve/lib/python2.7/site-packages (from cffi>=1.1.0->cryptography>=0.7->pyopenssl)"},"comment":{"url":"https://api.github.com/repos/asciimoo/searx/issues/comments/145115626","html_url":"https://github.com/asciimoo/searx/issues/442#issuecomment-145115626","issue_url":"https://api.github.com/repos/asciimoo/searx/issues/442","id":145115626,"user":{"login":"tristan-k","id":732025,"avatar_url":"https://avatars.githubusercontent.com/u/732025?v=3","gravatar_id":"","url":"https://api.github.com/users/tristan-k","html_url":"https://github.com/tristan-k","followers_url":"https://api.github.com/users/tristan-k/followers","following_url":"https://api.github.com/users/tristan-k/following{/other_user}","gists_url":"https://api.github.com/users/tristan-k/gists{/gist_id}","starred_url":"https://api.github.com/users/tristan-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristan-k/subscriptions","organizations_url":"https://api.github.com/users/tristan-k/orgs","repos_url":"https://api.github.com/users/tristan-k/repos","events_url":"https://api.github.com/users/tristan-k/events{/privacy}","received_events_url":"https://api.github.com/users/tristan-k/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T18:27:56Z","updated_at":"2015-10-02T18:27:56Z","body":"\t$ ls -la /home/tristank/venv/searx-ve/lib/python2.7/site-packages\r\n\ttotal 2032\r\n\tdrwxr-xr-x. 53 tristank tristank   4096  2. Okt 20:17 .\r\n\tdrwxr-xr-x.  4 tristank tristank   4096  2. Okt 19:24 ..\r\n\tdrwxr-xr-x.  5 tristank tristank   4096  2. Okt 19:25 babel\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 Babel-2.1.1.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 certifi\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 certifi-2015.9.6.2.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 cffi\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 cffi-1.2.1.dist-info\r\n\t-rwxr-xr-x.  1 tristank tristank 612543  2. Okt 19:25 _cffi_backend.so\r\n\tdrwxr-xr-x.  4 tristank tristank   4096  2. Okt 19:25 cryptography\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 cryptography-1.0.2.dist-info\r\n\tdrwxr-xr-x.  3 tristank tristank   4096  2. Okt 19:25 dateutil\r\n\t-rw-r--r--.  1 tristank tristank    126  2. Okt 19:24 easy_install.py\r\n\t-rw-r--r--.  1 tristank tristank    315  2. Okt 19:24 easy_install.pyc\r\n\tdrwxr-xr-x.  3 tristank tristank   4096  2. Okt 19:25 enum\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 enum34-1.0.4.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 idna\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 idna-2.0.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 ipaddress-1.0.14.dist-info\r\n\t-rw-r--r--.  1 tristank tristank  79659  2. Okt 19:25 ipaddress.py\r\n\t-rw-r--r--.  1 tristank tristank  75183  2. Okt 19:25 ipaddress.pyc\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 itsdangerous-0.24.dist-info\r\n\t-rw-r--r--.  1 tristank tristank  31840  2. Okt 19:25 itsdangerous.py\r\n\t-rw-r--r--.  1 tristank tristank  34323  2. Okt 19:25 itsdangerous.pyc\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 jinja2\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 Jinja2-2.8.dist-info\r\n\tdrwxr-xr-x.  5 tristank tristank   4096  2. Okt 19:25 lxml\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 lxml-3.4.4.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:24 _markerlib\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 markupsafe\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 MarkupSafe-0.23.dist-info\r\n\tdrwxr-xr-x.  3 tristank tristank   4096  2. Okt 19:25 ndg\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 ndg_httpsclient-0.4.0.dist-info\r\n\t-rw-r--r--.  1 tristank tristank    296  2. Okt 19:25 ndg_httpsclient-0.4.0-py2.7-nspkg.pth\r\n\tdrwxr-xr-x.  3 tristank tristank   4096  2. Okt 19:25 OpenSSL\r\n\tdrwxr-xr-x. 10 tristank tristank   4096  2. Okt 19:24 pip\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:24 pip-7.1.2.dist-info\r\n\tdrwxr-xr-x.  3 tristank tristank   4096  2. Okt 19:24 pkg_resources\r\n\tdrwxr-xr-x.  5 tristank tristank   4096  2. Okt 19:25 pyasn1\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 pyasn1-0.1.9.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 pyasn1_modules\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 pyasn1_modules-0.0.8.dist-info\r\n\tdrwxr-xr-x.  3 tristank tristank   4096  2. Okt 19:25 pycparser\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 pycparser-2.14.dist-info\r\n\tdrwxr-xr-x.  6 tristank tristank   4096  2. Okt 19:25 pygments\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 Pygments-2.0.2.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 pyOpenSSL-0.15.1.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 python_dateutil-2.4.2.dist-info\r\n\tdrwxr-xr-x.  3 tristank tristank   4096  2. Okt 19:25 pytz\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 pytz-2015.6.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 PyYAML-3.11.dist-info\r\n\tdrwxr-xr-x.  3 tristank tristank   4096  2. Okt 19:25 requests\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 requests-2.7.0.dist-info\r\n\tdrwxr-xr-x.  6 tristank tristank   4096  2. Okt 18:21 searx\r\n\tdrwxr-xr-x.  3 tristank tristank   4096  2. Okt 19:24 setuptools\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:24 setuptools-18.2.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 six-1.9.0.dist-info\r\n\t-rw-r--r--.  1 tristank tristank  29664  2. Okt 19:25 six.py\r\n\t-rw-r--r--.  1 tristank tristank  29162  2. Okt 19:25 six.pyc\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 speaklater-1.3.dist-info\r\n\t-rw-r--r--.  1 tristank tristank   5216  2. Okt 19:25 speaklater.py\r\n\t-rw-r--r--.  1 tristank tristank   8816  2. Okt 19:25 speaklater.pyc\r\n\tdrwxr-xr-x.  5 tristank tristank   4096  2. Okt 19:24 wheel\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:24 wheel-0.24.0.dist-info\r\n\tdrwxr-xr-x.  2 tristank tristank   4096  2. Okt 19:25 yaml\r\n\t-rwxr-xr-x.  1 tristank tristank 920947  2. Okt 19:25 _yaml.so\r\n\r\n\t$ pip install pyasn1-modules certifi\r\n\tRequirement already satisfied (use --upgrade to upgrade): pyasn1-modules in /home/tristank/venv/searx-ve/lib/python2.7/site-packages\r\n\tRequirement already satisfied (use --upgrade to upgrade): certifi in /home/tristank/venv/searx-ve/lib/python2.7/site-packages\r\n\tRequirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.8 in /home/tristank/venv/searx-ve/lib/python2.7/site-packages (from pyasn1-modules)\r\n\r\n\t$ python /home/tristank/venv/searx-ve/lib/python2.7/site-packages/searx/searx/webapp.py \r\n\tINFO:searx:Initialisation done\r\n\tINFO:searx.plugins.https_rewrite:29 rules loaded\r\n\tCRITICAL:searx.webapp:The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\r\n\tSome HTTPS connections will failed\r\n\tINFO:werkzeug: * Running on http://0.0.0.0:61110/\r\n\tINFO:werkzeug: * Restarting with reloader\r\n\tINFO:searx:Initialisation done\r\n\tINFO:searx.plugins.https_rewrite:29 rules loaded\r\n\tCRITICAL:searx.webapp:The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\r\n\tSome HTTPS connections will failed"}}