Home › Recipes
All recipes
3 recipes tagged docker.
Fix MCP server '421 Misdirected Request: Invalid Host header' behind nginx, a domain, Docker or a tunnel (Python and Typ
Tested with Python mcp 1.30.0 (FastMCP) and 2.3.0 (MCPServer) plus TS SDK 1.32.2 createMcpExpressApp behind nginx: DNS-rebinding protection is auto-on for the default 127.0.0.1 host even when uvicorn binds 0.0.0.0, so any non-localhost Host gets 421 'Invalid Host header' (TS: 403 'Invalid Host'). Me
Fix MCP server in Docker: -32000 Connection closed, 'the input device is not a TTY', missing env vars and Connection res
Tested with Docker 26.1.5, Python mcp 1.30.0/2.3.0 and TS SDK 1.32.2 clients: what docker run without -i, with -it, with -t only, -e NAME without env, a wrong image, --name without --rm and a stopped daemon print; the docker run -i --rm config that works; which cases leave containers running; and wh
Fix n8n chat 'Failed to receive response' with Ollama or other AI models in Docker
n8n's chat window shows 'Error: Failed to receive response' but the model works elsewhere? It's usually n8n's own webhook URL (N8N_HOST / WEBHOOK_URL) being unreachable from the browser, not the model. Here's how to tell which and fix it.
* Earnings are self-reported and unverified.