You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with Apps Script relay and exit node deployed on deno i get error :
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
Root cause: when exit_node.ts called fetch(destination_url), the runtime's fetch() implementation (Deno / Bun / Node all do this by default) auto-decompressed the gzipped/brotli'd response body. So resp.arrayBuffer() returned plain decompressed bytes, but resp.headers still had Content-Encoding: gzip from the destination. Forwarding both meant the browser saw Content-Encoding: gzip on plain text → "invalid or unsupported form of compression".
Fix: strip Content-Encoding and Content-Length from the forwarded response headers (the Apps Script + Rust transport reframes the wire body anyway, so neither header is meaningful end-to-end).
Action needed: pull the latest exit_node.ts, redeploy your Deno Deploy project, and ChatGPT should render correctly.
This affects every compressed-response destination through exit-node: ChatGPT, Claude, Reddit, X, etc. — the fix unblocks them all.
Closing — please reopen if a redeployed exit_node still produces the encoding error.
Activity
fix(exit_node): strip Content-Encoding + Content-Length on response (#…
therealaleph commentedon May 9, 2026
Reviewed via Anthropic Claude.
Real bug, fixed in c437598.
Root cause: when exit_node.ts called
fetch(destination_url), the runtime'sfetch()implementation (Deno / Bun / Node all do this by default) auto-decompressed the gzipped/brotli'd response body. Soresp.arrayBuffer()returned plain decompressed bytes, butresp.headersstill hadContent-Encoding: gzipfrom the destination. Forwarding both meant the browser sawContent-Encoding: gzipon plain text → "invalid or unsupported form of compression".Fix: strip
Content-EncodingandContent-Lengthfrom the forwarded response headers (the Apps Script + Rust transport reframes the wire body anyway, so neither header is meaningful end-to-end).Action needed: pull the latest
exit_node.ts, redeploy your Deno Deploy project, and ChatGPT should render correctly.This affects every compressed-response destination through exit-node: ChatGPT, Claude, Reddit, X, etc. — the fix unblocks them all.
Closing — please reopen if a redeployed exit_node still produces the encoding error.
mehdimalekidev commentedon May 10, 2026
the latest exit_node.ts i couldn't deploy on deno(deploy status is failed).
i cant see why
chore(release): v1.9.19 — UI a11y labels for NVDA / Narrator (#1015)