Azure MCP server fails sending HTTP request
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- rust
- Bereich
- networking, security
Rechercherichtung
Beginne damit, die Azure MCP-Registrierungsanfrage mit Copilot CLI 1.0.83 zu reproduzieren, und untersuche anschließend den nativen Rust reqwest 0.13.4/hyper-Anfragepfad und dessen TLS-Backend während einer verzögerten TLS 1.2-Clientzertifikat-Neuverhandlung. Als erledigt gilt es, wenn die Registry erfolgreich antwortet statt BrokenPipe, mit Abdeckung für diesen endpointspezifischen TLS-Ablauf.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
This broke overnight. We've been using the same Azure MCP registry for months fine.
Copilot CLI Rust runtime fails with BrokenPipe when validating Azure API Center MCP registry.
GitHub Copilot CLI 1.0.83 cannot validate MCP servers against an Azure API Center registry when enterprise MCP access is configured as Registry only.
The CLI connects successfully to the registry IP, but its native Rust runtime fails before receiving an HTTP response:
[rust:log] starting new connection 'Some("...azure-apicenter.ms")'
[rust:hyper_util::client::legacy::connect::http] connected to ...:443
[rust:hyper_util::client::legacy::client] client connection error:
hyper::Error(Shutdown, Os {
code: 32,
kind: BrokenPipe,
message: "Broken pipe"
})
The same exact registry endpoints return HTTP 200 using both curl and Node.js fetch on the same machine.
A verbose curl trace shows that after the GET request is sent, the Azure endpoint initiates TLS 1.2 renegotiation and requests a client certificate:
Request completely sent off
TLSv1.2 (IN), TLS handshake, Hello request
TLSv1.2 (IN), TLS handshake, Request CERT
HTTP/1.1 200 OK
Copilot CLI logs show that registry requests use the native Rust runtime, specifically reqwest 0.13.4/hyper, rather than Node fetch. The Rust request terminates with BrokenPipe during this endpoint-specific TLS flow.
Please investigate compatibility between the Copilot CLI native runtime’s TLS backend and delayed TLS 1.2 client-certificate renegotiation.
Affected version
GitHub Copilot CLI 1.0.83
Steps to reproduce the behavior
Use GitHub Enterprise (Cloud) and GitHub Copilot Enterprise.
- have an Azure MCP registry setup.
- Enter the Azure URL into the MCP Registry URL
- Select "Registry Only" for "Restrict MCP access to registry servers"
- See a
Failed to load registry: Error: HTTP request failed: error sending request for url ( <redacted> )error message
Expected behavior
MCP registry support works
Additional context
macOS, MBP Pro ARM, iTerm2
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 17 Std. 6 Min.
- Gemergte PRs (30 T.)
- 5
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/copilot-cli
-
area:sessions
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/copilot-cli#4996 ·
Maintainer antworten meist innerhalb von 1 Tag
-
triage
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
github/copilot-cli#4963 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
github/copilot-cli#4932 ·
Maintainer antworten meist innerhalb von 1 Tag
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
github/copilot-cli#4909 ·
Maintainer antworten meist innerhalb von 1 Tag
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
github/copilot-cli#4906 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in github/copilot-cli
Ähnliche Issues
-
component:skill
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 94/100
agentic-os-org/ANOLISA#4086 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
adobe-fonts/source-serif#152 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
canonical/rocks-toolbox#52 ·
-
Bad filepath placeholderOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
tldr-pages/tldr#24565 ·
Maintainer antworten meist innerhalb von 1 Tag
-
agentic documentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
MagnaCapax/PMSS#981 ·
Maintainer antworten meist innerhalb von 5 Tagen