codegooglecom / snova

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

弱问Heroku平台支持https浏览吗? #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
求指教。是不是所有C4模式的平台都原生支持https浏览?需不�
��要专门的配置?

我的情况是搭建好heroku服务器端后,将gsnova客户端配置好后��
�用,但snova客户端则连不上。并且用gsnova时,facebook的https浏�
��页面不正常,http浏览才对头。

以下是我的snova.conf文件:
[Framework]
ProxyService=C4
ThreadPoolSize=30
LocalPort=48100
LocalHost=127.0.0.1
PluginRepository=http://snova.googlecode.com/svn/trunk/repository/plugins.xml

这个则是c4-client.conf文件:
[C4]
#WorkerNode[0]=自己的账号.herokuapp.com
#WorkerNode[1]=没配置的账号.cloudfoundry.com
WorkerNode[0]=

[RServer]
#ExternalIP=
Port=48101

[Client]
#Support HTTP
ConnectionMode=HTTP
ConnectionPoolSize=2
SessionIdleTimeout=80000
SimpleURLEnable=true
Compressor=Snappy
Encrypter=SE1
HTTPRequestTimeout=50000
MinWritePeriod = 500
UserAgent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 
(KHTML, like Gecko) Chrome/4.1.249.1045 Safari/532.5

[DomainBinding]
#domain=twitter.com|youtube.com

谢谢~

Original issue reported on code.google.com by freezing...@gmail.com on 10 Sep 2012 at 1:15

GoogleCodeExporter commented 9 years ago
补充:
我又部署了cloudfoundry的服务器端,依旧是gsnova能用但snova不能
用。cloudfoundry服务器端+gsnova客户端的速度很理想,youtube也很
流畅。于是我把火狐autoproxy里所调用的代理全都设为gsnova,��
�现了这样一个问题:
google旗下网站和facebook:需要同时打开gsnova和goagent才能浏览��
�只打开其中之一的话不能浏览,facebook的https模式显示正常(
以前单用goagent的话facebook是不能https的);
其他网站:只打开gsnova就能浏览;
困惑中,跪求指导。感激不尽~~
附我的配置文件gsnova.conf:
[LocalServer]
Listen=localhost:48100

[Admin]
#Listen=localhost:8100

[GAE]
Enable=0
WorkerNode[0]=
ConnectionMode=HTTP
Compressor=Snappy
Encrypter=SE1
InjectRange=youtube.com
UserAgent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 
(KHTML, like Gecko) Chrome/18.1.249.1045 Safari/532.5
RangeFetchRetryLimit=1
ConnectionPoolSize=20
FetchLimitSize=256000

[C4]
Enable=1
WorkerNode[0]=自个儿的域名.cloudfoundry.com
//WorkerNode[1]=自个儿的域名.herokuapp.com
ConnectionMode=HTTP
ConnectionPoolSize=2
HTTPMinWritePeriod = 250
#RSocketPort=48101
#RSocketHeartBeatPeriod = 1
Compressor=Snappy
Encrypter=SE1
UserAgent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 
(KHTML, like Gecko) Chrome/18.1.249.1045 Safari/532.5

[Google]
Enable=0
UseGlobalProxy=0
HTTPHost=GoogleCNIP
HTTPSHost=GoogleHttps

[AutoHost]
Enable=0
Repo[0]=http://smarthosts.googlecode.com/svn/trunk/hosts

[SPAC]
Enable=0
Default=C4
Script=spac.json

[LocalProxy]
Proxy=http://GoogleCNIP
#Proxy=https://GoogleHttps

这个是hosts.conf文件,没改动过:
#myappid.appspot.com=www.google.cn
GoogleCN=www.google.cn,translate.google.cn
GoogleCNIP=203.208.46.1|203.208.46.2|203.208.46.3|203.208.46.4|203.208.46.5|203.
208.46.6|203.208.46.7|203.208.46.8
GoogleHttps=mail.google.com|reader.google.com|www.google.com.hk
GoogleHttpsIP=209.85.175.32|209.85.175.33|209.85.175.37|209.85.175.34|209.85.175
.35|209.85.175.40|209.85.175.41|209.85.175.63|209.85.175.51|209.85.175.69|209.85
.175.76|209.85.175.77|209.85.175.46|209.85.175.45|209.85.175.93|209.85.175.91|20
9.85.175.102|209.85.175.98|209.85.175.114|209.85.175.118|209.85.175.129|209.85.1
75.101|209.85.175.139|209.85.175.113|209.85.175.138|209.85.175.136|209.85.175.19
0|209.85.175.251|209.85.229.105

这个是spac.json文件,也没改动过:
[
  {
    "Host" : ["groups.google.com", "*google-analytics.com*","*golang.org","*.gstatic.com*", "*.googleapis.com*", "*.googleusercontent.com*"],
    "Proxy":"GoogleHttps"
  },
  {
    "Host" : ["*google.com*", "*.doubleclick.net*", "*googleadservices.com*"],
    "Proxy":"GoogleHttps"
  },
  {
    "Host" : ["*.ytimg.com*", "www.youtube.com*", "code.google.com", "*.googlecode.com", "*.android.com", "*.appspot.com*"],
    "Proxy":"Google"
  },
  {
    "Method":["CONNECT"],
    "Host" : ["Target https domain patterns for socks5 proxy"],
    "Proxy":"socks://127.0.0.1:7070"
  },
  {
    "Host" : ["Target domain patterns for 3rd http proxy"],
    "Proxy":"http://127.0.0.1:8080"
  },
  {
    "Host" : ["Configure direct access sites, like *.qq.com*"],
    "Proxy":"Direct"
  }
]

Original comment by freezing...@gmail.com on 10 Sep 2012 at 5:48

GoogleCodeExporter commented 9 years ago
#WorkerNode[0]=自己的账号.herokuapp.com
#WorkerNode[1]=没配置的账号.cloudfoundry.com
WorkerNode[0]=

注意snova的配置中,#开头意味者这一行是被注释掉的;gsnova��
�配置是正确的
需要同时打开gsnova和goagent意味者autoproxy自动选择之类的还是�
��效的

Original comment by yinqiwen@gmail.com on 10 Sep 2012 at 6:13

GoogleCodeExporter commented 9 years ago
感谢指点。我把cloudfoundry行前面的#去掉后Snova就也能用了。��
�狐中autoproxy的问题重启后也不存在了。按理说Snova比GSnova完��
�,不过使用中发现Snova对有的网站并未完全打开就停止加载��
�,刷新后情况依旧,不知道是不是还有的参数没配置好;而G
Snova就完全没看到这样的情况。现在就基本用GSnova替代Goagent��
�呵呵,要是能最小化到右下角图标就更好了:)

Original comment by freezing...@gmail.com on 11 Sep 2012 at 12:52