Skip to content

updating steam #858

Closed as not planned
Closed as not planned

Description

@Feiabyte

when I open steam it starts an update which is about 100MB and on about 47MB i get this log, the connection closes and the updates restarts to 0

2026-05-07T12:00:52.049912Z ERROR batch JSON parse error: EOF while parsing a string at line 1 column 52428631 (body_len=52428631)
2026-05-07T12:00:52.051692Z WARN batch failed (script AKfycbyR): json: EOF while parsing a string at line 1 column 52428631

Activity

  1. therealaleph commented on May 7, 2026

    @therealaleph
    Owner

    Steam update ~50MB hits Apps Script's per-fetch body limit (50MB). Each UrlFetchApp.fetch() call is capped at 50MB response — Steam's binary content delivery server returns a chunked stream that fills the buffer past the limit, then returns 502. Logs show the JSON parse fail at column 52428631 (= ~50MB), confirming the cap.

    Solutions:

    1. Full mode + VPS — bytes flow through your VPS without per-fetch caps (only OS-level TCP limits)
    2. Add Steam's CDN to passthrough_hosts — browser hits Steam direct, no MITM, no relay. Won't bypass Iran ISP throttle but at least bypasses the 50MB cap
    3. Range parallelism — splits the download into chunks under 50MB. Tracked in Feature Request: Support Cloudflare WARP as an Outbound for Geo-blocking and Captcha Mitigation #308, deferred (Full mode + VPS handles it cleaner)

    می‌بندم — architectural limitation; workarounds exist.


    [reply via Anthropic Claude | reviewed by @therealaleph]

  2. Feiabyte commented on May 7, 2026

    @Feiabyte
    Author

    @therealaleph but thats the problem, I got this result with the full mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions