好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

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

关于如何用GoAgent翻墙,参考http://hi.baidu测试数据/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测试数据|.googleusercontent测试数据|.googleapis测试数据|.google-analytics测试数据|.googlecode测试数据|.google测试数据.hk|.appspot测试数据|.android测试数据|.googlegroups测试数据|.googlesource测试数据

forcehttps = HdhCmsTestgoogle测试数据.hk/url|.appspot测试数据|HdhCmsTestgoogle测试数据/url|groups.google测试数据|code.google测试数据|mail.google测试数据|docs.google测试数据|profiles.google测试数据|developer.android测试数据|HdhCmsTestgoogle测试数据.hk|webcache.googleusercontent测试数据

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

[google_hk]

mode = https

window = 4

hosts = HdhCmsTestgoogle测试数据|mail.google测试数据|HdhCmsTestl.google测试数据|mail.l.google测试数据|HdhCmsTestgoogle测试数据.hk

sites = .google.cn|.google测试数据|.googleusercontent测试数据|.googleapis测试数据|.google-analytics测试数据|.googlecode测试数据|.google测试数据.hk|.googlegroups测试数据|.googlesource测试数据

forcehttps = HdhCmsTestgoogle测试数据.hk/url|HdhCmsTestgoogle测试数据/url|groups.google测试数据|mail.google测试数据|docs.google测试数据|profiles.google测试数据|developer.android测试数据|HdhCmsTestgoogle测试数据.hk|webcache.googleusercontent测试数据

withgae = HdhCmsTestgoogle测试数据.hk/imgres|HdhCmsTestgoogle测试数据/imgres|play.googleapis测试数据|plusone.google测试数据|reader.googleusercontent测试数据|music.google测试数据|apis.google测试数据|feedproxy.google测试数据|books.google测试数据|autoproxy-gfwlist.googlecode测试数据|c.docs.google测试数据|translate.google测试数据|translate.googleapis测试数据

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

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

如图:

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

查看更多关于facebook走起!完美解决goagent打开页面出现403错误,_html/css_WEB-IT的详细内容...

  阅读:44次