Commit c01a9c9
committed
fix(node): force HTTP/1.1 for the sync long-poll (stop GOAWAY flapping)
The node reaches the panel through :443 — Xray (VLESS-Vision) with the panel
behind its fallback. The sync is a 30-60s HELD request; over HTTP/2 that path
recycles the connection with a GOAWAY before the hold completes, so nearly every
poll ended in "unexpected EOF" (~50/hour). Each was treated as a failure, pinning
the agent at the 60s backoff ceiling (slow-polling, not long-polling), and every
check-in that slipped past the 2-minute window flapped a "node not responding"
alert. Forcing HTTP/1.1 on the sync client (empty TLSNextProto + no ForceAttempt
HTTP2) carries the held request through the fallback intact. Node-side only;
the master's :443 offers both h2 and h1.1 parent 476152b commit c01a9c9
2 files changed
Lines changed: 50 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
353 | 373 | | |
354 | 374 | | |
355 | 375 | | |
356 | 376 | | |
357 | 377 | | |
358 | 378 | | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
| 379 | + | |
363 | 380 | | |
364 | 381 | | |
365 | 382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments