Skip to content

[BUG] Client can't to connect mcp sever SSE #134

Open
@ratchanonth60

Description

@ratchanonth60

app-1 | | File "/usr/local/lib/python3.13/site-packages/mcp/shared/session.py", line 209, in aexit
app-1 | | return await self._task_group.aexit(exc_type, exc_val, exc_tb)
app-1 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | | File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 772, in aexit
app-1 | | raise BaseExceptionGroup(
app-1 | | "unhandled errors in a TaskGroup", self._exceptions
app-1 | | ) from None
app-1 | | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
app-1 | +-+---------------- 1 ----------------
app-1 | | Traceback (most recent call last):
app-1 | | File "/usr/local/lib/python3.13/site-packages/mcp/server/session.py", line 146, in _receive_loop
app-1 | | await super()._receive_loop()
app-1 | | File "/usr/local/lib/python3.13/site-packages/mcp/shared/session.py", line 331, in _receive_loop
app-1 | | elif isinstance(message.message.root, JSONRPCRequest):
app-1 | | ^^^^^^^^^^^^^^^
app-1 | | File "/usr/local/lib/python3.13/site-packages/pydantic/main.py", line 989, in getattr
app-1 | | raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}')
app-1 | | AttributeError: 'JSONRPCMessage' object has no attribute 'message'
app-1 | +------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions