Shujian AI SJ-MailShujian AI
Home Solutions AI Assistant Enterprise Download About Privacy 中文

Email attachment download fails after 15 seconds with "error decoding response body" — how do I fix it?

Fixed in v0.9.1: upgrade and attachments of any size download completely, with visible progress and one-click cancel.

Symptoms

In SJ-Mail versions before v0.9.1, downloading a large attachment always fails after roughly fifteen seconds with the error error decoding response body. The larger the attachment, the more reliably it reproduces; small attachments that finish within seconds are usually unaffected.

Cause

The old implementation applied a 15-second overall timeout to the entire download, including the response-body read. When a transfer took longer than 15 seconds the read was forcibly aborted, and parsing the truncated body raised error decoding response body — a timeout misreported as a decoding error. The attachment itself was fine.

Fix

  1. Upgrade to SJ-Mail v0.9.1 or later (see the download page).
  2. Re-open the message and download the attachment again — no extra configuration needed.
  3. Watch the inline progress bar: percentage and speed update in real time, and you can cancel at any time with the "×" button.
✓ Fixed in v0.9.1 | Affected: v0.9.0 and earlier. The overall timeout was removed; only a 10-second connect timeout and a 120-second stall guard remain — dead connections fail fast, slow-but-alive transfers are never killed.

What you also get since v0.9.1

  • Live progress: "Downloading 25% (512 KB / 2 MB) · 100 KB/s"; when the server does not report a size, an indeterminate progress state shows bytes and speed instead.
  • One-click cancel: the attachment returns to its downloadable state with a neutral notice.
  • Switch without interruption: downloads continue while you open other messages or accounts; history is attributed to the original message.
  • Consistent everywhere: main window, standalone reader and mobile.

FAQ

Q: How do I fix "error decoding response body" when downloading attachments?

A: Upgrade to SJ-Mail v0.9.1 or later. In older versions a 15-second overall timeout covered the entire body read, so any transfer longer than 15 seconds failed with this error. v0.9.1 removes that timeout so attachments of any size download completely.

Q: Will very large attachments still fail if the download is slow?

A: No. v0.9.1 keeps only two protections: a 10-second connect timeout and a 120-second no-traffic stall guard. Slow-but-alive downloads are never killed, and the progress bar shows percentage and speed in real time.

Q: Can I switch to another email while a download is running?

A: Yes. Since v0.9.1 downloads continue in the background when you switch messages or accounts, and the completed download is still attributed to the original message.

Q: Can I cancel a download in progress?

A: Yes — click the "×" next to the progress bar. The attachment returns to its downloadable state and can be re-downloaded at any time.

Related

Download SJ-Mail | Connect WorkBuddy via MCP →

Home· Download· Changelog· About· Privacy· Contact sales· 中文

Friendly links: eYou · Anke Xinchuang

© 2025-2026 Shujian AI (书简智能). All rights reserved.