google-code-backups / breakwall

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

最近两天一些youtube视频总是卡住 #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
这两天打开一些youtube视频总是卡住,比如 
https://www.youtube.com/watch?v=4ACj86DKfWs,但也有一些能打开,访问�
��的翻墙网页也正常。在终端里查看 goagent 
进程,发现卡住的视频都有浅绿色和红色字体显示错误信息��
�我截取了一些在下面,大概是 http://r*-sn-5uaeznlz.c.youtube.com/* 
里的视频访问出错,应该是Goagent的问题,不知道怎么解决:

(红色)ERROR - [May 23 16:25:36] RangeFetch Error: begin(1048576) < 
expect_begin(1048581), quit.

……

(绿色)WARNING - [May 23 16:25:37] RangeFetch "GET 
http://r6---sn-5uaeznlz.c.youtube.com/videoplayback?cp=U0hVTlNMV19OUkNONV9LRkFHO
k5scXJ4VWtYYk1D&burst=40&upn=Y88zKa7nNkY&itag=140&algorithm=throttle-factor&expi
re=1369319698&fexp=924605%2C901208%2C929123%2C929915%2C929906%2C925714%2C929919%
2C929119%2C931202%2C932802%2C928017%2C912518%2C911416%2C906906%2C904476%2C930807
%2C919373%2C906836%2C933701%2C926403%2C912711%2C929606%2C910075%2C906098&gir=yes
&sver=3&factor=1.25&source=youtube&lmt=1369051262015466&id=e000a3f3a0ca7d6b&ms=a
u&mt=1369297458&mv=m&ipbits=8&sparams=algorithm%2Cburst%2Cclen%2Ccp%2Cfactor%2Cg
ir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Csource%2Cupn%2Cexpire&signature=28E49A00E7F
92AD34F886A832D1ECBD080F3987E.763488460785126F2D8E12F614DF5E30CD0002B0&newshard=
yes&clen=4958581&key=yt1&ip=8.35.201.17&range=0-10070" retry 7457-10070

……

(红色)ERROR - [May 23 16:25:40] ('127.0.0.1', 49230) Exception: 
UnicodeDecodeError('ascii', '\n    <html><head>\n    <meta 
http-equiv="content-type" content="text/html;charset=utf-8">\n    <title>Local 
URLFetch 
\'https://3-act.channel.facebook.com/pull?channel=p_100001631603847&seq=22&parti
tion=202&clientid=7435ef1f&cb=gwjg&idle=5&state=active&\' failed</title>\n    
<style><!--\n    body {font-family: arial,sans-serif}\n    div.nav {margin-top: 
1ex}\n    div.nav A {font-size: 10pt; font-family: arial,sans-serif}\n    
span.nav {font-size: 10pt; font-family: arial,sans-serif; font-weight: bold}\n  
  div.nav A,span.big {font-size: 12pt; color: #0000cc}\n    div.nav A 
{font-size: 10pt; color: black}\n    A.l:link {color: #6f6f6f}\n    A.u:link 
{color: green}\n    //--></style>\n    </head>\n    <body text=#000000 
bgcolor=#ffffff>\n    <table border=0 cellpadding=2 cellspacing=0 width=100%>\n 
   <tr><td bgcolor=#3366cc><font face=arial,sans-serif 
color=#ffffff><b>Message</b></td></tr>\n    
<tr><td>\xc2\xa0</td></tr></table>\n    <blockquote>\n    <H1>[SSLError(\'The 
read operation timed out\',), SSLError(\'The read operation timed 
out\',)]</H1>\n    \n    <p>\n    </blockquote>\n    <table width=100% 
cellpadding=0 cellspacing=0><tr><td bgcolor=#3366cc><img alt="" width=1 
height=4></td></tr></table>\n    </body></html>\n    ', 895, 896, 'ordinal not 
in range(128)')

……

(黑色)Traceback (most recent call last):
  File "/Users/jinch/GoAgent/local/proxy.py", line 1472, in __init__
    self.handle()
  File "/Users/jinch/GoAgent/local/proxy.py", line 1571, in handle
    getattr(self, 'handle_%s' % self.method.lower(), self.handle_method)()
  File "/Users/jinch/GoAgent/local/proxy.py", line 1741, in handle_connect
    self.handle_connect_urlfetch()
  File "/Users/jinch/GoAgent/local/proxy.py", line 1808, in handle_connect_urlfetch
    self.handle_method()
  File "/Users/jinch/GoAgent/local/proxy.py", line 1611, in handle_method
    self.handle_method_urlfetch()
  File "/Users/jinch/GoAgent/local/proxy.py", line 1687, in handle_method_urlfetch
    self.sock.sendall(b'HTTP/1.0 502\r\nContent-Type: text/html\r\n\r\n' + html.encode('utf-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 895: 
ordinal not in range(128)

……

Original issue reported on code.google.com by mych...@gmail.com on 23 May 2013 at 8:33

GoogleCodeExporter commented 8 years ago
试着把【hosts】标签下的 ^https?://.+\.c\.youtube\.com/liveplay = 
www.g.cn 前加上 # 号,然后退出重启BW,再试试。

#^https?://.+\.c\.youtube\.com/liveplay = www.g.cn

如何打开 Goagent 配置文件:同时按住键盘的 option 和 command 
键点击第一项:Goagent

Original comment by Mariposa...@gmail.com on 29 May 2013 at 8:25

GoogleCodeExporter commented 8 years ago
thanks it works

Original comment by zhengwei...@gmail.com on 4 Jun 2013 at 12:39