summerstar8 / snova

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

youtube 看 720p视频会显示错误!求解决!! #227

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
2012/12/04 17:49:23 hosts.go:156: Init AutoHost.
2012/12/04 17:49:23 google.go:428: Init Google.
2012/12/04 17:49:23 launch.go:81: [WARN]Failed to init GAE:GAE not inited since
[GAE] Enable=0
2012/12/04 17:49:23 c4.go:427: Init C4.
2012/12/04 17:49:23 c4.go:416: UserToken is 72:d8:19:41:e5:ed
2012/12/04 17:49:28 local_hosts.go:56: Fetch remote clound spac rule:https://sno
va.googlecode.com/svn/trunk/repository/cloud_hosts.conf
2012/12/04 17:49:28 spac.go:356: Generate PAC from  gfwlist https://autoproxy-gf
wlist.googlecode.com/svn/trunk/gfwlist.txt
2012/12/04 17:49:28 spac.go:313: Fetch remote clound spac rule:https://snova.goo
glecode.com/svn/trunk/repository/cloud_spac.json
2012/12/04 17:49:31 launch.go:97: =============Start gsnova 0.19.2==============

2012/12/04 17:49:31 launch.go:52: Listen on address localhost:48100
2012/12/04 17:49:31 google.go:312: Session[1]Request CONNECT https://csi.gstatic
.com:443
2012/12/04 17:49:36 forward.go:102: Found 69.171.235.16:443 for 3-pct.channel.fa
cebook.com:443
2012/12/04 17:49:37 forward.go:459: Session[9]Request CONNECT https://3-pct.chan
nel.facebook.com:443
2012/12/04 17:49:44 c4.go:305: Session[10]Request CONNECT https://www.facebook.c
om:443
2012/12/04 17:49:44 c4.go:305: Session[11]Request CONNECT https://www.facebook.c
om:443
2012/12/04 17:49:45 google.go:312: Session[12]Request CONNECT https://smarthosts
.googlecode.com:443
2012/12/04 17:49:45 c4.go:270: Session[10]Handle TCP chunk:0 with 19 bytes
2012/12/04 17:49:45 hosts.go:94: Failed to fetch host from https://smarthosts.go
oglecode.com/svn/trunk/hosts
2012/12/04 17:49:45 c4.go:270: Session[10]Handle TCP chunk:1 with 146 bytes
2012/12/04 17:49:46 c4.go:270: Session[11]Handle TCP chunk:0 with 19 bytes
2012/12/04 17:49:46 c4.go:270: Session[10]Handle TCP chunk:2 with 984 bytes
2012/12/04 17:49:46 c4.go:262: Session[10]Remote www.facebook.com:443 connection
 closed, current proxy addr:www.facebook.com:443
2012/12/04 17:49:46 c4.go:212: Session[10]close write tunnel.
2012/12/04 17:49:46 c4.go:270: Session[11]Handle TCP chunk:1 with 146 bytes
2012/12/04 17:49:47 c4.go:270: Session[11]Handle TCP chunk:2 with 800 bytes
2012/12/04 17:49:47 c4.go:270: Session[11]Handle TCP chunk:3 with 70 bytes
2012/12/04 17:49:47 c4.go:262: Session[11]Remote www.facebook.com:443 connection
 closed, current proxy addr:www.facebook.com:443
2012/12/04 17:49:47 c4.go:212: Session[11]close write tunnel.
2012/12/04 17:49:49 google.go:312: Session[13]Request CONNECT https://snova.goog
lecode.com:443
2012/12/04 17:49:49 local_hosts.go:69: Failed to fetch spac cloud hosts for reas
on:Get https://snova.googlecode.com/svn/trunk/repository/cloud_hosts.conf: WSARe
cv tcp 127.0.0.1:65247: An operation was attempted on something that is not a so
cket.
2012/12/04 17:50:01 forward.go:102: Found 74.125.235.69:443 for www.youtube.com:
443
2012/12/04 17:50:05 forward.go:102: Found 74.125.235.69:443 for www.youtube.com:
443
2012/12/04 17:50:08 google.go:312: Session[18]Request CONNECT https://plus.googl
e.com:443
2012/12/04 17:50:09 c4.go:229: Session[10]close read tunnel.
2012/12/04 17:50:10 c4.go:229: Session[11]close read tunnel.
2012/12/04 17:50:10 forward.go:151: Failed to dial address:www.youtube.com:443 f
or reason:dial tcp 74.125.235.69:443: An operation was attempted on something th
at is not a socket.
2012/12/04 17:50:10 forward.go:452: Failed to connect forward address for www.yo
utube.com:443.
2012/12/04 17:50:10 dispatch.go:105: Session[17][WARN][Forwardhttp://www.youtube
.com:443]Failed to request proxy event for reason:dial tcp 74.125.235.69:443: An
 operation was attempted on something that is not a socket.
2012/12/04 17:50:10 c4.go:305: Session[17]Request CONNECT https://www.youtube.co
m:443
2012/12/04 17:50:10 google.go:312: Session[19]Request CONNECT https://lh5.google
usercontent.com:443
2012/12/04 17:50:11 c4.go:270: Session[17]Handle TCP chunk:0 with 19 bytes
2012/12/04 17:50:11 google.go:312: Session[20]Request CONNECT https://lh6.google
usercontent.com:443
2012/12/04 17:50:11 google.go:312: Session[21]Request CONNECT https://lh4.google
usercontent.com:443
2012/12/04 17:50:11 google.go:312: Session[22]Request CONNECT https://lh3.google
usercontent.com:443
2012/12/04 17:50:11 forward.go:151: Failed to dial address:www.youtube.com:443 f
or reason:dial tcp 74.125.235.69:443: i/o timeout
2012/12/04 17:50:11 forward.go:452: Failed to connect forward address for www.yo
utube.com:443.
2012/12/04 17:50:11 dispatch.go:105: Session[14][WARN][Forwardhttp://www.youtube
.com:443]Failed to request proxy event for reason:dial tcp 74.125.235.69:443: i/
o timeout
2012/12/04 17:50:11 c4.go:305: Session[14]Request CONNECT https://www.youtube.co
m:443
2012/12/04 17:50:11 google.go:312: Session[23]Request CONNECT https://lh3.google
usercontent.com:443
2012/12/04 17:50:11 google.go:312: Session[24]Request CONNECT https://lh3.google
usercontent.com:443
2012/12/04 17:50:11 google.go:312: Session[25]Request CONNECT https://lh3.google
usercontent.com:443
2012/12/04 17:50:11 c4.go:270: Session[17]Handle TCP chunk:1 with 160 bytes
2012/12/04 17:50:11 c4.go:270: Session[17]Handle TCP chunk:2 with 53 bytes
2012/12/04 17:50:12 c4.go:270: Session[14]Handle TCP chunk:0 with 19 bytes
2012/12/04 17:50:13 c4.go:270: Session[17]Handle TCP chunk:3 with 6290 bytes
2012/12/04 17:50:13 google.go:312: Session[26]Request CONNECT https://apis.googl
e.com:443
2012/12/04 17:50:13 c4.go:270: Session[14]Handle TCP chunk:1 with 160 bytes
2012/12/04 17:50:13 c4.go:270: Session[17]Handle TCP chunk:4 with 8508 bytes
2012/12/04 17:50:13 google.go:312: Session[27]Request CONNECT https://clients4.g
oogle.com:443
2012/12/04 17:50:13 c4.go:270: Session[17]Handle TCP chunk:5 with 11344 bytes
2012/12/04 17:50:13 c4.go:270: Session[17]Handle TCP chunk:6 with 5672 bytes
2012/12/04 17:50:13 c4.go:270: Session[14]Handle TCP chunk:2 with 53 bytes
2012/12/04 17:50:13 c4.go:270: Session[17]Handle TCP chunk:7 with 6671 bytes
2012/12/04 17:50:15 c4.go:270: Session[17]Handle TCP chunk:8 with 105 bytes
2012/12/04 17:50:15 c4.go:270: Session[17]Handle TCP chunk:9 with 5618 bytes
2012/12/04 17:50:17 forward.go:102: Found 69.171.234.39:443 for www.facebook.com
:443
2012/12/04 17:50:18 forward.go:459: Session[28]Request CONNECT https://www.faceb
ook.com:443
2012/12/04 17:50:21 c4.go:305: Session[29]Request GET http://o-o---preferred---s
n-p5q7yne6---v2---lscache5.c.youtube.com/videoplayback?algorithm=throttle-factor
&burst=40&cp=U0hUSVZOVF9HU0NONF9OSFhGOl9TLW9SbklnYTYx&cpn=6hDwGae4CpdGtwpP&expir
e=1354636529&factor=1.25&fexp=922912%2C922401%2C920704%2C912806%2C927201%2C92570
3%2C925706%2C928001%2C922403%2C913605%2C913546%2C913556%2C920201%2C900816%2C9111
16%2C901451&gcr=us&id=ecd566916a130dc5&ip=184.73.70.104&ipbits=8&itag=34&keepali
ve=yes&key=yt1&ms=au&mt=1354614549&mv=m&newshard=yes&range=13-1781759&signature=
A1FBEB7D9A19C08769777CD98237EEC974F2FC64.74D47F867830E10F47E5D7FD0E0ADEFCA466CB3
E&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Cid%2Cip%2Cipbit
s%2Citag%2Csource%2Cupn%2Cexpire&sver=3&upn=LLdFfLY5tq0
2012/12/04 17:50:21 c4.go:270: Session[17]Handle TCP chunk:10 with 113 bytes
2012/12/04 17:50:22 c4.go:270: Session[17]Handle TCP chunk:11 with 159 bytes
2012/12/04 17:50:22 c4.go:270: Session[29]Handle TCP chunk:0 with 204 bytes
2012/12/04 17:50:22 c4.go:262: Session[29]Remote o-o---preferred---sn-p5q7yne6--
-v2---lscache5.c.youtube.com:80 connection closed, current proxy addr:o-o---pref
erred---sn-p5q7yne6---v2---lscache5.c.youtube.com:80
2012/12/04 17:50:22 dispatch.go:196: Session[29]Failed to read http request:WSAR
ecv tcp 127.0.0.1:48100: use of closed network connection
2012/12/04 17:50:22 c4.go:305: Session[30]Request GET http://tc.v2.cache5.c.yout
ube.com/crossdomain.xml
2012/12/04 17:50:22 c4.go:270: Session[17]Handle TCP chunk:12 with 1147 bytes
2012/12/04 17:50:22 c4.go:212: Session[29]close write tunnel.
2012/12/04 17:50:23 forward.go:102: Found 69.171.234.39:443 for www.facebook.com
:443
2012/12/04 17:50:23 c4.go:270: Session[30]Handle TCP chunk:0 with 551 bytes
2012/12/04 17:50:23 c4.go:305: Session[30]Request GET http://tc.v2.cache5.c.yout
ube.com/videoplayback?algorithm=throttle-factor&burst=40&cp=U0hUSVZOVF9HU0NONF9O
SFhGOl9TLW9SbklnYTYx&cpn=6hDwGae4CpdGtwpP&expire=1354636529&factor=1.25&fexp=922
912%2C922401%2C920704%2C912806%2C927201%2C925703%2C925706%2C928001%2C922403%2C91
3605%2C913546%2C913556%2C920201%2C900816%2C911116%2C901451&gcr=us&id=ecd566916a1
30dc5&ip=184.73.70.104&ipbits=8&itag=34&keepalive=yes&key=yt1&ms=au&mt=135461454
9&mv=m&newshard=yes&range=13-1781759&signature=A1FBEB7D9A19C08769777CD98237EEC97
4F2FC64.74D47F867830E10F47E5D7FD0E0ADEFCA466CB3E&source=youtube&sparams=algorith
m%2Cburst%2Ccp%2Cfactor%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&
sver=3&upn=LLdFfLY5tq0
2012/12/04 17:50:23 forward.go:459: Session[31]Request CONNECT https://www.faceb
ook.com:443
2012/12/04 17:50:23 c4.go:305: Session[32]Request GET http://o-o---preferred---s
n-p5q7yne6---v2---lscache5.c.youtube.com/videoplayback?cp=U0hUSVZOVF9HU0NONF9OSF
hGOl9TLW9SbklnYTYx&expire=1354636529&fexp=922912%2C922401%2C920704%2C912806%2C92
7201%2C925703%2C925706%2C928001%2C922403%2C913605%2C913546%2C913556%2C920201%2C9
00816%2C911116%2C901451&gcr=us&id=ecd566916a130dc5&ip=184.73.70.104&ipbits=8&ita
g=22&key=yt1&ms=au&mt=1354614549&mv=m&newshard=yes&ratebypass=yes&signature=2917
7B4AFF264E5DA4DB0B22DE5C14FF00CE1130.CA1E982EC4D4440F4B6B74D1815D8E253EB79A5B&so
urce=youtube&sparams=cp%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2C
upn%2Cexpire&sver=3&upn=LLdFfLY5tq0&cpn=6hDwGae4CpdGtwpP&ptchn=JustForLaughsTV&p
tk=JustForLaughsTV
2012/12/04 17:50:23 c4.go:270: Session[30]Handle TCP chunk:1 with 204 bytes
2012/12/04 17:50:23 c4.go:273: [30]Failed to write  data to local client:use of
closed network connection.
2012/12/04 17:50:24 c4.go:212: Session[30]close write tunnel.
2012/12/04 17:50:27 c4.go:270: Session[32]Handle TCP chunk:0 with 204 bytes
2012/12/04 17:50:27 c4.go:262: Session[32]Remote o-o---preferred---sn-p5q7yne6--
-v2---lscache5.c.youtube.com:80 connection closed, current proxy addr:o-o---pref
erred---sn-p5q7yne6---v2---lscache5.c.youtube.com:80
2012/12/04 17:50:27 dispatch.go:196: Session[32]Failed to read http request:WSAR
ecv tcp 127.0.0.1:48100: use of closed network connection
2012/12/04 17:50:27 c4.go:305: Session[33]Request GET http://tc.v5.cache4.c.yout
ube.com/videoplayback?cp=U0hUSVZOVF9HU0NONF9OSFhGOl9TLW9SbklnYTYx&expire=1354636
529&fexp=922912%2C922401%2C920704%2C912806%2C927201%2C925703%2C925706%2C928001%2
C922403%2C913605%2C913546%2C913556%2C920201%2C900816%2C911116%2C901451&gcr=us&id
=ecd566916a130dc5&ip=184.73.70.104&ipbits=8&itag=22&key=yt1&ms=au&mt=1354614549&
mv=m&newshard=yes&ratebypass=yes&signature=29177B4AFF264E5DA4DB0B22DE5C14FF00CE1
130.CA1E982EC4D4440F4B6B74D1815D8E253EB79A5B&source=youtube&sparams=cp%2Cgcr%2Ci
d%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&upn=LLdFfLY5t
q0&playretry=1&cpn=6hDwGae4CpdGtwpP&ptchn=JustForLaughsTV&ptk=JustForLaughsTV
2012/12/04 17:50:28 google.go:312: Session[35]Request CONNECT https://clients4.g
oogle.com:443
2012/12/04 17:50:28 c4.go:270: Session[33]Handle TCP chunk:0 with 204 bytes
2012/12/04 17:50:28 c4.go:262: Session[33]Remote tc.v5.cache4.c.youtube.com:80 c
onnection closed, current proxy addr:tc.v5.cache4.c.youtube.com:80
2012/12/04 17:50:28 dispatch.go:196: Session[33]Failed to read http request:WSAR
ecv tcp 127.0.0.1:48100: use of closed network connection
2012/12/04 17:50:28 c4.go:212: Session[33]close write tunnel.
2012/12/04 17:50:28 c4.go:212: Session[32]close write tunnel.
2012/12/04 17:50:28 forward.go:102: Found 74.125.31.100:443 for s.youtube.com:44
3
2012/12/04 17:50:32 forward.go:102: Found 74.125.31.139:443 for s.youtube.com:44
3
2012/12/04 17:50:32 forward.go:459: Session[34]Request CONNECT https://s.youtube
.com:443
2012/12/04 17:50:38 forward.go:151: Failed to dial address:s.youtube.com:443 for
 reason:dial tcp 74.125.31.100:443: i/o timeout
2012/12/04 17:50:39 forward.go:452: Failed to connect forward address for s.yout
ube.com:443.
2012/12/04 17:50:39 dispatch.go:105: Session[36][WARN][Forwardhttp://s.youtube.c
om:443]Failed to request proxy event for reason:dial tcp 74.125.31.100:443: i/o
timeout
2012/12/04 17:50:39 c4.go:305: Session[36]Request CONNECT https://s.youtube.com:
443
2012/12/04 17:50:40 c4.go:270: Session[36]Handle TCP chunk:0 with 19 bytes
2012/12/04 17:50:40 c4.go:270: Session[36]Handle TCP chunk:1 with 160 bytes
2012/12/04 17:50:41 c4.go:270: Session[36]Handle TCP chunk:2 with 53 bytes
如上是错误显示!!

Original issue reported on code.google.com by aihm...@gmail.com on 4 Dec 2012 at 9:52

GoogleCodeExporter commented 9 years ago
两种方法
1. 用http访问youtube而不是https
2. [Hosts]下的Enable改为0

Original comment by yinqiwen@gmail.com on 4 Dec 2012 at 9:55

GoogleCodeExporter commented 9 years ago
谷歌浏览器上看不了youtube,而IE就可以,而且720p都可以看!�
��

Original comment by aihm...@gmail.com on 4 Dec 2012 at 10:00

GoogleCodeExporter commented 9 years ago
chrome在登陆态某些google站点会自动重定向到https

Original comment by yinqiwen@gmail.com on 4 Dec 2012 at 10:01

GoogleCodeExporter commented 9 years ago
两种方法
1. 用http访问youtube而不是https
2. [Hosts]下的Enable改为0
上面方法是可以了,看视频720p看不了,显示错误!!

Original comment by aihm...@gmail.com on 4 Dec 2012 at 10:05

GoogleCodeExporter commented 9 years ago
C4模式PAAS基本上对YOUTUBE支持都不怎么好,老老实实用GAE看YOUT
UBE吧,PAAS留着用浏览HTTPS网站

Original comment by dycuo...@gmail.com on 4 Dec 2012 at 7:23

GoogleCodeExporter commented 9 years ago
不是支持不好,主要是PC到PaaS的访问带宽的因素

Original comment by yinqiwen@gmail.com on 5 Dec 2012 at 1:10