google-code-export / snova

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

打开code.google.com/*网站提示cookie设置存在问题 #255

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
版本0.19.3 gsnova x64 + chrome最新版
比如打开http://code.google.com/p/snova/ 就提示:

我们检测到您的 Cookie 设置存在问题。

启用 Cookie
请确保已启用您的 Cookie。要启用 
Cookie,请按照这些特定于浏览器的说明执行操作。
清除缓存和 Cookie
如果启用 Cookie 之后仍然存在问题,请清除浏览器的缓存和 
Cookie。
调整隐私权设置
如果清除缓存和 Cookie 
不能解决问题,请尝试调整浏览器的隐私权设置。如果您的��
�置为“高”,请手动将 www.google.com 
添加到允许的网站列表中。 

firefox无此问题,chrome下https也无问题,直连无问题,goagent和a
pjp也无此问题,清空cookie不管用

Original issue reported on code.google.com by fifa...@gmail.com on 11 Dec 2012 at 5:46

GoogleCodeExporter commented 9 years ago
是跳转到https://accounts.google.com/CookieMismatch
这个页面提示cookie问题

Original comment by fifa...@gmail.com on 11 Dec 2012 at 5:51

GoogleCodeExporter commented 9 years ago
修改了spac设置?

Original comment by yinqiwen@gmail.com on 11 Dec 2012 at 6:25

GoogleCodeExporter commented 9 years ago
对,修改了user的spac,不过貌似还原回去也会报相同错误

Original comment by fifa...@gmail.com on 11 Dec 2012 at 6:26

GoogleCodeExporter commented 9 years ago
我发觉还原spac,然后清空cookie解决了……
请作者看下我的spac哪里的问题

[
  {
    "Filter" : ["!IsBlockedByGFW"],
    "Proxy":["Direct", "Default"]
  },
  {
    "Host" : ["play.google.com*"],
    "Proxy":["C4"]  
  },
  {
    "Protocol" : "https",
    "Host" : ["*.ytimg.com*", "*.google.com(.*)?","*.googleusercontent.com*", "*.gstatic.com", "*.googleapis.com*", "*.googlecode.com"],
    "Proxy":["GoogleHttps", "Direct", "C4"]
  },
  {
    "Protocol" : "https",
    "Host" : ["*.doubleclick.net*", "*.google-analytics.com*", "www.blogger.com", "*.google.co.*"],
    "Proxy":["GoogleHttps", "Direct", "C4"]
  },  
  {
    "Protocol" : "https",  
    "Host" : ["*.blogspot.*", "*.appspot.com", "golang.org"],
    "Proxy": ["GoogleHttps", "Direct", "C4"]
  },
  {
    "Protocol" : "https",
    "Host" : ["*.youtube.com"],
    "Proxy":["GoogleHttps", "C4"],
    "Attr":  ["Direct", "CRLF"] 
  },
  {
    "Protocol" : "https",
    "Host" : ["*.facebook.com", "*.fbcdn.net", "*.thefacebook.com", "*.tfbnw.net", "fbcdn-profile-a.akamaihd.net", "fbcdn-sphotos-a.akamaihd.net"],
    "Proxy":["Direct", "C4"]  
  },  
  {
    "Protocol" : "https",
    "Proxy":  ["C4"]
  },
  {
    "Host" : ["*.youtube.com", "av.vimeo.com", "av.voanews.com"],
    "Proxy": ["Default"],
    "Attr":  ["Range"]
  },
  {
    "Protocol":"https",
    "Host" : ["Target https domain patterns for proxy"],
    "Proxy":["socks://127.0.0.1:7070"]
  },
  {
    "Host" : ["Target domain patterns for proxy"],
    "Proxy":["http://127.0.0.1:8080"]
  }
]

Original comment by fifa...@gmail.com on 11 Dec 2012 at 6:32

GoogleCodeExporter commented 9 years ago
这是你的user_spac.json?

Original comment by yinqiwen@gmail.com on 11 Dec 2012 at 6:33

GoogleCodeExporter commented 9 years ago
对的

Original comment by fifa...@gmail.com on 11 Dec 2012 at 8:00

GoogleCodeExporter commented 9 years ago
经过多次试验确定以下结论:
还原为初始的spac,清空google的cookie,在不登录google账户的前�
��下一切正常

一旦登录google则就出上文的错误,请yinqiwen帮忙解决下,呵呵

Original comment by fifa...@gmail.com on 11 Dec 2012 at 8:21

GoogleCodeExporter commented 9 years ago
只有chrome有这个问题,其他浏览器好像没有
临时加了条规则,凑合着解决下……
    "Protocol" : "http",
    "Host": ["code.google.com"],
    "Attr":  ["RedirectHttps"]

请作者看看是否有更好的办法

Original comment by fifa...@gmail.com on 11 Dec 2012 at 9:07

GoogleCodeExporter commented 9 years ago
删掉user_spac.json的!IsBlockedByGFW那一条规则试试

Original comment by yinqiwen@gmail.com on 11 Dec 2012 at 9:09

GoogleCodeExporter commented 9 years ago
不行,貌似无效,还原了user_spac,删除那条规则,还是不行

Original comment by fifa...@gmail.com on 11 Dec 2012 at 9:17

GoogleCodeExporter commented 9 years ago
找到问题了!是因为在chrome中我用proxy 
switchysharp把snova设置成socks5代理了!
用http代理就正常了

Original comment by fifa...@gmail.com on 11 Dec 2012 at 9:23

GoogleCodeExporter commented 9 years ago
不是还原。 附件是没重现问题的设置

Original comment by yinqiwen@gmail.com on 11 Dec 2012 at 9:24

Attachments:

GoogleCodeExporter commented 9 years ago
跟user_spac无关啦,是snova设置成socks5代理的关系,
请问yinqiwen,snova得socks5实现是不是不够完善的?

Original comment by fifa...@gmail.com on 11 Dec 2012 at 9:33

GoogleCodeExporter commented 9 years ago
有可能;实际上是socks5转为HTTP代理的实现

Original comment by yinqiwen@gmail.com on 11 Dec 2012 at 10:24