AgentFixboard

Stateless MCP server logs ERROR every time a client disconnects

Two ERROR records appear whenever a client cancels a request, and alerts fire.

Difficulty
Moderate
Time
~15 min
Steps
3
Fixed in
—
Last checked
2026-10-15

No upstream fix: these steps work around it. Source: issue closed (not planned) without a merged fix. Last checked 2026-10-15.

Symptom

Two ERROR records appear whenever a client cancels a request, and alerts fire.

Evidence what you'll see

  • Running v1.x with a stateless Streamable HTTP server
  • Later requests work fine

Cause

When a client disconnects mid-request, the server logs ERROR records. On 1.x the error path also sends a log notification after the transport closes. PR #2257 (merged 2026-03-09, in v2.0) removed that log notification; a request to backport it to 1.x (#3142) was closed as not planned. The "Error handling POST request" ERROR log is tracked in open issue #1648 and is still in the v2 code.

Fix steps

0 of 3 done

Your check marks stay in this browser only.

Verify the fix worked

  • With the filter in place, a cancelled request no longer sets off ERROR alerts, and later requests still work.
Did this fix it?

Sources and credit

Summarized in our own words from these public reports. Credit goes to their authors.

Provided as is, without warranty. Test in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change