Skip to content

Maple Work updater ignores proxies, so users behind one never get updates #1528

Closed

Description

@AnthonyRonning

Maple Work's update checker never uses a proxy. Anyone whose network only reaches the internet through an HTTP proxy, as on many company networks, never gets an update, and nothing in the log says why.

Cause

The updater's HTTP client is built with .no_proxy() (client.rs L71-L75), so it ignores HTTPS_PROXY/HTTP_PROXY and always connects directly. The rest of the app does use the proxy: on the same machine, sign-in, billing and model traffic all went through it.

Reproduction (Nov 9, 2026)

The Windows 11 x64 QA VM reaches the internet only through an egress proxy, with HTTPS_PROXY/HTTP_PROXY set machine-wide.

  1. Install signed Maple Work 0.0.19 and sign in. 0.0.20 is live on the stable feed.
  2. The proxy log shows enclave.trymaple.ai and billing.opensecret.cloud connections from the app, and no request to updates.maple.ai at all.
  3. Settings → About shows "Could not check for updates. Your current app is still available." Automatic downloads are on.
  4. maple-agent.log has no line about the failed check.

Suggested fix

  • Use the configured proxy for update checks and downloads. The feed is minisign-signed and the payloads are signed and digest-checked, so a proxy can't alter what gets installed. Check whether reqwest's environment-variable proxy is enough, or whether the Windows and macOS system proxy settings need explicit support. Most corporate proxies are set there, not in environment variables.
  • Log why a check failed (connect error, proxy error, HTTP status), without URLs that carry user data.
  • If the direct connection was deliberate, write down why next to the builder.

Testing

The QA VM above is a ready reproduction: with the fix, a build installed there should show a 0.0.x → 0.0.(x+1) update in Settings → About and reach "Restart to Update". That also completes the in-app updater test on Windows, which this issue blocked.

🤖 Generated with Claude Code

Activity

  1. added a commit that references this issue on Nov 10, 2026
    7de6d28
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