1029135136 / gaeproxy

Automatically exported from code.google.com/p/gaeproxy
GNU General Public License v3.0
0 stars 0 forks source link

twitter facebook 无法登陆 #310

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
前几天一切正常,自从前天开始无法使用,goagent升级到2.0的�
��本。G14 android 2.3

Before posting an issue, please follow these steps.
Otherwise, your issue should be marked as invalid.

请先按照如下步骤获得调试信息,并与你的问题一同提交
,否则将被自动标为无效。

1. Restart your device, then attach your phone
to your computer. Make sure "global proxy" and
"HTTPS Proxy" options are enabled.
Then turn on the proxy.

1. 重启你的设备,重启完成后将手机连接上电脑。
启动GAEProxy,选中“全局代理”、“HTTPS代理”选项。
打开代理开关。

2. Execute in your computer's command line

2. 在电脑的命令行中执行

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

adb logcat > c:\log.txt

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

upload the file "log.txt" in your C partition.

将 C 盘根目录下的 log.txt 文件发上来。

3. Execute following commands in "adb shell":

3. 接着在 adb shell 中执行以下命令:

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

su

iptables -L -t nat -n

cd /sdcard/

ps | grep gaeproxy

ps | grep python

ps | grep redsocks

netstat

http_proxy=http://127.0.0.1:1984 wget http://twitter.com

cat index.html | grep twitter.com

rm index.html

wget http://twitter.com

cat index.html | grep twitter.com

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

Post all outputs with your issue.

将输出一并提交上来。
C:\Users\CNKUMEI>cd C:\adb

C:\adb>adb shell
$ su
su
# iptables -L -t nat -n
iptables -L -t nat -n
getsockopt for multiport failed strangely: No such file or directory
getsockopt for multiport failed strangely: No such file or directory
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
REDIRECT   udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:53 redir po
rts 39978
RETURN     tcp  --  0.0.0.0/0            203.208.0.0/16
RETURN     tcp  --  0.0.0.0/0            0.0.0.0/0
RETURN     tcp  --  0.0.0.0/0            1.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            14.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            27.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            36.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            39.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            42.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            49.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            58.0.0.0/7
RETURN     tcp  --  0.0.0.0/0            60.0.0.0/7
RETURN     tcp  --  0.0.0.0/0            96.0.0.0/3
RETURN     tcp  --  0.0.0.0/0            128.0.0.0/4
RETURN     tcp  --  0.0.0.0/0            171.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            175.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            180.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            182.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            183.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            202.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            203.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            210.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            211.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            216.0.0.0/5
RETURN     tcp  --  0.0.0.0/0            192.168.0.0/16
RETURN     tcp  --  0.0.0.0/0            10.0.0.0/8
RETURN     tcp  --  0.0.0.0/0            172.16.0.0/12
REDIRECT   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:80 redir po
rts 8123
REDIRECT   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:443 redir p
orts 8124

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
# cd /sdcard/
cd /sdcard/
# ps | grep gaeproxy
ps | grep gaeproxy
app_125   18436 131   166988 31136 ffffffff afd0c62c S org.gaeproxy
root      19201 1     1500   292   c01298fc afd0c6ac S /data/data/org.gaeproxy/s
tunnel
root      19207 1     740    244   c014cae4 afd0c62c S /data/data/org.gaeproxy/r
edsocks
root      20213 1     8340   4732  c01298fc afd0b954 S /data/data/org.gaeproxy/p
ython-cl
# ps | grep python
ps | grep python
root      20213 1     8340   4732  c01298fc afd0b954 S /data/data/org.gaeproxy/p
ython-cl
# ps | grep redsocks
ps | grep redsocks
root      19207 1     740    244   c014cae4 afd0c62c S /data/data/org.gaeproxy/r
edsocks
# netstat
netstat
Proto Recv-Q Send-Q Local Address          Foreign Address        State
 tcp       0      0 127.0.0.1:1984         0.0.0.0:*              LISTEN
 tcp       0      0 127.0.0.1:55555        0.0.0.0:*              LISTEN
 tcp       0      0 127.0.0.1:20817        0.0.0.0:*              LISTEN
 tcp       0      0 127.0.0.1:8123         0.0.0.0:*              LISTEN
 tcp       0      0 127.0.0.1:8124         0.0.0.0:*              LISTEN
 tcp       0      0 127.0.0.1:8126         0.0.0.0:*              LISTEN
 udp       0      0 192.168.1.2:17952      8.8.8.8:53             ESTABLISHED
 udp       0      0 192.168.1.2:37229      8.8.4.4:53             ESTABLISHED
tcp6       0      0 ::ffff:192.168.1.2:49917 ::ffff:120.204.201.146:8080 ESTABLI
SHED
tcp6       1      0 ::ffff:192.168.1.2:52818 ::ffff:203.208.46.160:443 SYN_SENT
udp6       0      0 ::ffff:127.0.0.1:39978 :::*                   CLOSE
# http_proxy=http://127.0.0.1:1984 wget http://twitter.com
http_proxy=http://127.0.0.1:1984 wget http://twitter.com
Connecting to 127.0.0.1:1984 (127.0.0.1:1984)

cat index.html | grep twitter.com
cat index.html | grep twitter.com

rm index.html
rm index.html
wget http://twitter.com
wget http://twitter.com
wget: server returned error: HTTP/1.0 502 ['<urlopen error socket_create_connect
ion returns an empty list>', '<urlopen error socket_create_connection returns an
 empty list>', '<urlopen error socket_create_connection returns an empty list>']

#
#
# cat index.html | grep twitter.com
  <link rel="dns-prefetch" href="http://api.twitter.com"/>
  document.domain = 'twitter.com';
<script type="text/javascript">(function(){window.setTimeout=window.setTimeout,w
indow.setInterval=window.setInterval,window.WATCH=function(a,b){typeof b=="undef
ined"&&(b=a,a=undefined),typeof a=="string"&&(WATCH._didExecute[a]=!0),WATCH._at
tempt(this,b)},WATCH._didExecute={},WATCH._reportCount=0,WATCH._reportLimit=25,W
ATCH._reportInterval=6e4,WATCH._active=!1,WATCH.activate=function(a){typeof a=="
undefined"&&(a=!0),WATCH._active=a,extend(WATCH,WATCH._active?WATCH.actives:WATC
H.inactives)},WATCH.actives={},WATCH.inactives={};var extend=function(a,b){for(v
ar c in b)a[c]=b[c]},noop=function(){};WATCH._attempt=function(a,b){arguments.le
ngth<2&&(b=a,a=window);if(WATCH._active)try{b.apply(a)}catch(c){WATCH._triggerEr
ror(c)}else b.apply(a)},WATCH.inactives.end=noop,WATCH.actives.end=function(a){i
f(typeof a=="undefined")throw new Error("WATCH.end() requires a label");WATCH._d
idExecute[a]?WATCH._didExecute[a]=!1:WATCH._active&&WATCH._triggerError(new Erro
r('WATCH.end("'+a+'") called without successful call to WATCH("'+a+'", fn(){...}
) - a SyntaxError probably just happened')),WATCH._didExecute[a]=!1},WATCH.inact
ives.callback=function(a,b){return typeof b=="undefined"?a:b},WATCH.actives.call
back=function(that,callback){arguments.length===1&&(callback=that,that=this),typ
eof callback=="string"&&(callback=function(stringVersion){return function(){eval
(stringVersion)}}(callback));var watchedCallback=function(){var a=this,b=argumen
ts,c;return WATCH._attempt(function(){c=callback.apply(a,b)}),c};return watchedC
allback.isWatched=!0,watchedCallback},WATCH._onErrorCallbacks={},WATCH.inactives
._addOnError=noop,WATCH.actives._addOnError=function(a){var b=WATCH._unique();re
turn WATCH._onErrorCallbacks[b]=a,b},WATCH.inactives._removeOnError=noop,WATCH.a
ctives._removeOnError=function(a){delete WATCH._onErrorCallbacks[a]},WATCH._last
Unique=-1,WATCH._unique=function(){return++WATCH._lastUnique},WATCH.inactives.jQ
uery=noop,WATCH.actives.jQuery=function(){WATCH._originalJQueryEventAdd=WATCH._o
riginalJQueryEventAdd||jQuery.event.add,jQuery.event.add=function(){var a=Array.
prototype.slice.call(arguments);return typeof a[2]=="function"?a[2]=WATCH.callba
ck(a[2]):a&&typeof a[2]=="object"&&a[2].handler&&(a[2].handler=WATCH.callback(a[
2].handler)),WATCH._originalJQueryEventAdd.apply(this,a)},WATCH._originalJQueryA
jax=WATCH._originalJQueryAjax||jQuery.ajax,jQuery.ajax=function(a){return jQuery
.each(["complete","error","success"],function(b,c){if(!a[c])return;a[c]=WATCH.ca
llback(a[c])}),WATCH._originalJQueryAjax.apply(this,arguments)}},WATCH.inactives
.undoJQuery=noop,WATCH.actives.undoJQuery=function(){jQuery.event.add=WATCH._ori
ginalJQueryEventAdd,jQuery.ajax=WATCH._originalJQueryAjax},WATCH._previousErrors
={};var escapeDoubleQuotes=function(a){return a.toString().replace('"','\\"')},s
tringifyLite=function(a){var b="{",c=!1;for(var d in a){if(typeof a[d]=="undefin
ed"||a[d]===null)continue;b+=(c?',"':'"')+escapeDoubleQuotes(d)+'":"'+escapeDoub
leQuotes(a[d])+'"',c=!0}return b+"}"};WATCH._scribeError=function(a){if(WATCH._p
reviousErrors[a.error]&&new Date-WATCH._previousErrors[a.error]<WATCH._reportInt
erval)return!1;if(WATCH.reportLimit<=WATCH.reportCount)return;WATCH.reportCount+
+;if(!document.location.hostname.match(/(^(www|api)\.)?twitter\.com$/))return;WA
TCH._previousErrors[a.error]=new Date,a.product_name="webclient",a.type="js_erro
r",a.url=window.location.href,a.event_name="test";var b=document.location.hostna
me.match(/(^(www|api|staging\d+.local)\.)twitter\.com$/)!=null,c=b?"scribe.twitt
er.com":window.location.host,d=(window.location.protocol.match(/s\:$/)?"https":"
http")+"://"+c;d+=b?"/":"/scribe",d+="?category=client_watch_error&log="+encodeU
RIComponent(stringifyLite(a))+"&ts="+(new Date).getTime(),(new Image).src=d},WAT
CH._triggerError=function(a){var b=!0,c={error:a};for(var d in WATCH._onErrorCal
lbacks)try{WATCH._onErrorCallbacks[d](c)===!1&&(b=!1)}catch(e){c.callbackFailure
=!0}WATCH._scribeError(c);if(b)throw a},WATCH.inactives.natives=noop,WATCH.activ
es.natives=function(){window.setInterval=WATCH._watchedSetInterval,window.setTim
eout=WATCH._watchedSetTimeout},WATCH.inactives.undoNatives=noop,WATCH.actives.un
doNatives=function(){window.setInterval=WATCH._originalSetInterval,window.setTim
eout=WATCH._originalSetTimeout},WATCH._originalSetInterval=window.setInterval,WA
TCH._originalSetTimeout=window.setTimeout,WATCH._watchedSetInterval=function(a,b
){var c=WATCH._originalSetInterval;return c(WATCH.callback(a),b)},WATCH._watched
SetTimeout=function(a,b){var c=WATCH._originalSetTimeout;return c(WATCH.callback
(a),b)},WATCH.activate(!1)})();</script>
<base href="http://twitter.com" />
      <link rel="canonical" href="https://twitter.com/" />
    <script>var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-30775-6"],["_trackPag
eview"],["_setDomainName","twitter.com"]),twttr.didInsertGA=!1,twttr.insertGAScr
iptElement=function(){if(!twttr.didInsertGA){var a=document.getElementsByTagName
("script")[0],b=document.createElement("script");b.async=!0,b.src=(document.loca
tion.protocol=="https:"?"https://ssl":"http://www")+".google-analytics.com/ga.js
",a.parentNode.insertBefore(b,a),twttr.didInsertGA=!0}},twttr.trackPageView=func
tion(a){var b=["_trackPageview"];a&&b.push(a),_gaq.push(b)};</script>
            <a class="dropdown-signup" id="signup-link" href="https://twitter.co
m/signup?context=login">
                <form action="https://twitter.com/sessions?phx=1" class="js-sign
in signin" method="post">
      <p>If you cannot enable it in your browser's preferences, you may have a b
etter experience on our <a href="http://m.twitter.com">mobile site</a>.</p>
      <form action="https://twitter.com/sessions?phx=1" class="signin" method="p
ost">
      <form action="https://twitter.com/signup" class="signup" method="post">
    <li><a href="//support.twitter.com">Help</a><span class="dot divider"> &midd
ot;</span></li>
    <li><a href="http://blog.twitter.com">Blog</a><span class="dot divider"> &mi
ddot;</span></li>
    <li><a href="http://status.twitter.com">Status</a><span class="dot divider">
 &middot;</span></li>
    <li><a href="//business.twitter.com/en/advertise/start">Advertisers</a><span
 class="dot divider"> &middot;</span></li>
    <li><a href="//business.twitter.com/index_en.html">Businesses</a><span class
="dot divider"> &middot;</span></li>
    <li><a href="http://media.twitter.com">Media</a><span class="dot divider"> &
middot;</span></li>
    <li><a href="//dev.twitter.com">Developers</a><span class="dot divider"> &mi
ddot;</span></li>
(new Image()).src='//scribe.twitter.com/scribe?category='+encodeURIComponent(cat
)+'&log='+encodeURIComponent('{'+log.join(',')+'}')+'&ts='+(+new Date);
    var data = {"assets":["bundle\/t1-hogan-core"],"inline_bootstrap_data":false
,"sandboxes":{"jsonp":"http:\/\/a0.twimg.com\/a\/1333667448\/jsonp_sandbox.html"
,"detailsPaneContent":"http:\/\/a0.twimg.com\/a\/1333667448\/details_pane_conten
t_sandbox.html"},"loadTimeoutInterval":10000,"disablePhoenix":false,"loadrunnerA
ssets":[{"http:\/\/a0.twimg.com\/c\/phoenix\/en\/bundle\/t1-core.d083c830c758ef0
f11b14ffd98b2ed8f.js":["bundle\/t1-core"],"http:\/\/a0.twimg.com\/c\/phoenix\/en
\/bundle\/signup.00c7586f451c718dbccd537058cf4d88.js":["bundle\/signup"],"http:\
/\/a0.twimg.com\/c\/phoenix\/en\/bundle\/phoenix-core.119cf1a031ec330234468ce122
a23f21.js":["bundle\/phoenix-core"],"http:\/\/a0.twimg.com\/c\/phoenix\/en\/bund
le\/t1-hogan-core.9561c43eed28cca0af2ab595332e1982.js":["bundle\/t1-hogan-core"]
,"http:\/\/a0.twimg.com\/c\/phoenix\/en\/bundle\/t1-more.3db4bf3b29bd9515e68c1a7
de06bf1c7.js":["bundle\/t1-more"],"http:\/\/a0.twimg.com\/c\/phoenix\/en\/bundle
\/phoenix-more.29e40130c393295ae9b22c62947700d0.js":["bundle\/phoenix-more"],"ht
tp:\/\/a0.twimg.com\/c\/phoenix\/en\/bundle\/t1-hogan-more.7916791350832e562d937
5bdd12faa4f.js":["bundle\/t1-hogan-more"],"http:\/\/a0.twimg.com\/c\/phoenix\/en
\/bundle\/sandbox.942b7155fd2d91ee413e6345905ae8e9.js":["bundle\/sandbox"],"http
:\/\/a0.twimg.com\/c\/phoenix\/en\/bundle\/ie6.cc70d16bf3965385e5f2eca6331771f0.
js":["bundle\/ie6"]}],"profiling":false,"renderedOnServer":true,"pReceiverURL":"
http:\/\/api.twitter.com\/receiver.html","setupDependencies":["\u003EallCurrentU
serDataLoaded","\u003Erequest_cache_seeded","bundle\/t1-hogan-core","\u003Elangu
ageData"],"twttr":{"domains":{"local":"twitter.com","remote":"api.twitter.com","
upload":"upload.twitter.com"},"expando":false,"bundleMore":"bundle\/t1-hogan-mor
e","requestFullCity":"fr,b7,cognac","loggedIn":false,"hosts":{"local":"http:\/\/
twitter.com","remote":"http:\/\/api.twitter.com","upload":"http:\/\/upload.twitt
er.com"},"isT1":true,"hasHoversInCss":true,"placeDataPrefix":"http:\/\/geo.l3.tw
itter.com\/places\/autocomplete_places-","isRTL":false,"bundleCore":"bundle\/t1-
hogan-core","remoteIP":"86.213.91.193"}};
#
# rm index.html
# wget http://twitter.com
cat index.html | grep twitter.com
cat index.html | grep twitter.com
wget: bad address 'twitter.com'
# cat index.html | grep twitter.com
index.html: No such file or directory

Original issue reported on code.google.com by bofa.boc...@gmail.com on 26 Aug 2012 at 1:36

Attachments:

GoogleCodeExporter commented 8 years ago
1. 暂不兼容 goagent 2.0 以上版本。
2. 请确认已打开“HTTPS代理”功能。

Original comment by max.c...@gmail.com on 26 Aug 2012 at 1:40

GoogleCodeExporter commented 8 years ago
确认是打开https的,
南京地区貌似之前的goagent1.8.11失效,PC机也无法使用,所以��
�级了goagent。 PC端好了 
手机端不行,现在就做等作者升级针对2.0以上版本的gaeproxy了
。
辛苦了。

Original comment by bofa.boc...@gmail.com on 26 Aug 2012 at 1:58

GoogleCodeExporter commented 8 years ago
进一步的状况 移动GPRS代理没问题,wifi下不行

Original comment by bofa.boc...@gmail.com on 27 Aug 2012 at 12:20

GoogleCodeExporter commented 8 years ago
现在wifi下也 可以使用了。奇怪 难道是铁通的问题 

Original comment by bofa.boc...@gmail.com on 29 Aug 2012 at 10:49