google-code-export / snova

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

部署在heroku上很多网站都无法访问 #222

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
服务器端Snova C4 Server 0.19.0
本地gsnova-0.19.2
包括www.bbc.co.uk在内很多网站都无法访问,只有G+可以,国内的基
本都可以.

Original issue reported on code.google.com by xiaoman2...@gmail.com on 3 Dec 2012 at 2:53

GoogleCodeExporter commented 9 years ago
注意默认的有GFWList判断,非GFWList的直接访问;
关闭GFWList最简单的方法是把[SPAC]下的Enable改为0

Original comment by yinqiwen@gmail.com on 3 Dec 2012 at 2:56

GoogleCodeExporter commented 9 years ago
我用chrome+swirchysharp,一直使用手动切换,跟用goagent一样.从不用
自动
刚才把[SPAC]下的Enable改为0后直接什么网都不能上了

Original comment by xiaoman2...@gmail.com on 3 Dec 2012 at 3:01

GoogleCodeExporter commented 9 years ago
确认服务器端部署成功?部署成功后浏览器直接访问域名有sn
ova相关信息

Original comment by yinqiwen@gmail.com on 3 Dec 2012 at 3:03

GoogleCodeExporter commented 9 years ago
当然,还能连上这里,我现在就是用的snova发的贴

Original comment by xiaoman2...@gmail.com on 3 Dec 2012 at 3:06

GoogleCodeExporter commented 9 years ago
google旗下的站点不是通过C4访问的,默认是直接连接;你可以
看下spac下的cloud_spac.json

Original comment by yinqiwen@gmail.com on 3 Dec 2012 at 3:08

GoogleCodeExporter commented 9 years ago
看了下命令行
........fail to dial address:c4 for reason:missing port in address c4
然后就自动去连接80端口了..

Original comment by xiaoman2...@gmail.com on 3 Dec 2012 at 3:12

GoogleCodeExporter commented 9 years ago
C4配置错了?

Original comment by yinqiwen@gmail.com on 3 Dec 2012 at 3:13

GoogleCodeExporter commented 9 years ago
cloud_spac.json文件我没修改过

Original comment by xiaoman2...@gmail.com on 3 Dec 2012 at 3:15

GoogleCodeExporter commented 9 years ago
[C4]
Enable=1
WorkerNode[0]=----------------------.herokuapp.com
ConnectionMode=HTTP
MaxReadBytes = 65536
ReadTimeout = 25
Compressor=Snappy
Encrypter=SE1
UserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 
Firefox/15.0.1

Original comment by xiaoman2...@gmail.com on 3 Dec 2012 at 3:17

GoogleCodeExporter commented 9 years ago
[C4]
Enable=1
WorkerNode[0]=xxx.herokuapp.com

注意配置成上面形式,xxx.herokuapp.com在浏览器访问后能够看到
snova相关字样

Original comment by yinqiwen@gmail.com on 3 Dec 2012 at 3:17

GoogleCodeExporter commented 9 years ago
[SPAC]下的C4需要是大写的C

Original comment by yinqiwen@gmail.com on 3 Dec 2012 at 3:19

GoogleCodeExporter commented 9 years ago
有的,最下面还有个DOMAIN NAME的框,需要添上吗

Original comment by xiaoman2...@gmail.com on 3 Dec 2012 at 3:21

GoogleCodeExporter commented 9 years ago
哪里?

Original comment by yinqiwen@gmail.com on 3 Dec 2012 at 3:23

GoogleCodeExporter commented 9 years ago
[SPAC]下的C4需要是大写的C
汗~~就是这个大写

Original comment by xiaoman2...@gmail.com on 3 Dec 2012 at 3:24