CHENGJIAHEGOXIS on X clicked Sign in on the Library's Notion server
(https://mcp.notion.com/mcp) and got "couldn't reach mcp.notion.com: Post
"https://mcp.notion.com/mcp": EOF", then asked whether the server supports
sign-in at all. It does (Notion answers 401 with OAuth metadata, checked
with curl from here); the first request's connection was cut on their
side of the network.
- discover asks the initialize probe once more when it gets no answer:
Go never sends a POST again by itself, so a kept-alive connection that
a proxy or the server closed reads EOF and failed the sign-in.
- The failure is mcpauth.UnreachableError, with the host and the proxy
the request went through (redacted) or none. api.go says it with an
i18n key (unreachableSaid): the network, not the server's sign-in, with
the way it went and what to do, Go's words kept in brackets. zh,
zh-TW, ja, de.
Run at this head's tree on mica (mote at load 33):
- go test ./internal/mcpauth/ ./internal/gui/ ./internal/library/: ok
- go vet, GOOS=linux go vet -tags nogui, GOOS=windows go vet on
internal/mcpauth and internal/gui: ok
- GUI: mcp-*.test.cjs, i18n-*.test.cjs, signin-browser-down: 328/328,
Chromium and WebKit; mcp-signin gains the direct and proxy cases in en
and zh.
Broken by hand: without the second ask, TestSignInAsksAgainAfterACut
Connection and TestSignInUnreachableSaysTheWay/direct go red, the first
with exactly the reporter's message.
Rebased on f6a538ece (also i18n.js): go test -run Budget|I18n
./internal/gui/ and i18n-keys, mcp-signin, image-resolution GUI
(32/32) run again at this head on mica: ok.
Not tried: a real cut connection to mcp.notion.com from the reporter's
network; the full Go and GUI suites.