-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Broken ssl module: TypeError: __init__() got an unexpected keyword argument 'server_hostname' #120
Comments
It's because Urllib3/gevent became incompatible with the latest python2.7.8 version. There is an open urllib3 issue about it: urllib3/urllib3#482 . |
OK, that confirms my debugging session. But now, I have to sit and wait, cause I have no time to change something in a library I know nothing about… |
I have the same issue. |
Downgrading python to the previous (<=2.7.7) version solves the problem |
fixed: d959cb1 |
Confirmé. |
Woohooo! Partytime, I can use my own Searx again! |
I had this same problem. I was using gunicorn and moving away from gevent workers was the fix I went with. |
I think this problem still persists at least with python 2.7.9(atleast, on heroku). |
Is expected when resolves in Python version 2.7.9? |
I'm sorry. |
…_units.py Update searx.data - update_wikidata_units.py
This is a continuation of what I am experiencing in #92 .
Here is the complete stacktrace, for reference:
I am using a virtualenv on an up-to-date Debian/testing (jessie).
It seems that grequests redefined an ssl module, that want to have the same API as Python 2.7. Unfortunately, they introduced server_hostname and other niceties in Python 2.7.9 that seem to have been backported in Debian. And the wrapper is now broken.
Maybe I'm missing something, somewhere… But now, I am unable to have results for all HTTPS sites. This is quite annoying 😄
The text was updated successfully, but these errors were encountered: