google-code-export / wallproxy-plugins

Automatically exported from code.google.com/p/wallproxy-plugins
0 stars 0 forks source link

Google+游戏无法代理 #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
127.0.0.1 - [2011-08-16 09:38:28,563] INFO  "GET https://images-oz-opensocial.go
ogleusercontent.com:443/gadgets/proxy?url=http://cow-gme-cdn0.playdom.com/social
civ/vrl/nf/marvel/2_luxor_temple.png&container=oz&gadget=http://cow-gme-cdn0.pla
ydom.com/socialciv/vrl/nf/marvel/2_luxor_temple.png&rewriteMime=image/*&resize_h
=80&resize_w=80&no_expand=1 HTTP/1.1" 200 3513 5
127.0.0.1 - [2011-08-16 09:38:28,969] INFO  "GET https://images-oz-opensocial.go
ogleusercontent.com:443/gadgets/proxy?url=http://cow-gme-cdn0.playdom.com/social
civ/vrl/nf/size/25000.png&container=oz&gadget=http://cow-gme-cdn0.playdom.com/so
cialciv/vrl/nf/size/25000.png&rewriteMime=image/*&resize_h=80&resize_w=80&no_exp
and=1 HTTP/1.1" 200 16833 5
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 59903)
Traceback (most recent call last):
  File "SocketServer.pyo", line 560, in process_request_thread
  File "SocketServer.pyo", line 322, in finish_request
  File "SocketServer.pyo", line 617, in __init__
  File "ProxyServer.py", line 96, in handle
  File "ProxyServer.py", line 214, in handle_https_request
  File "ProxyServer.py", line 146, in _handle_with_plugin
  File "plugins\fakehttps.py", line 153, in handle
  File "plugins\fakehttps.py", line 140, in getCertificate
  File "plugins\fakehttps.py", line 67, in _makeCert
  File "plugins\fakehttps.py", line 33, in _createCertRequest
Error: [('asn1 encoding routines', 'ASN1_mbstring_ncopy', 'string too long')]
----------------------------------------
127.0.0.1 - [2011-08-16 09:38:32,983] INFO  "GET https://plus.google.com:443/u/0
/_/n/guc HTTP/1.1" 200 46 11
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 59906)
Traceback (most recent call last):
  File "SocketServer.pyo", line 560, in process_request_thread
  File "SocketServer.pyo", line 322, in finish_request
  File "SocketServer.pyo", line 617, in __init__
  File "ProxyServer.py", line 96, in handle
  File "ProxyServer.py", line 214, in handle_https_request
  File "ProxyServer.py", line 146, in _handle_with_plugin
  File "plugins\fakehttps.py", line 153, in handle
  File "plugins\fakehttps.py", line 140, in getCertificate
  File "plugins\fakehttps.py", line 67, in _makeCert
  File "plugins\fakehttps.py", line 33, in _createCertRequest
Error: [('asn1 encoding routines', 'ASN1_mbstring_ncopy', 'string too long')]
----------------------------------------
127.0.0.1 - [2011-08-16 09:38:52,913] INFO  "GET https://plus.google.com:443/u/0
/_/n/guc HTTP/1.1" 200 46 12
127.0.0.1 - [2011-08-16 09:39:06,875] INFO  "GET https://talkgadget.google.com:4
43/talkgadget/channel/test?OSID=EEE4E8F4764114A3&OAID=29&VER=8&clid=4015CB481A0B
7544&gsessionid=aQBqiBHEjEGQbKsbYYs1jw&prop=homepage&ujidr&no=true&MODE=init&zx=
l86ykkgdaktu&t=1 HTTP/1.1" 200 3 5

这个能搞不?

Original issue reported on code.google.com by wwfthero...@gmail.com on 16 Aug 2011 at 1:44

GoogleCodeExporter commented 9 years ago
有时能行,不稳定。

Original comment by unink4...@gmail.com on 16 Aug 2011 at 5:13

GoogleCodeExporter commented 9 years ago
我安装新版本其实就是为了这个的说....
期待解决。

另问,有没有其他办法将*.appspot指向****.***。。。
1.都说自建dns可行,但太麻烦了
2.又说pac里将proxy设为ipv6.google.com:80.但试了试不行

谢谢!

Original comment by wenjie88...@gmail.com on 16 Aug 2011 at 3:30

GoogleCodeExporter commented 9 years ago
#0 可能是域名太长
试试将src.zip/plugins/fakehttps.py中
def getCertificate(host):
    keyFile = os.path.join(cert_dir, '%s.key' % host)
改为
def getCertificate(host):
    host = host[:60]
    keyFile = os.path.join(cert_dir, '%s.key' % host)
#2 
proxy.conf中gaehost_http里面加入相应ip,如果需要用ipv6.google.com��
�注释掉gaehost_http并设置hosts = '.appspot.com ipv6.google.com'

Original comment by dtma...@163.com on 17 Aug 2011 at 5:07

GoogleCodeExporter commented 9 years ago
#3 
你好,src直接扔进去就能用了吗?不需要编译?不懂这语言��
�说,这是直接扔进去使用的log节选,那数字改成9999都没用:

----------------------------------------
Exception happened during processing of request from ('1271.27.0.0.1 - [2011-08-
17 14:12:20,707] INFO  "POST https://talkgadget.google.com:443/talkgadget/channe
l/bind?VER=8&clid=ECFAF1A31A0B7544&gsessionid=ITO3yp0yqUHUGMFlcKAp9Q&prop=homepa
ge&ujidr&no=true&RID=93638&CVER=1&zx=jir23ed2ik24&t=1 HTTP/1.1" 200 51 3
0.0.1', 50614)
Traceback (most recent call last):
  File "SocketServer.pyo", line 560, in process_request_thread
  File "SocketServer.pyo", line 322, in finish_request
  File "SocketServer.pyo", line 617, in __init__
  File "X:\Program Files\wallproxy-plus\local\src.zip\ProxyServer.py", line 96,
in handle
  File "X:\Program Files\wallproxy-plus\local\src.zip\ProxyServer.py", line 214,
 in handle_https_request
  File "X:\Program Files\wallproxy-plus\local\src.zip\ProxyServer.py", line 146,
 in _handle_with_plugin
  File "X:\Program Files\wallproxy-plus\local\src.zip\plugins\fakehttps.py", lin
e 154, in handle
  File "X:\Program Files\wallproxy-plus\local\src.zip\plugins\fakehttps.py", lin
e 141, in getCertificate
  File "X:\Program Files\wallproxy-plus\local\src.zip\plugins\fakehttps.py", lin
e 67, in _makeCert
  File "X:\Program Files\wallproxy-plus\local\src.zip\plugins\fakehttps.py", lin
e 33, in _createCertRequest
Error: [('asn1 encoding routines', 'ASN1_mbstring_ncopy', 'string too long')]
----------------------------------------

127.0.0.1 - [2011-08-17 14:12:35,048] ERROR code 502, message ['Server: Invalid
URL: ApplicationError: 1 ', 'Server: Invalid URL: ApplicationError: 1 ']
127.0.0.1 - [2011-08-17 14:12:35,049] INFO  "GET https://plus.google.com:443/_/d
iagnostics/?diagnostics=%5B%5B%5B%5Bnull%2C%5Bnull%2Cnull%2C%5B%5D%2C12%2C%5B%22
ggs%22%2C29%5D%2C%5B%22ggs%22%2C2%5D%2Cnull%2C%5B%5D%2Cnull%2C1313561525733%2C0%
2C0%2C1%2C%5B%5D%2Cnull%2C%5B%5D%2Cnull%2C%5B1%2C3%2C6%2C8%2C10%5D%5D%2C%5Bnull%
2C%5B%5D%2Cnull%2C%5B%5D%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2C%5B%5D%2C%5
B%5D%2Cnull%2Cnull%2C%5B%5D%2C%5B%5D%2Cnull%2Cnull%2Cnull%2C%5B%5D%2Cnull%2C%5B%
5D%2C%22d80mm7bf7z2k%22%5D%2C%5B%5D%5D%2C%5B%5B%5D%2C%22971508122032%22%2C%5B%5D
%2C%5B%5D%2Cnull%2Cnull%2C%5B%5D%5D%5D%2C%5B%5Bnull%2C%5Bnull%2C58%2C%5B%5D%2C11
%2Cnull%2C%5B%22ggs%22%2C2%5D%2C%5B%22ggs%22%2C1%5D%2C%5B%5D%2Cnull%2C1313561525
732%2C0%2C0%2C1%2C%5B%5D%2Cnull%2C%5B%5D%2Cnull%2C%5B1%2C3%2C6%2C8%2C10%5D%5D%5D
%5D%2C%5B%5Bnull%2C%5Bnull%2C10%2C%5B%5D%2C13%2Cnull%2C%5B%22ggs%22%2C1%5D%2C%5B
%22ggs%22%2C1%5D%2C%5B%5D%2Cnull%2C1313561528449%2C0%2C0%2C1%2C%5B%5D%2Cnull%2C%
5B%5D%2Cnull%2C%5B1%2C3%2C6%2C8%2C10%5D%5D%5D%5D%2C%5B%5Bnull%2C%5Bnull%2C456%2C
%5B%5D%2C14%2Cnull%2C%5B%22ggs%22%2C1%5D%2C%5B%22str%22%2C1%5D%2C%5B%5D%2Cnull%2
C1313561530029%2C0%2C0%2C1%2C%5B%5D%2Cnull%2C%5B%5D%2Cnull%2C%5B1%2C3%2C6%2C8%2C
10%5D%5D%2Cnull%2Cnull%2Cnull%2C%5B%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C
%5B%5D%2C%5B%5D%2Cnull%2Cnull%2C1%5D%5D%2Cnull%2Cnull%2C%5B%5B%5D%2C%5B%5D%2C%5B
%5D%2C%5B%5D%5D%5D%2C%5B%5Bnull%2C%5Bnull%2C103%2C%5B%5D%2C15%2Cnull%2C%5B%22str
%22%2C1%5D%2C%5B%22ggs%22%2C1%5D%2C%5B%5D%2Cnull%2C1313561536493%2C0%2C0%2C1%2C%
5B%5D%2Cnull%2C%5B%5D%2Cnull%2C%5B1%2C3%2C6%2C8%2C10%5D%5D%2Cnull%2Cnull%2C%5B%5
B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2Cnull%2Cnull%2C1%5D%
5D%2Cnull%2C%5B%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%5D%5D%2C%5B%5Bnull%2C%5Bnull%2C
null%2C%5B%5D%2C16%2C%5B%22ggs%22%2C10%5D%2C%5B%22ggs%22%2C1%5D%2Cnull%2C%5B%5D%
2Cnull%2C1313561539442%2C0%2C0%2C1%2C%5B%5D%2Cnull%2C%5B%5D%2Cnull%2C%5B1%2C3%2C
6%2C8%2C10%5D%5D%2C%5Bnull%2C%5B%5D%2Cnull%2C%5B%5D%2Cnull%2Cnull%2Cnull%2Cnull%
2Cnull%2Cnull%2C%5B%5D%2C%5B%5D%2Cnull%2Cnull%2C%5B%5D%2C%5B%5D%2Cnull%2Cnull%2C
null%2C%5B%5D%2Cnull%2C%5B%5D%5D%2C%5B%5D%5D%2C%5B%5B%5D%2C%22971508122032%22%2C
%5B%5D%2C%5B%5D%2Cnull%2Cnull%2C%5B%5D%5D%5D%2C%5B%5Bnull%2C%5Bnull%2C65%2C%5B%5
D%2C17%2Cnull%2C%5B%22ggs%22%2C1%5D%2C%5B%22ggs%22%2C2%5D%2C%5B%5D%2Cnull%2C1313
561539443%2C0%2C0%2C1%2C%5B%5D%2Cnull%2C%5B%5D%2Cnull%2C%5B1%2C3%2C6%2C8%2C10%5D
%5D%5D%5D%5D%5D HTTP/1.1" 502 - 3

127.0.0.1 - [2011-08-17 14:12:40,135] ERROR "CONNECT www.google.com:443 HTTP/1.0
" SSLError:[Errno 8] _ssl.c:490: EOF occurred in violation of protocol

Original comment by wwfthero...@gmail.com on 17 Aug 2011 at 6:28

GoogleCodeExporter commented 9 years ago
url太长....

Original comment by huxim...@gmail.com on 7 Oct 2011 at 3:56