Harden Turnstile solve path for --fast/Xvfb runs
Add cf_sleep, multi-round shadow clicks, richer diagnostics, and longer profile/CF budgets so tokenLen=0 fails less on headless servers.
This commit is contained in:
1 parent
767516745e
commit
62b6ea8ea2
7 files changed
+391
-129
No files matched your search
@@ -544,7 +544,7 @@ curl -sS http://127.0.0.1:8317/v1/chat/completions \
|
||||
| 协议 verify/approve 失败 | 会话态变化 / 风控;看日志后自动回退浏览器 |
|
||||
| 一直 `authorization_pending` | 浏览器路径未完成 consent;需到「设备已授权」且 token 200 |
|
||||
| Cloudflare / Turnstile | 必须用 **Chromium + turnstilePatch**(Chrome 无法 `--load-extension`,token 常为 0);配合 `./start.sh` 自动 Xvfb |
|
||||
| Turnstile token 长度=0 | 日志若 `skip turnstilePatch on Google Chrome`:`sudo apt install -y chromium` 后重跑;或 `browser_path` 指向 chromium |
|
||||
| Turnstile token 长度=0 | ① 日志若 `skip turnstilePatch` / 选中 Chrome:装 Chromium 或设 `browser_path`;② 扩展已加载仍为 0:代码侧已用 `cf_sleep`(不受 `--fast` 0.15x 过度压缩)+ 多轮 shadow 点击;可再 `--no-fast` 或加大 `turnstile_max_rounds`/`profile_timeout`;③ 看日志 `Turnstile 初始态 iframe=` 是否为 0(widget 未挂载 / IP 被拦) |
|
||||
| 浏览器 connection fails / no interface | 无 DISPLAY:`./start.sh` 自动 Xvfb / Python headless |
|
||||
| Hotmail 收不到码 | 检查四段凭证、ClientID/Token、IMAP 主机与 alias 计数 |
|
||||
| 有 token 但无 grok-4.5 | `cpa_base_url` 是否为 `cli-chat-proxy` |
|
||||
|
||||
Reference in new issue
Block a user