-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Exception occurred during processing of request from ('10.23.5.101', 44638)
Traceback (most recent call last):
File "/usr/lib/python3.12/socketserver.py", line 692, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.12/socketserver.py", line 362, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.12/socketserver.py", line 761, in __init__
self.handle()
File "/opt/mitmsmtp/venv/lib/python3.12/site-packages/MITMsmtp-0.0.3.dev0-py3.12.egg/MITMsmtp/SMTPHandler.py", line 65, in handle
raise e
File "/opt/mitmsmtp/venv/lib/python3.12/site-packages/MITMsmtp-0.0.3.dev0-py3.12.egg/MITMsmtp/SMTPHandler.py", line 53, in handle
self.STARTTLS()
File "/opt/mitmsmtp/venv/lib/python3.12/site-packages/MITMsmtp-0.0.3.dev0-py3.12.egg/MITMsmtp/SMTPHandler.py", line 106, in STARTTLS
self.connection = self.server.wrapSSL(self.connection)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/mitmsmtp/venv/lib/python3.12/site-packages/MITMsmtp-0.0.3.dev0-py3.12.egg/MITMsmtp/SMTPServer.py", line 82, in wrapSSL
connstream = ssl.wrap_socket(socket,
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'
This method is deprecated since Python 3.7 and was removed in Python 3.12.
https://docs.python.org/3.7/library/ssl.html#ssl.wrap_socket
Metadata
Metadata
Assignees
Labels
No labels