summerstar8 / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

0.18.4连接不上 #183

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Win64,已更新18.4.
连接不上,本地goagent能用。
错误如下:望作者指导
2012/11/18 20:59:58 hosts.go:156: Init AutoHost.
2012/11/18 20:59:58 google.go:413: Init Google.
2012/11/18 20:59:58 gae.go:735: Init GAE.
2012/11/18 20:59:58 gae.go:259: Failed to request data from 
GAE:*****1.appspot.com for:unexpected EOF
2012/11/18 20:59:58 gae.go:188: unexpected EOF
2012/11/18 20:59:58 gae.go:259: Failed to request data from 
GAE:*****1.appspot.com for:WSARecv tcp 192.168.1.100:52784: An existing 
connection was forcibly closed by the remote host.
2012/11/18 20:59:58 gae.go:188: WSARecv tcp 192.168.1.100:52784: An existing 
connection was forcibly closed by the remote host.
2012/11/18 20:59:58 gae.go:783: Failed to auth appid:WSARecv tcp 
192.168.1.100:52784: An existing connection was forcibly closed by the remote 
host.
2012/11/18 20:59:58 launch.go:81: [WARN]Failed to init GAE:WSARecv tcp 
192.168.1.100:52784: An existing connection was forcibly closed by the remote 
host.
2012/11/18 20:59:58 launch.go:97: =============Start gsnova 0.18.4==============
2012/11/18 20:59:58 launch.go:52: Listen on address localhost:48100
2012/11/18 21:00:03 local_hosts.go:37: Fetch remote clound spac 
rule:https://snova.googlecode.com/svn/trunk/repository/cloud_hosts.conf
2012/11/18 21:00:03 spac.go:356: Generate PAC from  gfwlist 
https://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt
2012/11/18 21:00:03 spac.go:313: Fetch remote clound spac 
rule:https://snova.googlecode.com/svn/trunk/repository/cloud_spac.json
2012/11/18 21:00:17 google.go:327: Session[1]Request GET http://www.youtube.com/
2012/11/18 21:00:17 dispatch.go:104: Session[1][WARN][GoogleHttp]Failed to 
request proxy event for reason:unexpected EOF
2012/11/18 21:00:17 forward.go:466: Session[1]Request GET 
http://www.youtube.com/
2012/11/18 21:00:39 forward.go:96: Found 74.125.235.72:80 for www.youtube.com:80
2012/11/18 21:00:39 forward.go:466: Session[1]Request GET 
http://www.youtube.com/
2012/11/18 21:00:39 forward.go:468: Session[1]Inject CRLF for www.youtube.com
2012/11/18 21:00:39 forward.go:509: Session[1]Recv response with error 
unexpected EOF
2012/11/18 21:00:39 dispatch.go:104: 
Session[1][WARN][Forwardhttp://www.youtube.com:80]Failed to request proxy event 
for reason:unexpected EOF
2012/11/18 21:00:39 forward.go:466: Session[1]Request GET 
http://www.youtube.com/
2012/11/18 21:00:49 forward.go:466: Session[3]Request GET 
http://addons.g-fox.cn/ntab.gif?c=ntab&t=view&a=load&d=quickdial&f=&r=0.20810095
535196027&cid=www.firefox.com.cn
2012/11/18 21:00:49 forward.go:466: Session[2]Request GET 
http://addons.g-fox.cn/ntab.gif?c=ntab&t=qdtab&a=load&d=grid&f=&r=0.332097115995
95926&cid=www.firefox.com.cn
2012/11/18 21:00:56 forward.go:466: Session[5]Request GET 
http://www.bbc.co.uk/zhongwen/simp/
2012/11/18 21:00:56 forward.go:96: Found 212.58.244.66:80 for www.bbc.co.uk:80
2012/11/18 21:00:56 forward.go:466: Session[5]Request GET 
http://www.bbc.co.uk/zhongwen/simp/
2012/11/18 21:00:56 forward.go:468: Session[5]Inject CRLF for www.bbc.co.uk
2012/11/18 21:00:56 forward.go:509: Session[5]Recv response with error WSARecv 
tcp 192.168.1.100:52806: The specified network name is no longer available.
2012/11/18 21:00:56 dispatch.go:104: 
Session[5][WARN][Forwardhttp://www.bbc.co.uk:80]Failed to request proxy event 
for reason:WSARecv tcp 192.168.1.100:52806: The specified network name is no 
longer available.
2012/11/18 21:00:56 dispatch.go:139: Session[5]Process error:No proxy found for 
request 'GET www.bbc.co.uk' with 1 candidates for host:www.bbc.co.uk
2012/11/18 21:00:56 dispatch.go:199: Session[5]Failed to read http request:use 
of closed network connection
2012/11/18 21:00:56 forward.go:466: Session[6]Request GET 
http://www.bbc.co.uk/favicon.ico
2012/11/18 21:00:57 forward.go:96: Found 212.58.244.66:80 for www.bbc.co.uk:80
2012/11/18 21:00:57 forward.go:466: Session[6]Request GET 
http://www.bbc.co.uk/favicon.ico
2012/11/18 21:00:57 forward.go:468: Session[6]Inject CRLF for www.bbc.co.uk
2012/11/18 21:00:57 forward.go:509: Session[6]Recv response with error WSARecv 
tcp 192.168.1.100:52810: The specified network name is no longer available.
2012/11/18 21:00:57 dispatch.go:104: 
Session[6][WARN][Forwardhttp://www.bbc.co.uk:80]Failed to request proxy event 
for reason:WSARecv tcp 192.168.1.100:52810: The specified network name is no 
longer available.
2012/11/18 21:00:57 forward.go:466: Session[6]Request GET 
http://www.bbc.co.uk/favicon.ico
2012/11/18 21:00:57 forward.go:96: Found 212.58.244.66:80 for www.bbc.co.uk:80
2012/11/18 21:00:57 forward.go:466: Session[6]Request GET 
http://www.bbc.co.uk/favicon.ico
2012/11/18 21:00:57 forward.go:468: Session[6]Inject CRLF for www.bbc.co.uk
2012/11/18 21:00:57 forward.go:509: Session[6]Recv response with error WSARecv 
tcp 192.168.1.100:52813: The specified network name is no longer available.
2012/11/18 21:00:57 dispatch.go:104: 
Session[6][WARN][Forwardhttp://www.bbc.co.uk:80]Failed to request proxy event 
for reason:WSARecv tcp 192.168.1.100:52813: The specified network name is no 
longer available.
2012/11/18 21:00:57 dispatch.go:139: Session[6]Process error:No proxy found for 
request 'GET www.bbc.co.uk' with 2 candidates for host:www.bbc.co.uk
2012/11/18 21:00:57 dispatch.go:199: Session[6]Failed to read http request:use 
of closed network connection
2012/11/18 21:00:58 forward.go:96: Found 74.125.235.72:80 for www.youtube.com:80
2012/11/18 21:00:58 forward.go:466: Session[1]Request GET 
http://www.youtube.com/
2012/11/18 21:00:58 forward.go:468: Session[1]Inject CRLF for www.youtube.com
2012/11/18 21:00:58 forward.go:509: Session[1]Recv response with error WSARecv 
tcp 192.168.1.100:52815: The specified network name is no longer available.
2012/11/18 21:00:58 dispatch.go:104: 
Session[1][WARN][Forwardhttp://www.youtube.com:80]Failed to request proxy event 
for reason:WSARecv tcp 192.168.1.100:52815: The specified network name is no 
longer available.
2012/11/18 21:00:58 dispatch.go:139: Session[1]Process error:No proxy found for 
request 'GET www.youtube.com' with 3 candidates for host:www.youtube.com
2012/11/18 21:00:58 dispatch.go:199: Session[1]Failed to read http request:use 
of closed network connection
2012/11/18 21:01:05 forward.go:466: Session[7]Request GET 
http://www.bbc.co.uk/zhongwen/simp/
2012/11/18 21:01:06 forward.go:96: Found 212.58.244.66:80 for www.bbc.co.uk:80
2012/11/18 21:01:06 forward.go:466: Session[7]Request GET 
http://www.bbc.co.uk/zhongwen/simp/
2012/11/18 21:01:06 forward.go:468: Session[7]Inject CRLF for www.bbc.co.uk
2012/11/18 21:01:06 forward.go:509: Session[7]Recv response with error WSARecv 
tcp 192.168.1.100:52819: The specified network name is no longer available.
2012/11/18 21:01:06 dispatch.go:104: 
Session[7][WARN][Forwardhttp://www.bbc.co.uk:80]Failed to request proxy event 
for reason:WSARecv tcp 192.168.1.100:52819: The specified network name is no 
longer available.
2012/11/18 21:01:06 dispatch.go:139: Session[7]Process error:No proxy found for 
request 'GET www.bbc.co.uk' with 1 candidates for host:www.bbc.co.uk
2012/11/18 21:01:06 dispatch.go:199: Session[7]Failed to read http request:use 
of closed network connection

Original issue reported on code.google.com by cnf...@gmail.com on 18 Nov 2012 at 1:03

GoogleCodeExporter commented 9 years ago
配置可能错了,或者GAE服务端未部署成功

Original comment by yinqiwen@gmail.com on 18 Nov 2012 at 1:37

GoogleCodeExporter commented 9 years ago
配置直接下载的,就在WorkerNode那里加了appid。
服务端怕没部署好挂vpn重新传了一次。
问题依旧。

Original comment by cnf...@gmail.com on 18 Nov 2012 at 2:05

GoogleCodeExporter commented 9 years ago
服务端部署后,要确保最后用浏览器看到snova字样(用代理)

然后仍然不行的话,修改gsnova.conf中[LocalProxy]下面两行为下面
:
[LocalProxy]
#Proxy=http://GoogleCN
Proxy=https://GoogleHttps

Original comment by yinqiwen@gmail.com on 18 Nov 2012 at 2:09

GoogleCodeExporter commented 9 years ago
用浏览器能看到snova字样。
18.4版本依然显示的是17.2正在运行,这个是作者未更新吧?

Original comment by cnf...@gmail.com on 18 Nov 2012 at 2:11

GoogleCodeExporter commented 9 years ago
服务端不用更新。

Original comment by yinqiwen@gmail.com on 18 Nov 2012 at 2:12

GoogleCodeExporter commented 9 years ago
哦,我看downloads里有个Snova GAE(Go) server V0.18.4
我更新了这个,并且确定浏览器里能看到snova正在运行。
已修改[LocalProxy]
#Proxy=http://GoogleCN
Proxy=https://GoogleHttps
勉强能打开了,但是很慢

Original comment by cnf...@gmail.com on 18 Nov 2012 at 2:24

GoogleCodeExporter commented 9 years ago
google的https 
443端口被间歇性阻断,所以改成了Proxy=http://GoogleCN,但这个��
�能在某些地域不适用

Original comment by yinqiwen@gmail.com on 18 Nov 2012 at 2:29

GoogleCodeExporter commented 9 years ago
失败次数很多
等于无法使用,不晓得哪里出了问题
按道理Google的ip受到干扰的话goagent也应该不能用,但本地使��
�goagent正常

Original comment by cnf...@gmail.com on 18 Nov 2012 at 2:29

GoogleCodeExporter commented 9 years ago
能用google hk的ip不?
怎么改

Original comment by cnf...@gmail.com on 18 Nov 2012 at 2:30

GoogleCodeExporter commented 9 years ago
hosts目录下有一个cloud_hosts.conf文件, 
可以修改GoogleHttpsIP对应的IP
改完后,修改Proxy=https://GoogleHttpsIP即可让GAE通过这些IP

Original comment by yinqiwen@gmail.com on 18 Nov 2012 at 2:33

GoogleCodeExporter commented 9 years ago
cloud_hosts.conf文件里的ip我这好像能ping通啊

Original comment by cnf...@gmail.com on 18 Nov 2012 at 2:42

GoogleCodeExporter commented 9 years ago
https://GoogleHttps  这个是域名
https://GoogleHttpsIP 这个才是IP

Original comment by yinqiwen@gmail.com on 18 Nov 2012 at 2:44

GoogleCodeExporter commented 9 years ago
建议使用C4端,较GAE稳定,谷歌IP在全国的情况不同,且间歇�
��阻断严重。

Original comment by avo...@gmail.com on 19 Nov 2012 at 1:40

GoogleCodeExporter commented 9 years ago
用IP也会间歇性阻断吗,还是说IP总是经常被封需要换。也没�
��个地方可以经常更新可连的Google 
IP。去年还有人做了个hosts自动更新的小程序,现在也没地方�
��以随时查到最新的可用IP了。

Original comment by amoyy...@gmail.com on 20 Nov 2012 at 2:12

GoogleCodeExporter commented 9 years ago
主要是几个C4都试下来发现速度不如goagent最新版或VPN,纯文��
�的twitter还好,但像有图片等复杂网页内容的facebook页面,yout
ube视频等确实能感觉出速度的差别。

Original comment by amoyy...@gmail.com on 20 Nov 2012 at 2:15

GoogleCodeExporter commented 9 years ago
为什么用https://GoogleHttpsIP不会出现unexpected 
EOF错误导致无法使用,却没法打开facebook页面了,浏览器提示
“The proxy server is refusing 
connections”,同样的配置可以访问twitter。日志见附件。

谢谢。

Original comment by amoyy...@gmail.com on 20 Nov 2012 at 2:23

Attachments:

GoogleCodeExporter commented 9 years ago
https是ssl加密过的, http是非加密的
日志里没看到facebook相关的信息

Original comment by yinqiwen@gmail.com on 20 Nov 2012 at 2:51

GoogleCodeExporter commented 9 years ago
更新到18.4也是Failed to request data from GAE:*****1.appspot.com 
for:unexpected 
EOF,换回18.3无问题。或者18.4使用18.3的配置文件也正常。

Original comment by eba8...@gmail.com on 20 Nov 2012 at 3:40

GoogleCodeExporter commented 9 years ago
墙升级后默认配置失效了

Original comment by yinqiwen@gmail.com on 20 Nov 2012 at 3:45

GoogleCodeExporter commented 9 years ago
我这里18.3的配置文件还可以使用

Original comment by eba8...@gmail.com on 20 Nov 2012 at 6:38

GoogleCodeExporter commented 9 years ago
javas端的snova用GAE服务器上facebook有时也会出现问题,提示Acces
s Restricted (Bad IP)。见附件截图。
日志也在附件中。没找到日志里有访问网站的记录,因此也��
�会有facebook相关的信息。但就是网站打开会有问题(很慢或者�
��错)。

Original comment by amoyy...@gmail.com on 21 Nov 2012 at 2:13

Attachments:

GoogleCodeExporter commented 9 years ago
是不是因为java客户端要比Go客户端慢不少? 
有人说用cloudfoundry挺快,而我这里java客户端加载facebook首页��
�者个人档案页却有时1分钟还未完成或显示格式错乱。服务器
端是通过C4连自己搭建的cloudfoundry服务器。
比起港澳网络或VPN访问facebook速度和质量还是差别比较明显。

Original comment by amoyy...@gmail.com on 21 Nov 2012 at 2:26