Skip to content

[Question]: Required Host Header #225

@etaylor77

Description

@etaylor77

Initial Checks

  • I searched existing issues and discussions
  • I checked the README and documentation

Question Type

Configuration and authentication

Your Question

We have setup MCP as a streamable-http as required for our setup. Setting up the URL just as:

http://x.x.x.x:8000

Error: "POST / HTTP/1.1" 404 Not Found

Digging around and determined we needed to have a trailing /mcp in the URL. Now our LLM is at least attempting to connect, but appears I need some sort of header information for the connection.

Error output:

2025-12-11 00:29:08,809 - mcp.server.streamable_http_manager - DEBUG - Creating new transport
2025-12-11 00:29:08,810 - mcp.server.streamable_http_manager - INFO - Created new transport with session ID: 74acef1612a1427c81111608c03a8bef
2025-12-11 00:29:08,814 - mcp.server.transport_security - WARNING - Invalid Host header: x.x.x.x:8000

Context (Optional)

No response

Environment (Optional)

- MCP Client: Open-WebUI

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions