The client log "Error sending message: 404", after the remote server reboot · Issue #105 · modelcontextprotocol/java-sdk · GitHub
Skip to content

The client log "Error sending message: 404", after the remote server reboot #105

Description

@hongling-dev

Bug description
The client reports "Error sending message: 404", after the server reboot.
logs: ERROR io.modelcontextprotocol.client.transport.HttpClientSseClientTransport.lambda$sendMessage$0 - Error sending message: 404

Environment

  • Spring AI + MCP(0.8.1)
  • spring-webmvc MCP remote server, sse

Steps to reproduce
step 1: launch MCP remote server, and client connect successful by 'http://localhost:port'.
step 2: remote server reboot.
step 3: print error log from client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Significant bug affecting many users, highly requested featureenhancementNew feature or requestfeature/session-storage
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions