fix ssl
pew opened this issue · 0 comments
pew commented
philly can't connect to an irc network when SSL is enabled.
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncore.py", line 91, in write
obj.handle_write_event()
File "/usr/lib/python3.5/asyncore.py", line 441, in handle_write_event
self.handle_connect_event()
File "/usr/lib/python3.5/asyncore.py", line 429, in handle_connect_event
self.handle_connect()
File "/home/jonas/git/philly/irc.py", line 225, in handle_connect
self.met_socket(self.ssl)
AttributeError: 'Jenni' object has no attribute 'met_socket'
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncore.py", line 91, in write
obj.handle_write_event()
File "/usr/lib/python3.5/asyncore.py", line 441, in handle_write_event
self.handle_connect_event()
File "/usr/lib/python3.5/asyncore.py", line 426, in handle_connect_event
err = self.socket.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR)
OSError: [Errno 9] Bad file descriptor