Client never connects

オープン
#164 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
swift
領域
api

調査の方向性

Start by reproducing the sample client and server, then inspect the transport passed to client.connect(transport:). Compare the client and server setup around the await that does not return. Done means identifying why the connection remains pending and documenting or fixing the connection behavior.

索引モデルが issue の本文から書いたものです。

説明

bug

Just looking for some advice...

Ive followed the sample code and have both client and server. The server connects and seems fine. The client never connects and the line

let result = try await client.connect(transport: transport)

never moves past the await.

Is there something painfully obvious I'm missing?

TIA

主要言語
Swift
スター
1.6k
フォーク
270
平均マージ
2日 7時間
マージ済み PR(30日)
15

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/swift-sdk のほかの issue

modelcontextprotocol/swift-sdk の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。