Heim  >  Artikel  >  Web-Frontend  >  facebook走起!完美解决goagent打开页面出现403错误,_html/css_WEB-ITnose

facebook走起!完美解决goagent打开页面出现403错误,_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:05:571819Durchsuche

关于如何用GoAgent翻墙,参考http://hi.baidu.com/destroywall/item/bf33169665be48b3cc80e57d

有段时间没有折腾了,居然上facebook报错的!

如图:

【解决过程】

1.最近是遇到好多次了。

没去理。

现在决定去解决掉此问题。

2.参考:

我就知道 403来了 Issues又要爆了

去本地把:

D:\soft\windows\goagent\goagent-65b9542b98d2\goagent-65b9542b98d2\local\proxy.ini

中的[gae]部分的:

profile = google_cn

如图:

改为:

profile = google_hk

如图:

注:

对应的,

D:\soft\windows\goagent\goagent-65b9542b98d2\goagent-65b9542b98d2\local\proxy.ini

中,本身就存在对应的google_cn和google_hk这两个配置的:

?

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

[google_cn]

mode = https

window = 2

hosts = 203.208.46.131|203.208.46.132|203.208.46.133|203.208.46.134|203.208.46.135|203.208.46.136|203.208.46.137|203.208.46.138

sites = .google.cn|.google.com|.googleusercontent.com|.googleapis.com|.google-analytics.com|.googlecode.com|.google.com.hk|.appspot.com|.android.com|.googlegroups.com|.googlesource.com

forcehttps = www.google.com.hk/url|.appspot.com|www.google.com/url|groups.google.com|code.google.com|mail.google.com|docs.google.com|profiles.google.com|developer.android.com|www.google.com.hk|webcache.googleusercontent.com

withgae = plus.google.com|play.googleapis.com|plusone.google.com|reader.googleusercontent.com|music.google.com|apis.google.com|feedproxy.google.com|books.google.com|autoproxy-gfwlist.googlecode.com|c.docs.google.com|translate.google.com

  

[google_hk]

mode = https

window = 4

hosts = www.google.com|mail.google.com|www.l.google.com|mail.l.google.com|www.google.com.hk

sites = .google.cn|.google.com|.googleusercontent.com|.googleapis.com|.google-analytics.com|.googlecode.com|.google.com.hk|.googlegroups.com|.googlesource.com

forcehttps = www.google.com.hk/url|www.google.com/url|groups.google.com|mail.google.com|docs.google.com|profiles.google.com|developer.android.com|www.google.com.hk|webcache.googleusercontent.com

withgae = www.google.com.hk/imgres|www.google.com/imgres|play.googleapis.com|plusone.google.com|reader.googleusercontent.com|music.google.com|apis.google.com|feedproxy.google.com|books.google.com|autoproxy-gfwlist.googlecode.com|c.docs.google.com|translate.google.com|translate.googleapis.com

3.然后再重启goagent,重新访问刚才出错的页面,看看是否可以:

此时,重启goagent后,也可以看到对应的GAE的profile,变成了google_hk了:

?

1

2

3

4

5

6

7

8

------------------------------------------------------

GoAgent Version    : 3.0.5 (python/2.7.5 gevent/1.0dev pyopenssl/0.13)

Listen Address     : 127.0.0.1:8087

GAE Mode           : https

GAE Profile        : google_hk

GAE APPID          : xxx|yyy

Pac Server         :  http://127.0.0.1:8086/proxy.pac

------------------------------------------------------

如图:

再去访问页面,看看结果,的确是可以正常打开页面了:

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn