python-engineio: RecursionError: maximum recursion depth exceeded

With python-engineio = “3.1.0” I am getting RecursionError: maximum recursion depth exceeded:

 File "[...]\site-packages\urllib3\util\ssl_.py", line 281, in create_urllib3_context
    context.options |= options
  File "[...]\miniconda\envs\py36\lib\ssl.py", line 465, in options
     super(SSLContext, SSLContext).options.__set__(self, value)

Only two fixes so far:

  • Either pin python-engineio to 3.0.0
  • eventlet.monkey_patch(socket=False)

Details:

  • python 3.6.8
  • windows 7
  • conda 4.5.12
  • eventlet 0.24.1

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

This doesn’t appear to be related to python-engineio, note that there isn’t a single reference to it in your stack trace. On the other side, this issue regarding monkey patching too late looks related to your problem: https://github.com/gevent/gevent/issues/1016.