Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any solution to use counterfit without any error in python version 3.12.2? AttributeError: module 'ssl' has no attribute 'wrap_socket' #914

Open
mahabubamou12 opened this issue Feb 11, 2024 · 4 comments

Comments

@mahabubamou12
Copy link

(.venv) C:\Users\mahab\nightlight>counterfit --version
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\mahab\nightlight.venv\Scripts\counterfit.exe_main
.py", line 4, in
File "C:\Users\mahab\nightlight.venv\Lib\site-packages\CounterFit\counterfit.py", line 11, in
from eventlet import event
File "C:\Users\mahab\nightlight.venv\Lib\site-packages\eventlet_init
.py", line 17, in
from eventlet import convenience
File "C:\Users\mahab\nightlight.venv\Lib\site-packages\eventlet\convenience.py", line 7, in
from eventlet.green import socket
File "C:\Users\mahab\nightlight.venv\Lib\site-packages\eventlet\green\socket.py", line 21, in
from eventlet.support import greendns
File "C:\Users\mahab\nightlight.venv\Lib\site-packages\eventlet\support\greendns.py", line 45, in
from eventlet.green import ssl
File "C:\Users\mahab\nightlight.venv\Lib\site-packages\eventlet\green\ssl.py", line 25, in
_original_wrap_socket = __ssl.wrap_socket
^^^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'

@4383
Copy link
Member

4383 commented Feb 19, 2024

Hello,

Which eventlet version are you using?

@4383
Copy link
Member

4383 commented Mar 13, 2024

@mahabubamou12: any updates?

@4383
Copy link
Member

4383 commented Mar 13, 2024

Looks duplicated with #795

@4383
Copy link
Member

4383 commented Mar 26, 2024

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants