-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cronet 随机回退到 TCP 连接导致被重置 #1
Comments
我想要帮忙,但是你提供的信息有点少。
|
我刚才使用了一个没有 exhentai 权限的帐号来测试:画廊站点为 exhentai 时,访问收藏会显示“奇怪的错误”、其他页面会显示“空页面”。 错误在于,此处应该显示“Sad Panda”来提示用户其没有权限,而不是显示如上所述的内容。 我觉得你的帐号是否只是简单地没有 exhentai 权限呢?你在浏览器登陆后能够访问 exhentai 呢? |
感谢。 |
比较奇怪的是,刚刚在反馈过程中,我再次尝试进入里站,成功了。十分钟前我刚刚尝试更换网络操作并出现奇怪的错误,现在却又可以借助流量访问了。中途没有再切换网络。 |
呃,刚刚打字过程中再切回去,又变成了奇怪的错误🧐 |
@iiikunn 麻烦提供日志,复现一次“奇怪的错误”之后使用 设置-高级-导出日志 。 |
感谢。 通过百度网盘分享的文件 |
1log-2023-10-10-12-41-20-812.zip
@FooIbar 来看看为啥会这样呢?addQuicHint 里有 exhentai.org ,用了 QUIC 还能被 RESET ? |
@iiikunn 你有电脑吗?对 Chromium 内核的浏览器,在其快捷方式的“目标” 后加入
然后打开它,访问 https://exhentai.org 。看看能正常看到白屏还是有别的错误。 |
logcat-2023-10-10-13-33-15-877.txt |
结果是 ERR_CONNECTION_TIMED_OUT |
那应该是访问 |
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --enable-quic --origin-to-force-quic-on="exhentai.org:443, forums.e-hentai.org:443" --host-resolver-rules="MAP forums.e-hentai.org cdn.sstatic.net, MAP exhentai.org cdn.sstatic.net" "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --enable-quic --origin-to-force-quic-on="exhentai.org:443, forums.e-hentai.org:443" --host-resolver-rules="MAP forums.e-hentai.org dash.cloudflare.com, MAP exhentai.org dash.cloudflare.com" 都试了,一样的结果 |
绷...难不成所有 Cloudflare 的 IP 在你地区都被封锁了...还是因为对 Edge 所以这些参数不生效... |
没有,我可以直连 Cloudflare.com和skk.moe |
我在上课,稍等,谷歌浏览器可以吗 |
尝试过了,无论是否使用VPN,可以加载出白屏。还没登录账号尝试能不能进入 |
我使用的是谷歌浏览器 |
请问还需要别的支持吗? |
我复现不了,所以修不了。 |
感谢。就这样吧。 |
已经复现此现象,exhentai 和 e-hentai 都会出现。目前原因我猜测是 QUIC 连接失败一次或多次导致 cronet 回退到了 TCP 连接,后者导致连接被 GFW 重置。 必须让 QUIC 连接失败一次才能复现。方法:
|
QUIC 只在第一次连接时被使用,失败就会回退 TCP ,被重置。查了没有禁用回退的方法。 |
WiFi更改DNS 我修改hosts 使用台灣谷歌服務器, 直連Google |
@Pantyhose-X 你说错误和我提到的没有任何关系。 EhViewer 内置 Hosts 和 DoH 应对 DNS 污染,不需要修改 APN 和 WiFi 设置。 |
除了在 Cloudflare IP Override 中自选 IP 之外,也可以直接不用 Cronet ,选择 OkHttp ,这会让他回到域前置。 |
复现步骤 / Step to reproduce
如上
预期行为 / Expected behaviour
直连ex
实际行为 / Actual Behaviour
出现“奇怪的错误”提示
应用日志 / App logs
No response
备注 / Addition details
No response
EhViewer 版本号 / EhViewer version code
1.8.9.7
EhViewer CI 版本 / EhViewer CI Version
8e8706b
Android 系统版本 / Android version
miui14
设备型号 / Device model
红米12turbo
SoC 型号 / Soc model
7gen2
自查步骤 / Verify steps
The text was updated successfully, but these errors were encountered: