Skip to content

Instantly share code, notes, and snippets.

@bsgreenb
Created December 10, 2013 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsgreenb/7887936 to your computer and use it in GitHub Desktop.
Save bsgreenb/7887936 to your computer and use it in GitHub Desktop.
Error in processing of request from 192.168.1.26:40407
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/netlib/tcp.py", line 375, in request_thread
self.handle_connection(request, client_address)
File "/Library/Python/2.7/site-packages/libmproxy/proxy.py", line 509, in handle_connection
h.handle()
File "/Library/Python/2.7/site-packages/libmproxy/proxy.py", line 177, in handle
while self.handle_request(cc) and not cc.close:
File "/Library/Python/2.7/site-packages/libmproxy/proxy.py", line 193, in handle_request
request = self.read_request(cc)
File "/Library/Python/2.7/site-packages/libmproxy/proxy.py", line 434, in read_request
return self.read_request_transparent(client_conn)
File "/Library/Python/2.7/site-packages/libmproxy/proxy.py", line 350, in read_request_transparent
return self._read_request_transparent(client_conn, scheme, host, port)
File "/Library/Python/2.7/site-packages/libmproxy/proxy.py", line 361, in _read_request_transparent
self.establish_ssl(client_conn, host, port)
File "/Library/Python/2.7/site-packages/libmproxy/proxy.py", line 319, in establish_ssl
dummycert = self.find_cert(client_conn, host, port, host)
File "/Library/Python/2.7/site-packages/libmproxy/proxy.py", line 310, in find_cert
conn = self.get_server_connection(cc, "https", host, port, sni)
File "/Library/Python/2.7/site-packages/libmproxy/proxy.py", line 163, in get_server_connection
self.server_conn.connect()
File "/Library/Python/2.7/site-packages/libmproxy/proxy.py", line 58, in connect
self.convert_to_ssl(cert=clientcert, sni=self.sni)
File "/Library/Python/2.7/site-packages/netlib/tcp.py", line 202, in convert_to_ssl
self.connection.set_tlsext_host_name(sni)
AttributeError: '_socketobject' object has no attribute 'set_tlsext_host_name'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment