spring-projects / spring-projects/spring-ai
A few minutes after the mcp client connects, the server will be disconnected
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
A few minutes after the mcp client connects, the server will be disconnected
ERROR io.modelcontextprotocol.client.transport.WebFluxSseClientTransport [] - Fatal SSE error, not retrying: 200 OK from GET http://xxxx/sse, but response failed with cause: reactor.netty.http.client.PrematureCloseException: Connection prematurely closed DURING response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported WebFluxSseClientTransport error and the SSE connection to the /sse endpoint. Reproduce the premature close that occurs a few minutes after the MCP client connects, then verify that the server connection remains available instead of being disconnected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100