We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Using Python python3.12 get:
connect Error: module 'ssl' has no attribute 'wrap_socket'
def reconnect(self): print(now(), "CON:", self.uri) self.reset() sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((self.host, self.port)) if not self.http: sock = sslpsk.wrap_socket( sock, ssl_version=ssl.PROTOCOL_TLSv1_2, ciphers="ECDHE-PSK-CHACHA20-POLY1305", psk=self.psk, ) self.ws = websocket.WebSocket() self.ws.connect( self.uri, socket=sock, origin="", )
Is there any way to solve this ? Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Using Python python3.12 get:
connect Error: module 'ssl' has no attribute 'wrap_socket'
Is there any way to solve this ?
Thanks
The text was updated successfully, but these errors were encountered: