Repository navigation
Description
For test i used one id with last version of codefull.gs
with this added line to config.js
"concurrent_per_deployment": 4,
"relay_timeout": 60,
"batch_coalesce_step_ms": 100,
"batch_coalesce_max_ms": 500
also on _doTunnelBatchFetch function after muteHttpExceptions: true,
i added deadline: 55
to give vps enough time to respond
Didn't WORK!
> so this is my log:
2026-05-13T12:31:49.168503Z INFO Loaded MITM CA from /data/user/0/com.therealaleph.mhrv/files/ca/ca.crt
2026-05-13T12:31:49.168751Z INFO tunnel mux: 1 deployment(s), 30 concurrent per deployment
2026-05-13T12:31:49.168797Z INFO batch coalesce: step=202ms max=2000ms
2026-05-13T12:31:49.168944Z WARN Listening HTTP on 0.0.0.0:8080 — set your browser HTTP proxy to this address.
2026-05-13T12:31:49.168967Z WARN Listening SOCKS5 on 0.0.0.0:1081 — xray / Telegram / app-level SOCKS5 clients use this.
2026-05-13T12:31:49.183294Z INFO runTun2proxy: cli=tun2proxy --proxy socks5://127.0.0.1:1081 --tun-fd 128 --dns virtual --verbosity info --close-fd-on-drop true --udpgw-server 198.18.0.1:7300
2026-05-13T12:31:49.239146Z INFO SOCKS5 CONNECT -> 142.250.154.95:443
2026-05-13T12:31:49.239574Z INFO dispatch 142.250.154.95:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.242162Z INFO SOCKS5 CONNECT -> 216.239.32.223:443
2026-05-13T12:31:49.242258Z INFO dispatch 216.239.32.223:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.244909Z INFO SOCKS5 CONNECT -> 142.250.154.95:443
2026-05-13T12:31:49.244999Z INFO dispatch 142.250.154.95:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.246408Z INFO SOCKS5 CONNECT -> 1.1.1.1:853
2026-05-13T12:31:49.246473Z INFO dispatch 1.1.1.1:853 -> full tunnel (via batch mux)
2026-05-13T12:31:49.253594Z INFO SOCKS5 CONNECT -> 216.239.32.223:443
2026-05-13T12:31:49.253754Z INFO dispatch 216.239.32.223:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.266339Z INFO SOCKS5 CONNECT -> 216.239.32.223:443
2026-05-13T12:31:49.266422Z INFO dispatch 216.239.32.223:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.270776Z INFO SOCKS5 CONNECT -> 140.82.112.22:443
2026-05-13T12:31:49.270933Z INFO dispatch 140.82.112.22:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.284534Z INFO SOCKS5 CONNECT -> 216.239.32.223:443
2026-05-13T12:31:49.284629Z INFO dispatch 216.239.32.223:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.330095Z INFO SOCKS5 CONNECT -> 142.251.14.95:443
2026-05-13T12:31:49.330246Z INFO dispatch 142.251.14.95:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.332053Z INFO SOCKS5 CONNECT -> 216.239.34.223:443
2026-05-13T12:31:49.332195Z INFO dispatch 216.239.34.223:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.468154Z INFO h2 connection established to relay edge
2026-05-13T12:31:49.588858Z INFO SOCKS5 CONNECT -> 140.82.112.22:443
2026-05-13T12:31:49.589364Z INFO dispatch 140.82.112.22:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.598754Z INFO SOCKS5 CONNECT -> 140.82.112.22:443
2026-05-13T12:31:49.599006Z INFO dispatch 140.82.112.22:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.599932Z INFO SOCKS5 CONNECT -> 140.82.112.22:443
2026-05-13T12:31:49.600159Z INFO dispatch 140.82.112.22:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.605177Z INFO SOCKS5 CONNECT -> 140.82.112.22:443
2026-05-13T12:31:49.605401Z INFO dispatch 140.82.112.22:443 -> full tunnel (via batch mux)
2026-05-13T12:31:49.618002Z INFO SOCKS5 CONNECT -> collector.github.com:443
2026-05-13T12:31:49.618370Z INFO dispatch collector.github.com:443 -> full tunnel (via batch mux)
2026-05-13T12:31:53.943781Z INFO h2 fast path active; h1 fallback pool pre-warmed with 6 connection(s)
2026-05-13T12:31:58.530021Z INFO SOCKS5 CONNECT -> alive.github.com:443
2026-05-13T12:31:58.530641Z INFO dispatch alive.github.com:443 -> full tunnel (via batch mux)
2026-05-13T12:31:59.555945Z ERROR tunnel connect error for 142.250.154.95:443: timeout
2026-05-13T12:31:59.583781Z INFO SOCKS5 CONNECT -> readaloud.googleapis.com:443
2026-05-13T12:31:59.584378Z INFO dispatch readaloud.googleapis.com:443 -> full tunnel (via batch mux)
2026-05-13T12:31:59.892158Z ERROR tunnel connect error for 142.250.154.95:443: timeout
2026-05-13T12:31:59.900203Z INFO SOCKS5 CONNECT -> readaloud.googleapis.com:443
2026-05-13T12:31:59.900520Z INFO dispatch readaloud.googleapis.com:443 -> full tunnel (via batch mux)
2026-05-13T12:31:59.942488Z ERROR tunnel connect error for 216.239.32.223:443: timeout
2026-05-13T12:31:59.947532Z ERROR tunnel connect error for 216.239.32.223:443: timeout
2026-05-13T12:31:59.953317Z INFO SOCKS5 CONNECT -> optimizationguide-pa.googleapis.com:443
2026-05-13T12:31:59.953587Z INFO dispatch optimizationguide-pa.googleapis.com:443 -> full tunnel (via batch mux)
2026-05-13T12:31:59.960325Z ERROR tunnel connect error for 216.239.32.223:443: timeout
2026-05-13T12:31:59.970417Z INFO SOCKS5 CONNECT -> optimizationguide-pa.googleapis.com:443
2026-05-13T12:31:59.970710Z INFO dispatch optimizationguide-pa.googleapis.com:443 -> full tunnel (via batch mux)
2026-05-13T12:31:59.975003Z INFO SOCKS5 CONNECT -> optimizationguide-pa.googleapis.com:443
2026-05-13T12:31:59.975109Z INFO dispatch optimizationguide-pa.googleapis.com:443 -> full tunnel (via batch mux)
2026-05-13T12:31:59.984426Z ERROR tunnel connect error for 216.239.32.223:443: timeout
2026-05-13T12:31:59.988770Z INFO SOCKS5 CONNECT -> optimizationguide-pa.googleapis.com:443
2026-05-13T12:31:59.988867Z INFO dispatch optimizationguide-pa.googleapis.com:443 -> full tunnel (via batch mux)
2026-05-13T12:31:59.991007Z ERROR tunnel connect error for 140.82.112.22:443: timeout
2026-05-13T12:31:59.995460Z INFO SOCKS5 CONNECT -> collector.github.com:443
2026-05-13T12:31:59.995557Z INFO dispatch collector.github.com:443 -> full tunnel (via batch mux)
2026-05-13T12:32:01.746012Z INFO batch: 3 ops → AKfycbyL, rtt=12.193291453s
2026-05-13T12:32:01.746359Z ERROR tunnel connect_data error for 216.239.34.223:443: missing response in batch from script AKfycbyL
2026-05-13T12:32:01.746385Z ERROR tunnel connect_data error for 1.1.1.1:853: missing response in batch from script AKfycbyL
2026-05-13T12:32:01.746872Z ERROR tunnel connect_data error for 142.251.14.95:443: missing response in batch from script AKfycbyL
2026-05-13T12:32:01.754721Z INFO SOCKS5 CONNECT -> optimizationguide-pa.googleapis.com:443
2026-05-13T12:32:01.754950Z INFO dispatch optimizationguide-pa.googleapis.com:443 -> full tunnel (via batch mux)
2026-05-13T12:32:01.757449Z INFO SOCKS5 CONNECT -> readaloud.googleapis.com:443
2026-05-13T12:32:01.757719Z INFO dispatch readaloud.googleapis.com:443 -> full tunnel (via batch mux)
2026-05-13T12:32:02.508353Z INFO SOCKS5 CONNECT -> 149.154.167.91:5222
2026-05-13T12:32:02.509093Z INFO dispatch 149.154.167.91:5222 -> full tunnel (via batch mux)
2026-05-13T12:32:02.584318Z INFO SOCKS5 CONNECT -> 149.154.167.91:443
2026-05-13T12:32:02.584592Z INFO dispatch 149.154.167.91:443 -> full tunnel (via batch mux)
2026-05-13T12:32:02.680833Z INFO SOCKS5 CONNECT -> 149.154.167.92:5222
2026-05-13T12:32:02.680825Z INFO SOCKS5 CONNECT -> 149.154.167.92:5222
2026-05-13T12:32:02.681120Z INFO dispatch 149.154.167.92:5222 -> full tunnel (via batch mux)
2026-05-13T12:32:02.681119Z INFO dispatch 149.154.167.92:5222 -> full tunnel (via batch mux)
2026-05-13T12:32:02.688874Z INFO SOCKS5 CONNECT -> 149.154.167.91:443
2026-05-13T12:32:02.689208Z INFO dispatch 149.154.167.91:443 -> full tunnel (via batch mux)
2026-05-13T12:32:03.554367Z INFO SOCKS5 CONNECT -> 149.154.167.222:443
2026-05-13T12:32:03.554810Z INFO dispatch 149.154.167.222:443 -> full tunnel (via batch mux)
2026-05-13T12:32:07.676259Z INFO SOCKS5 CONNECT -> 149.154.167.92:5222
2026-05-13T12:32:07.676457Z INFO dispatch 149.154.167.92:5222 -> full tunnel (via batch mux)
2026-05-13T12:32:15.362716Z INFO batch: 1 ops → AKfycbyL, rtt=11.604180464s
2026-05-13T12:32:15.363646Z ERROR tunnel connect_data error for 149.154.167.222:443: missing response in batch from script AKfycbyL
2026-05-13T12:32:15.866254Z INFO SOCKS5 CONNECT -> 149.154.167.91:5222
2026-05-13T12:32:15.866705Z INFO dispatch 149.154.167.91:5222 -> full tunnel (via batch mux)
2026-05-13T12:32:16.417223Z INFO SOCKS5 CONNECT -> 149.154.167.222:443
2026-05-13T12:32:16.417726Z INFO dispatch 149.154.167.222:443 -> full tunnel (via batch mux)
2026-05-13T12:32:19.625549Z INFO SOCKS5 CONNECT -> collector.github.com:443
2026-05-13T12:32:19.626382Z INFO dispatch collector.github.com:443 -> full tunnel (via batch mux)
2026-05-13T12:32:19.627289Z INFO SOCKS5 CONNECT -> collector.github.com:443
2026-05-13T12:32:19.627621Z INFO dispatch collector.github.com:443 -> full tunnel (via batch mux)
2026-05-13T12:32:19.826996Z INFO batch: 5 ops → AKfycbyL, rtt=30.00212077s
2026-05-13T12:32:19.827321Z WARN batch timed out after 30s (script AKfycbyL, 5 ops)
2026-05-13T12:32:19.827601Z ERROR tunnel connect_data error for collector.github.com:443: batch timed out
2026-05-13T12:32:19.828340Z ERROR tunnel connect_data error for 140.82.112.22:443: batch timed out
2026-05-13T12:32:19.828742Z ERROR tunnel connect_data error for 140.82.112.22:443: batch timed out
2026-05-13T12:32:19.829146Z ERROR tunnel connect_data error for 140.82.112.22:443: batch timed out
2026-05-13T12:32:19.829494Z ERROR tunnel connect_data error for 140.82.112.22:443: batch timed out
Activity
dazzling-no-more commentedon May 13, 2026
Looked at your log — Full mode isn't regressed in v1.9.24, but your config edits didn't take effect.
concurrent_per_deployment,batch_coalesce_step_ms,batch_coalesce_max_ms, andrelay_timeoutare Rust-client knobs — adding them to Apps Script'sconfig.jsdoes nothing. Your log proves it: it shows30 concurrent per deploymentandstep=202ms max=2000ms, not your4 / 100 / 500. Likewiserelay_timeoutis not a real key — the batch budget knob isrequest_timeout_secs. Anddeadline: 55on_doTunnelBatchFetchonly raises Apps Script's outbound UrlFetchApp budget, which isn't what's failing here.The v1.9.24 fix (#1088) is actually working — batches now run the full 12s / 30s instead of cliff-failing at the old hardcoded 10s. What's left in your log are two server-side failures:
rtt=12.2s→missing response in batch from script AKfycbyL— Apps Script responded in time, but its JSON didn't include every op. codefull.gs's per-op fetches inside the batch are dropping.rtt=30.0s→batch timed out— Apps Script never responded. One deployment serving 30 concurrent ops is overloaded.The early
connect error: timeoutlines at T+10s are the h1-open 8s bound, tracked separately in #1131.TL;DR: add a second deployment (mux across more script_ids) and/or tune
request_timeout_secson the Rust client side, not inconfig.js.dirtySnowman-I commentedon May 13, 2026
I uploaded my log and explained the issue can you take look at main and tell me what I'm doing wrong? I'm not really good with this stuff but really need it. #1172
therealaleph commentedon May 13, 2026
Reviewed via Anthropic Claude.
@NightmareYeager — config knobs you set (
concurrent_per_deployment,relay_timeout,batch_coalesce_step_ms,batch_coalesce_max_ms) — let me check naming:concurrent_per_deployment❌ — not a real field. Closest isparallel_relay(relay-only fan-out factor) or implicit batch concurrency. Unknown fields get silently dropped in v1.9.18-v1.9.21 (Relay fails after ~30-40% quota consumed — apps_script timeouts, full tunnel also dead#877 reported this).relay_timeout❌ — wrong name. Real field isrequest_timeout_secs(parameterized in v1.9.24, was hardcoded 10s before).batch_coalesce_step_ms❌ — wrong name. Real field iscoalesce_step_ms.batch_coalesce_max_ms❌ — wrong name. Real field iscoalesce_max_ms.Correct config:
{ "parallel_relay": 2, "request_timeout_secs": 60, "coalesce_step_ms": 10, "coalesce_max_ms": 3000 }If you actually meant
_doTunnelin Code.gs — what specific line did you edit? CodeFull.gs's tunnel logic is in_doTunnel(yes), but editing it could break tunnel-node compatibility.Also: upgrade to v1.9.25 (just shipped — fixes #251 udpgw clash + v1.9.20-1.9.24 Full mode regression cluster). v1.9.2.4 might be a typo for v1.9.24 — that's fine.
Closing — reopen with the correct config field names + v1.9.25 + actual log lines (not config). The
concurrent_per_deploymenttypo is what's making your settings no-op.