Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.1.6 发布测试 #3238

Open
xxnet opened this issue May 6, 2016 · 50 comments
Open

3.1.6 发布测试 #3238

xxnet opened this issue May 6, 2016 · 50 comments

Comments

@xxnet
Copy link
Contributor

xxnet commented May 6, 2016

修复:

  • http/1.1 慢的问题
  • Linux支持,比如Ubuntu 16
  • windows下卡住不响应,待验证

更新:

  • 增加捐献的appid 600个
@panpeach
Copy link

panpeach commented May 6, 2016

能否修复下xvideos.com视频不能播放的问题(Loading error.
Please reload the page.)
goa,gop都能正常播放,唯独xxnet不能播放 xvideos 视频。

@xxnet
Copy link
Contributor Author

xxnet commented May 6, 2016

好的,我找时间看看

@yeahwu
Copy link
Contributor

yeahwu commented May 6, 2016

俺这边xvideos正常播放,3.15版

@Cat7373
Copy link
Contributor

Cat7373 commented May 6, 2016

@panpeach 虽然看起来很污,但是同样表示正常播放。

@yeahwu
Copy link
Contributor

yeahwu commented May 6, 2016

@xxnet 辛苦了,刚测了一下3.16,表示一切正常。ubuntu 14.04 x64

@Cat7373 多看看就不觉得污了,习惯就好!

@xxnet
Copy link
Contributor Author

xxnet commented May 6, 2016

额, ​我这边也不能播放,我也不知道为什么,日志可以看到在下载,但是浏览器里显示失败

@Cat7373
Copy link
Contributor

Cat7373 commented May 6, 2016

不过我这里是HTML5播放器的,不知道是不是我的哪个用户脚本影响的。

@xxnet
Copy link
Contributor Author

xxnet commented May 6, 2016

​YeahWu 看看你有没有修改过配置文件data/gae_proxy/ manual.ini/config.ini
你的h2连接数那么高,可能跟这个有关

@yeahwu
Copy link
Contributor

yeahwu commented May 6, 2016

配置文件,关掉了pac,关掉了proxy,然后youtube.com=gae,就这些
哦,俺换成自己的ip段了

[gae]
appid = 
password = 

[pac]
enable = 0
ip = 127.0.0.1
port = 8086
file = proxy.pac
gfwlist = https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt
expired = 86400

[proxy]
enable = 0
type = HTTP
host = 
port = 0
user = 
passwd = 

[google_ip]
use_ipv6 = 0
auto_adjust_scan_ip_thread_num = 1
max_scan_ip_thread_num = 10
max_good_ip_num = 3000
max_links_per_ip = 1
ip_connect_interval = 5
record_ip_history = 0

[hosts]
scholar.google.com = direct
scholar.google.com.hk = direct
;code.google.com = direct
;clients5.google.com = direct
;clients6.google.com = direct
;upload.docs.google.com = direct
;mail.google.com = direct
;.commondatastorage.googleapis.com = gae
;chart.apis.google.com = gae
;appengine.google.com = gae
;mail-attachment.googleusercontent.com = direct
;.googleusercontent.com = direct
;themes.googleusercontent.com = direct
talk.google.com = direct
talk.l.google.com = direct
talkx.l.google.com = direct
;.google.com = direct
;www.google.com = gae
;translate.google.com = gae
;.gmail.com = direct
;.ytimg.com = direct
;.doubleclick.net = direct
;.googleusercontent.com = gae
;.googleapis.com = gae
;.google-analytics.com = direct
;.googlecode.com = direct
;.google.com.hk = direct
;.googlegroups.com = direct
;.googlesource.com = direct
;.gstatic.com = direct
.appspot.com = direct
;.gvt1.com = direct
;.android.com = direct
.youtube.com = gae
;.ggpht.com = direct
;.2mdn.net = direct
;.googlesyndication.com = direct
;.googlevideo.com = gvs #can't use directly, need gae forward.
;.googleadservices.com = direct
;www.google.com.hk = direct
;.google.com.cn = direct
;.g.cn = direct

@xxnet
Copy link
Contributor Author

xxnet commented May 6, 2016

还有没有? 连接参数方面的

新的版本参数有调整过

@Cat7373
Copy link
Contributor

Cat7373 commented May 6, 2016

我也关了 PAC,不过是在 manual.ini 里改的。

[listen]
debuginfo = 1

[pac]
enable = 0

[google_ip]
;max_good_ip_num = 9000

[connect_manager]
;https_max_connect_thread = 8
;https_connection_pool_max = 30

[system]
log_file = 1

@DySon0a
Copy link

DySon0a commented May 6, 2016

3.1.6测试正常
xvideos.com播放正常

@Cat7373
Copy link
Contributor

Cat7373 commented May 6, 2016

我这里的内存占用
专用集 20MB 左右
工作集 37MB 多点

@yeahwu
Copy link
Contributor

yeahwu commented May 6, 2016

新版内存占用40m,正常

xvideos.com测过多次,正常

新版好像控制了h2的数量,20个以内

新:0 h1:107 h2:2

@simonasd
Copy link
Contributor

simonasd commented May 6, 2016

测试了一下,2.8x,2.9x,3.0x,3.1x均能秒开Xvideo的视频。

这么污的网站什么时候有了中文界面?吓死了

@dvquest
Copy link

dvquest commented May 6, 2016

测试了几个版本都不能开,页面提示Loading error.
日志黄字提示:May 06 23:32:11.637 - [WARNING] RangeFetch send response fail:error(10053, '') http://cdn-hw-hls.xvideos.com/videos/hls/ca/7c/48/ca7c48e9c3077033100a190ecf3a6fab/hls-480p0.ts?e=1462559514&l=0&h=5791a415686a2f3dacdbfc7ed16f31a7
所有配置均为默认值.

@hzxie
Copy link
Contributor

hzxie commented May 6, 2016

Mac下 OpenSSL Version: 0.13 TLSv1 h2:no
请问怎么破才能支持HTTP/2

@Cat7373
Copy link
Contributor

Cat7373 commented May 6, 2016

OpenSSL版本需要升级吧- -

@liushengqi000
Copy link

好污,尽管能放,但是觉得还是墙掉的好

@tm20032004
Copy link

tm20032004 commented May 6, 2016

@yeahwu 能打开和能播放是二回事,你点个视频试一下看,3.1.6 我测试也是和楼上的提示一样
页面提示Loading error.
日志黄字提示:May 06 23:32:11.637 - [WARNING] RangeFetch send response fail:error(10053, '') http://cdn-hw-hls.xvideos.com/videos/hls/ca/7c/48/ca7c48e9c3077033100a190ecf3a6fab/hls-480p0.ts?e=1462559514&l=0&h=5791a415686a2f3dacdbfc7ed16f31a7
所有配置均为默认值.

@liushengqi000
Copy link

liushengqi000 commented May 6, 2016

并没问题啊,http://cdn-hw-hls.xvideos.com/videos/hls/ca/7c/48/ca7c48e9c3077033100a190ecf3a6fab/hls-480p0.ts?e=1462559514&l=0&h=5791a415686a2f3dacdbfc7ed16f31a7
我vpn测试也是403错误啊
不是所有问题都是xxnet,也可能是服务器问题
也没看到RangeFetch send response fail:error(10053, '')这个错误

@tm20032004
Copy link

tm20032004 commented May 6, 2016

@liushengqi000 搞不懂了,日志显示是在下载,页面就是错误
现在等于我们二个同时在测,一个正常一个不正常。。。难道和IP有关?

@liushengqi000
Copy link

5月 07 02:56:03.71 - [DEBUG] GAE POST https://clients4.google.com/chrome-sync/command/?client=Google+Chrome&client_id=75TM1rb0jp%2BaA1FC02BFCw%3D%3D
5月 07 02:56:03.87 - [INFO] >>>>>>>>>>>>>>> RangeFetch started('http://cdn-hw-hls.xvideos.com/videos/hls/88/1f/cd/881fcd84aef1c010222b62acf57c674d/hls-720p1.ts?e=1462571757&l=0&h=afd6f3e69da48231193f22d4e4e40ff1') 0-1048575

5月 07 02:56:03.87 - [WARNING] RangeFetch send response fail:error(32, '\xe6\x96\xad\xe5\xbc\x80\xe7\x9a\x84\xe7\xae\xa1\xe9\x81\x93') http://cdn-hw-hls.xvideos.com/videos/hls/88/1f/cd/881fcd84aef1c010222b62acf57c674d/hls-720p1.ts?e=1462571757&l=0&h=afd6f3e69da48231193f22d4e4e40ff1

5月 07 02:56:04.15 - [INFO] GAE t:445 s:549 POST https://clients4.google.com/chrome-sync/command/?client=Google+Chrome&client_id=75TM1rb0jp%2BaA1FC02BFCw%3D%3D
5月 07 02:56:05.12 - [DEBUG] recv_into 0
5月 07 02:56:05.12 - [WARNING] 192.122.185.27 _consume_single_frame:ConnectionResetError()
5月 07 02:56:05.12 - [DEBUG] 192.122.185.27 worker close:disconnect:ConnectionResetError()
5月 07 02:56:07.44 - [DEBUG] ip:217.73.128.90 real fail
5月 07 02:56:12.44 - [DEBUG] ip:49.231.60.90 real fail

发现RangeFetch错误,但明显不是一类,视频播放没问题
PS:怎么看这网站都超级恶心

@liushengqi000
Copy link

liushengqi000 commented May 6, 2016

@tm20032004 你日志里那个网址我vpn都打不开啊...
#886
搜一下....是这个问题不

@tm20032004
Copy link

May 07 03:08:33.270 - [WARNING] server app return fail, status:502
May 07 03:08:33.271 - [WARNING] app_msg: <title>502 Urlfetch Error</title> <style></style>

Message From FetchServer

Python Urlfetch Error: 'GET'

DeadlineExceededError('Deadline exceeded while waiting for HTTP response from URL: http://message.tieba.baidu.com/i/msg/listen?user=cbed746d32303033323030343900&c=75_1462560596851&v=1462561653924',), timeout=19
DeadlineExceededError('Deadline exceeded while waiting for HTTP response from URL: http://message.tieba.baidu.com/i/msg/listen?user=cbed746d32303033323030343900&c=75_1462560596851&v=1462561653924',), timeout=38

@tm20032004
Copy link

@tm20032004
Copy link

@liushengqi000 看上面二条日志

@liushengqi000
Copy link

成功播放的都是ts文件
mp4播放失败
下载MP4均需下载2次
第一次下载会掉文件头部
测试中第一次掉了500k左右的头部数据
第二次下载正确
http://content.xvideos.com/videos/mp4/c/4/d/xvideos.com_c4d37fe4648838cb799bb1ed7dcbb5a5.mp4?e=1462574033&ri=1024&rs=85&h=f181c00de7ac8b804dc6c1ed901d442b

@liushengqi000
Copy link

liushengqi000 commented May 6, 2016

失败的下载记录====================================================
5月 07 03:36:08.71 - [DEBUG] 211.239.234.204 fail:timeout('timed out',)
5月 07 03:36:08.71 - [DEBUG] report_connect_fail:211.239.234.204
5月 07 03:36:08.83 - [DEBUG] GAE GET http://content.xvideos.com/videos/mp4/c/4/d/xvideos.com_c4d37fe4648838cb799bb1ed7dcbb5a5.mp4?e=1462574033&ri=1024&rs=85&h=f181c00de7ac8b804dc6c1ed901d442b

###这里为啥从524288开始分段下载?
5月 07 03:36:09.21 - [INFO] >>>>>>>>>>>>>>> RangeFetch started('http://content.xvideos.com/videos/mp4/c/4/d/xvideos.com_c4d37fe4648838cb799bb1ed7dcbb5a5.mp4?e=1462574033&ri=1024&rs=85&h=f181c00de7ac8b804dc6c1ed901d442b') 524288-524288
5月 07 03:36:09.21 - [INFO] >>>>>>>>>>>>>>> [thread 140104315291392] 1 bytes 524288-524288/2911261
5月 07 03:36:09.21 - [INFO] >>>>>>>>>>>>>>> Successfully reached 524288 bytes.
###我很疑惑,明明只收到1bytes,为什么显示524288全部成功

5月 07 03:36:09.37 - [DEBUG] 61.238.203.29 fail:timeout('timed out',)
5月 07 03:36:09.37 - [DEBUG] report_connect_fail:61.238.203.29
5月 07 03:36:10.17 - [INFO] >>>>>>>>>>>>>>> [thread 140106130740992] 289820 bytes 2621441-2911260/2911261
5月 07 03:36:10.17 - [INFO] >>>>>>>>>>>>>>> Successfully reached 2911260 bytes.
5月 07 03:36:10.61 - [INFO] >>>>>>>>>>>>>>> [thread 140104315291392] 1048576 bytes 524289-1572864/2911261
5月 07 03:36:10.61 - [INFO] >>>>>>>>>>>>>>> Successfully reached 1572864 bytes.
5月 07 03:36:10.84 - [INFO] >>>>>>>>>>>>>>> [thread 140104305297152] 1048576 bytes 1572865-2621440/2911261
5月 07 03:36:10.84 - [INFO] >>>>>>>>>>>>>>> Successfully reached 2621440 bytes.

成功记录========================================
5月 07 03:36:39.56 - [INFO] >>>>>>>>>>>>>>> RangeFetch started('http://content.xvideos.com/videos/mp4/c/4/d/xvideos.com_c4d37fe4648838cb799bb1ed7dcbb5a5.mp4?e=1462574033&ri=1024&rs=85&h=f181c00de7ac8b804dc6c1ed901d442b') 0-1048576
5月 07 03:36:39.56 - [INFO] >>>>>>>>>>>>>>> [thread 140104305297152] 1048577 bytes 0-1048576/2911261
5月 07 03:36:39.56 - [INFO] >>>>>>>>>>>>>>> Successfully reached 1048576 bytes.
5月 07 03:36:39.85 - [INFO] scan_ip add ip:113.171.244.37 time:499
5月 07 03:36:40.86 - [INFO] >>>>>>>>>>>>>>> [thread 140104305297152] 1048576 bytes 1048577-2097152/2911261
5月 07 03:36:40.86 - [INFO] >>>>>>>>>>>>>>> Successfully reached 2097152 bytes.
5月 07 03:36:41.20 - [INFO] >>>>>>>>>>>>>>> [thread 140104308397824] 814108 bytes 2097153-2911260/2911261
5月 07 03:36:41.20 - [INFO] >>>>>>>>>>>>>>> Successfully reached 2911260 bytes.

最后,成功播放的网络记录是200,206,206,206,4次请求
gae是200,200,200,3次请求,206被处理成了200,并且少1次请求
响应请求的大小也对不上
gae不支持206部分处理请求响应?

目测就是上次206问题重现?

@CongZeng
Copy link

CongZeng commented May 6, 2016

@xxnet @yeahwu @jzp820927 3.1.5版本以后总是要检查浏览器代理设置,重启程序又好的过几分钟就检测不到了

@CongZeng
Copy link

CongZeng commented May 6, 2016

XX-Net Status:

sys-platform: AMD64, Windows-7-6.1.7601-SP1
os-system: Windows
os-version: 6.1.7601
os-release: 7
os-detail: Version:6-1; Build:7601; Platform:2; CSD:Service Pack 1; ServicePack:1-0; Suite:256; ProductType:0
architecture: 32bit,WindowsPE
browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
xxnet-version: 3.1.6

python-version: 2.7.11
openssl-version: 0.15.1 TLSv1_2 h2:alpn

ipv6-status: 0
gws-ip-num: total:1179 good:950
network-status: OK
connected-link: new:0 used:0
worker: h1:29 h2:0
scan-ip-thread-num: 0
ip-quality: 106
is-idle: 0
block-stat: OK
proxy_state: Fail
ca_state: Fail
Appid_Working: true
Appids_Out_Of_Quota: false
Appids_Not_Exist: false
Using_Public_Appid: false

@CongZeng
Copy link

CongZeng commented May 6, 2016

image

@UltraDWS
Copy link

UltraDWS commented May 7, 2016

@xxnet 试用反馈:环境win10 64bit 新版本偶尔会出现无法启动现象,新生成的默认启动路径参数设置是指向脚本文件,在win10下启动经常会要求管理员权限确认,默认链接线程数超过20就会高概率无法启动,但是实际使用效果非常爽,秒开1080P60fps,偶尔会出现youtube页面卡顿,以上。

@Cat7373
Copy link
Contributor

Cat7373 commented May 7, 2016

@UltraDWS 并没有遇到请求管理员权限的情况,UAC 确认已开。

@UltraDWS
Copy link

UltraDWS commented May 7, 2016

@Cat7373 快捷方式属性设置里无法选择管理员身份启动(灰框无法勾选)(:3」∠)

@UltraDWS
Copy link

UltraDWS commented May 7, 2016

@magnet1215 我3.1.5升级到3.1.6的时候是出现过要重新安装证书的问题。前面几个版本没问题。

@Cat7373
Copy link
Contributor

Cat7373 commented May 7, 2016

我也没选择管理员权限启动呀

@UltraDWS
Copy link

UltraDWS commented May 7, 2016

@Cat7373 我是比较烦每次启动都要点确定以管理员身份启动X:\Program Files (x86)\XX-Net\code\default\python27\1.0\pythonw.exe,以前的版本只需要以管理员身份启动一次就好了。

@yeahwu
Copy link
Contributor

yeahwu commented May 7, 2016

用来用去,还是切回了强制http2,感觉比较稳定,没有慢速现象。

@Maozai-Teng
Copy link

@yeahwu @Cat7373 关闭PAC有什么好处嘛(⊙o⊙)

@hzxie
Copy link
Contributor

hzxie commented May 7, 2016

@yeahwu
Linux和Mac都不支持HTTP/2 差评!

@yeahwu
Copy link
Contributor

yeahwu commented May 7, 2016

@zjhzxhz 俺用的就是Linux,你不要装那些古古怪怪的版本嘛。

@yeahwu
Copy link
Contributor

yeahwu commented May 7, 2016

@tengjunhui123 如果浏览器有用代理插件的话,就不需要pac了哇

@Maozai-Teng
Copy link

@yeahwu 那我都是用的chrome的SwitchyOmega,是不是就应该去关闭那个,或者不关也行?

@hzxie
Copy link
Contributor

hzxie commented May 8, 2016

@yeahwu 我现在的版本不古怪呀~ 正常的Debian 8.
然后OpenSSL的信息说0.14 TLSv1_2 h2:no

@yeahwu
Copy link
Contributor

yeahwu commented May 8, 2016

系统自带的OpenSSL可能xx用不了,要想办法调用xx自带的就正常了

@UltraDWS
Copy link

UltraDWS commented May 9, 2016

管理员权限问题已解决,谢谢诸位的讨论。

@ghost
Copy link

ghost commented Sep 23, 2016

@UltraDWS 请问你的管理员权限怎么解决的?我的也是每次启动时都会弹出UAC,win7 64。 谢谢

@jzp820927
Copy link

直接把 UAC 关了算了

@UltraDWS
Copy link

@danuo 你最好用最新的3.2.6,新版没有这方面的问题,启动第一次会自动设置权限并安装证书,当然最好是右键设置管理员身份启动一次,老版本的话就打开快捷方式属性设置兼容性设置项启用管理员身份启动,同时找到实际执行程序一并设置管理员身份启动,确保启动时UAC不再询问。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests