Skip to content

Client hangs on valid server responses #192

Closed
@peter-jerry-ye

Description

@peter-jerry-ye

Describe the bug

  1. The client hangs when the server send a log notification after the initialization phase.
  2. The client hangs when the server sends a response having the id as string.

Both of the actions operations are valid as per specification.

To Reproduce
This repository contains the files.

By modifying server.py then run uv run client.py should give you the behavior.

It also has a client implemented with typescript sdk as comparison.

Expected behavior
The client should perform normally, as the client written with typescript sdk.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser [e.g. chrome, safari]: n/a
  • Version [e.g. 22]: n/a

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]: n/a
  • OS: [e.g. iOS8.1]: n/a
  • Browser [e.g. stock browser, safari]: n/a
  • Version [e.g. 22]: n/a

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions