Skip to content

Test results of force_http1 on 1.9.18 #962

@r0ar

Description

@r0ar

First let me thank you for this great tool. It's the only way I can connect to the wider internet.

I have done some tests via different configurations to find out if h2 is the reason for the (apparently) big app script run count.

For each configuration I performed the same actions using version 1.9.18 and full mode via GitHub actions and cloudflared-quick (free) method:

  1. Open a terminal and run mhrv-rs
  2. Open Firefox in incognito mode on Linux
  3. Open https://www.youtube.com/watch?v=dQw4w9WgXcQ (gottem)
  4. As soon as the video control UI loads, change the resolution to 720p and press play
  5. Watch the video till the last 1 or 2 seconds and immediately close Firefox and ctrl+c on the terminal
  6. Then via another browser record the change in app script run number.

Setting force_http1 to true always made things slower. Video loads slower at first and lots of buffering and waiting. Also sometimes things didn't load properly. For example the subtitles were sometimes disabled even though they should be available and ON by default on this video. Also lots of errors and warnings appeared in the log every time force_http1 was set to true (script is replaced with X):

2026-05-09T07:59:49.009257Z  WARN mhrv-rs 1.9.18 starting (mode: full)
2026-05-09T07:59:49.009308Z  WARN Full tunnel mode: NO certificate installation needed. ALL traffic is tunneled end-to-end through Apps Script + tunnel node.
2026-05-09T07:59:49.010229Z  WARN Listening HTTP   on 127.0.0.1:8085 — set your browser HTTP proxy to this address.
2026-05-09T07:59:49.010245Z  WARN Listening SOCKS5 on 127.0.0.1:8086 — xray / Telegram / app-level SOCKS5 clients use this.
2026-05-09T08:00:23.849793Z  WARN batch failed (script X): timeout
2026-05-09T08:00:37.778167Z  WARN batch failed (script X): timeout
2026-05-09T08:00:39.769234Z  WARN batch failed (script X): timeout
2026-05-09T08:00:39.878408Z  WARN batch failed (script X): timeout
2026-05-09T08:00:41.304979Z  WARN batch failed (script X): timeout
2026-05-09T08:00:45.890529Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:45.890574Z ERROR tunnel connect_data error for fonts.gstatic.com:443: batch timed out
2026-05-09T08:00:46.297226Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:46.297267Z ERROR tunnel connect_data error for accounts.google.com:443: batch timed out
2026-05-09T08:00:46.910583Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:46.910614Z ERROR tunnel connect_data error for www.google.com:443: batch timed out
2026-05-09T08:00:46.971951Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:46.971988Z ERROR tunnel connect_data error for googleads.g.doubleclick.net:443: batch timed out
2026-05-09T08:00:47.177201Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:00:47.177214Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:47.177251Z ERROR tunnel connect_data error for static.doubleclick.net:443: batch timed out
2026-05-09T08:00:47.885039Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:47.885072Z ERROR tunnel connect_data error for fonts.gstatic.com:443: batch timed out
2026-05-09T08:00:48.051031Z  WARN batch timed out after 30s (script X, 3 ops)
2026-05-09T08:00:48.051064Z ERROR tunnel connect_data error for www.gstatic.com:443: batch timed out
2026-05-09T08:00:48.051153Z ERROR tunnel connect_data error for fonts.gstatic.com:443: batch timed out
2026-05-09T08:00:48.051152Z ERROR tunnel connect_data error for fonts.gstatic.com:443: batch timed out
2026-05-09T08:00:48.081739Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:48.081774Z ERROR tunnel connect_data error for www.google.com:443: batch timed out
2026-05-09T08:00:49.108850Z  WARN batch timed out after 30s (script X, 2 ops)
2026-05-09T08:00:49.108910Z ERROR tunnel connect_data error for fonts.gstatic.com:443: batch timed out
2026-05-09T08:00:49.108971Z ERROR tunnel connect_data error for fonts.gstatic.com:443: batch timed out
2026-05-09T08:00:49.322641Z  WARN batch timed out after 30s (script X, 2 ops)
2026-05-09T08:00:49.506299Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:00:49.506320Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:49.506365Z ERROR tunnel connect_data error for www.gstatic.com:443: batch timed out
2026-05-09T08:00:49.943844Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:49.943904Z ERROR tunnel connect_data error for www.gstatic.com:443: batch timed out
2026-05-09T08:00:49.981020Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:49.981054Z ERROR tunnel connect_data error for www.gstatic.com:443: batch timed out
2026-05-09T08:00:50.006424Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:50.006469Z ERROR tunnel connect_data error for www.gstatic.com:443: batch timed out
2026-05-09T08:00:50.237577Z  WARN batch failed (script X): timeout
2026-05-09T08:00:51.607998Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:51.823775Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:51.823813Z ERROR tunnel connect_data error for rr4---sn-vgqsrnld.googlevideo.com:443: batch timed out
2026-05-09T08:00:53.861614Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:54.263016Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:00:54.263047Z ERROR tunnel connect_data error for youtube.com:443: batch timed out
2026-05-09T08:01:06.718458Z  WARN batch failed (script X): timeout
2026-05-09T08:01:07.791194Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:08.109814Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:01:08.109826Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:08.109859Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:01:09.781700Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:11.316797Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:11.364276Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:01:11.364289Z  WARN batch failed (script X): timeout
2026-05-09T08:01:15.339346Z  WARN batch failed (script X): timeout
2026-05-09T08:01:16.312362Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:16.312394Z ERROR tunnel connect_data error for accounts.google.com:443: batch timed out
2026-05-09T08:01:16.925758Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:16.925790Z ERROR tunnel connect_data error for www.google.com:443: batch timed out
2026-05-09T08:01:17.193444Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:17.193537Z ERROR tunnel connect_data error for static.doubleclick.net:443: batch timed out
2026-05-09T08:01:17.899799Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:17.899840Z ERROR tunnel connect_data error for fonts.gstatic.com:443: batch timed out
2026-05-09T08:01:18.097027Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:01:18.097039Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:18.097072Z ERROR tunnel connect_data error for www.google.com:443: batch timed out
2026-05-09T08:01:19.335156Z  WARN batch timed out after 30s (script X, 2 ops)
2026-05-09T08:01:21.619978Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:26.212924Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:26.212990Z ERROR tunnel connect_data error for www.youtube.com:443: batch timed out
2026-05-09T08:01:28.048929Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:28.048981Z ERROR tunnel connect_data error for rr4---sn-vgqsrnld.googlevideo.com:443: batch timed out
2026-05-09T08:01:30.915691Z  WARN batch failed (script X): timeout
2026-05-09T08:01:49.298275Z  WARN batch failed (script X): timeout
2026-05-09T08:01:51.579708Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:51.579737Z ERROR tunnel connect_data error for www.google.com:443: batch timed out
2026-05-09T08:01:56.228671Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:56.228724Z ERROR tunnel connect_data error for www.youtube.com:443: batch timed out
2026-05-09T08:01:59.447058Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:01:59.447114Z ERROR tunnel connect_data error for i.ytimg.com:443: batch timed out
2026-05-09T08:02:00.931945Z  WARN batch timed out after 30s (script X, 2 ops)
2026-05-09T08:02:00.931995Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:02:02.796714Z  WARN batch failed (script X): timeout
2026-05-09T08:02:04.868056Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:02:12.786296Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:02:19.311511Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:02:21.290232Z  WARN batch failed (script X): timeout
2026-05-09T08:02:21.469345Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:02:21.469365Z  WARN batch failed (script X): timeout
2026-05-09T08:02:32.422054Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:02:32.422111Z ERROR tunnel connect_data error for googleads.g.doubleclick.net:443: batch timed out
2026-05-09T08:02:32.812408Z  WARN batch timed out after 30s (script X, 2 ops)
2026-05-09T08:02:32.812440Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:02:33.149182Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:02:33.149210Z  WARN batch failed (script X): timeout
2026-05-09T08:02:33.667434Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:02:33.667468Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:02:51.303358Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:02:51.481906Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:02:51.703362Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:02:51.703392Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:02:51.703446Z ERROR tunnel connect_data error for i.ytimg.com:443: batch timed out
2026-05-09T08:02:51.986058Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:02:51.986089Z ERROR tunnel connect_data error for googleads.g.doubleclick.net:443: batch timed out
2026-05-09T08:02:54.301002Z  WARN batch failed (script X): timeout
2026-05-09T08:02:56.316236Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:02:56.316267Z ERROR tunnel connect_data error for www.youtube.com:443: batch timed out
2026-05-09T08:03:02.438046Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:03:02.438077Z ERROR tunnel connect_data error for googleads.g.doubleclick.net:443: batch timed out
2026-05-09T08:03:03.165188Z  WARN batch timed out after 30s (script X, 2 ops)
2026-05-09T08:03:03.165219Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:03:25.123366Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:03:25.123398Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:03:25.722468Z  WARN batch failed (script X): timeout
2026-05-09T08:03:26.330803Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:03:26.330820Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:03:26.330858Z ERROR tunnel connect_data error for www.youtube.com:443: batch timed out
2026-05-09T08:03:55.738036Z  WARN batch timed out after 30s (script X, 2 ops)
2026-05-09T08:03:55.738088Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:03:56.294088Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:03:56.294123Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:03:56.346627Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:03:56.346657Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:03:56.346704Z ERROR tunnel connect_data error for www.youtube.com:443: batch timed out
2026-05-09T08:04:07.105737Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:04:07.105770Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:04:14.013387Z ERROR Relay timeout — Apps Script unresponsive
2026-05-09T08:04:17.917358Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:04:17.917434Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:04:23.614654Z  WARN batch failed (script X): timeout
2026-05-09T08:04:26.362198Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:04:26.362270Z ERROR tunnel connect_data error for www.youtube.com:443: batch timed out
2026-05-09T08:04:54.417605Z  WARN batch failed (script X): timeout
2026-05-09T08:04:54.457525Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:04:54.457559Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:04:56.379051Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:04:56.379065Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:04:56.379103Z ERROR tunnel connect_data error for www.youtube.com:443: batch timed out
2026-05-09T08:04:56.994080Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:04:56.994125Z ERROR tunnel connect_data error for googleads.g.doubleclick.net:443: batch timed out
2026-05-09T08:05:25.268231Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:05:25.268262Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:05:26.395310Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:05:26.395342Z ERROR tunnel connect_data error for www.youtube.com:443: batch timed out
2026-05-09T08:05:26.449722Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:05:26.449736Z  WARN batch failed (script X): timeout
2026-05-09T08:05:56.411021Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:05:56.411053Z ERROR tunnel connect_data error for www.youtube.com:443: batch timed out
2026-05-09T08:05:56.465295Z  WARN batch timed out after 30s (script X, 2 ops)
2026-05-09T08:05:56.465329Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:05:57.275341Z  WARN blacklisted script X for 120s: 3 timeouts in 30s
2026-05-09T08:05:57.275359Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:05:57.275408Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:05:57.420929Z  WARN batch failed (script X): timeout
2026-05-09T08:06:22.765931Z  WARN batch failed (script X): timeout
2026-05-09T08:06:27.435833Z  WARN batch timed out after 30s (script X, 2 ops)
2026-05-09T08:06:27.435865Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:06:28.274025Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:06:28.274096Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
2026-05-09T08:06:38.531457Z  WARN batch failed (script X): timeout
2026-05-09T08:06:39.088852Z  WARN batch timed out after 30s (script X, 1 ops)
2026-05-09T08:06:39.088887Z ERROR tunnel connect_data error for rr3---sn-p5qlsnrl.googlevideo.com:443: batch timed out
^C2026-05-09T08:06:43.821283Z  WARN Ctrl+C — shutting down.

The app script run count was around half of the default config (168 for a 3:33 720p video compared to 328 with no force_http1) but that might be because some parts of the page weren't properly loaded (like the aforementioned subtitles).

I don't know if these numbers are supposed to be this big for the full method or not but using MITM method and no youtube_via_relay option for the same video only ran the app script 30 times (with force_http1 and without).

In any case I don't think h2 is the problem. It actually makes things faster and it removes all the errors.

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions