lnln1111 / gappproxy

Automatically exported from code.google.com/p/gappproxy
GNU General Public License v3.0
0 stars 1 forks source link

HTTPS seems not working #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
--------------------------------------------
HTTP Enabled : YES
HTTPS Enabled: YES
Direct Fetch : YES
Local Proxy  : 
Fetch Server : http://oldherl.appspot.com/fetch.py
--------------------------------------------

Exception happened during processing of request from ('127.0.0.1', 43142)
Traceback (most recent call last):
  File "/usr/lib/python2.6/SocketServer.py", line 558, in
process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.6/SocketServer.py", line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.6/SocketServer.py", line 615, in __init__
    self.handle()
  File "/usr/lib/python2.6/BaseHTTPServer.py", line 329, in handle
    self.handle_one_request()
  File "/usr/lib/python2.6/BaseHTTPServer.py", line 323, in handle_one_request
    method()
  File "./proxy.py", line 63, in do_CONNECT
    keyfile=common.DEF_KEY_FILE)
  File "/usr/lib/python2.6/ssl.py", line 118, in __init__
    self.do_handshake()
  File "/usr/lib/python2.6/ssl.py", line 293, in do_handshake
    self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:480: error:14094418:SSL
routines:SSL3_READ_BYTES:tlsv1 alert unknown ca

Original issue reported on code.google.com by oldh...@gmail.com on 19 Apr 2009 at 10:19

GoogleCodeExporter commented 9 years ago
 edit  app.yaml

- url: /fetch.py
  script: fetch.py
  secure: optional

Original comment by cnb...@gmail.com on 19 Apr 2009 at 10:26

GoogleCodeExporter commented 9 years ago
no help :(

Original comment by oldh...@gmail.com on 19 Apr 2009 at 10:41

GoogleCodeExporter commented 9 years ago
之前:
  - url: /fetch.py
  script: fetch.py

之后:
  - url: /fetch.py
  script: fetch.py
  secure: optional

update,and browse https://oldherl.appspot.com/fetch.py

client tools
Use FecthServer https://oldherl.appspot.com/fetch.py

Original comment by cnb...@gmail.com on 19 Apr 2009 at 11:42

GoogleCodeExporter commented 9 years ago
You 2 are talking about 2 different things.

The error: SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca

Means the browser complains about the
certificate(localproxy/ssl/LocalProxyServer.cert) which GAPPProxy uses is 
issued by
an unkown CA. There are ways to work around this, but too long to explain. ;)

Original comment by solrex on 9 Jul 2009 at 8:26

GoogleCodeExporter commented 9 years ago
A clue to fix it can be find @
http://blog.solrex.cn/articles/fix-gappproxy-set-cookie-and-https-cert-bugs.html

Original comment by solrex on 10 Jul 2009 at 2:55