Client never connects
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
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 内容生成。
描述
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 小时
- 30 天内合并 PR
- 15
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/swift-sdk 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 73/100
modelcontextprotocol/swift-sdk#327 ·
维护者通常 2 天内回复
-
Value decoding changes data-URL-looking JSON strings into Value.data可能已有人在做 @bitbemol 于 73 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
modelcontextprotocol/swift-sdk#277 ·
维护者通常 2 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 78/100
modelcontextprotocol/swift-sdk#274 ·
维护者通常 2 天内回复
-
`HTTPClientTransport` fails to build on Windows: `#if !os(Linux)` guards no longer match the `EventSource` platform condition可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
modelcontextprotocol/swift-sdk#261 ·
维护者通常 2 天内回复
-
Client.withBatch leaves per-request tasks pending when transport.send throws可能已有人在做 @bbdu3 于 1 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 55/100
modelcontextprotocol/swift-sdk#324 · 2 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
查看 modelcontextprotocol/swift-sdk 的全部 Issue
相似的 Issue
-
area: energy area: panel enhancement
难度 2/5 1-3 小时 新手友好度 63/100
Pallepadehat/WatchMyBattery#11 ·
维护者通常 1 天内回复
-
🎉 Add Ginkgo可能已有人在做 @usual2970 今天认领。 未关闭addition
难度 1/5 1 小时以内 新手友好度 76/100
jaywcjlove/awesome-mac#4442 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
DeveloperAcademy-POSTECH/2026-C6-A03-KIIKICK-iOS#76 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 91/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100