Post Reply 
ProxHTTPSProxy, a Proxomitron SSL Helper Program
Jun. 10, 2010, 02:06 AM
Post: #110
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(Jun. 10, 2010 01:26 AM)whenever Wrote:  
(Jun. 09, 2010 08:45 PM)JJoe Wrote:  Python creates a file config.pyc that appears to break things at restart.

How does that break things?

The symptom is https hangs. Proxo shows the request

Quote:Using Proxy - 127.0.0.1:8081
GET https://login.yahoo.com/config/login_verify2?&.src=ym HTTP/1.1
Host: login.yahoo.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://login.yahoo.com/
HTTP/1.0 200 Connection established
HTTP/1.0 Proxy-agent: ProxHTTPSProxy/0.4b Python/2.6.5

ProxHTTPSProxy shows an exception

Quote:Exception happened during processing of request from ('127.0.0.1', 49164)
Traceback (most recent call last):
File "C:\Python26\lib\SocketServer.py", line 558, in process_request_thread
self.finish_request(request, client_address)
File "C:\Python26\lib\SocketServer.py", line 320, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python26\lib\SocketServer.py", line 615, in __init__
self.handle()
File "C:\Python26\lib\BaseHTTPServer.py", line 329, in handle
self.handle_one_request()
File "C:\Python26\lib\BaseHTTPServer.py", line 323, in handle_one_request
method()
File "C:\Users\E3\Programs\ProxHTTPSProxy 0.4b\ProxHTTPSProxy.py", line 132, i
n do_CONNECT
client_sock = ssl.wrap_socket(self.connection, certfile=cert_file, server_si
de=True)
File "C:\Python26\lib\ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "C:\Python26\lib\ssl.py", line 113, in __init__
cert_reqs, ssl_version, ca_certs)
SSLError: [Errno 336265218] _ssl.c:337: error:140B0002:SSL routines:SSL_CTX_use_
PrivateKey_file:system lib

Closing and restarting ProxHTTPSProxy doesn't fix it.
Deleting the file or files and restarting does.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program - JJoe - Jun. 10, 2010 02:06 AM

Forum Jump: