mcpproxy-go icon indicating copy to clipboard operation
mcpproxy-go copied to clipboard

[bug] v0.70.0 (personal, darwin/arm64): with tls.enabled=true, the core applies TLS to

Open mcpproxy-feedback[bot] opened this issue 1 month ago • 0 comments

[!NOTE] This issue contains verbatim text submitted anonymously via the in-app mcpproxy feedback form. It was relayed automatically and was not written by the issue author shown above.

User Feedback

v0.70.0 (personal, darwin/arm64): with tls.enabled=true, the core applies TLS to the Unix socket listener (~/.mcpproxy/mcpproxy.sock) as well as the TCP listener (log: 'Starting MCP HTTPS server ... features: dual_listener'). The macOS tray and the CLI both speak plain HTTP over that socket, so they get '400 Client sent an HTTP request to an HTTPS server'. Effects: (1) the tray calls /ready over the socket, logs 'Core launch failed (HTTP 400: bad request)', SIGTERMs the core and retries 3/3, so the tray can never run the core with TLS on; (2) CLI commands like 'mcpproxy upstream list' fail with 'API returned status 400', and 'mcpproxy status' reports 'Not running' even though the core is healthy. Repro: set tls.enabled=true, run 'mcpproxy serve', then 'curl --unix-socket ~/.mcpproxy/mcpproxy.sock http://localhost/ready' -> 400, while 'curl -k --unix-socket ... https://localhost/ready' -> 200. Expected: the local IPC socket stays plain HTTP (it's already protected by file permissions), or the tray/CLI use TLS on it. Workaround: run 'mcpproxy serve' via launchd without the tray.

Context

Field Value

Submitted via MCPProxy telemetry feedback

mcpproxy-feedback[bot] avatar Oct 14 '26 19:10 mcpproxy-feedback[bot]