Windows sandbox blocks direct TCP connection despite hostname and IP allowlist
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- powershell, python
- Ambito
- networking, security
Direzione di ricerca
Start by reading the Windows sandbox networking policy and local proxy host-filter code; the issue does not name source files or tests. Compare the direct PowerShell TCP failure with curl succeeding under the same hostname and IP allowlist, then trace how each connection is handled. Done means the documented policy permits the direct connection and a regression test covers the reported case.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
Copilot CLI 1.0.109 on Windows blocks a direct TCP connection to an internal Nexus server, even though outbound and local networking are enabled and both its hostname and resolved IP are allowed.
The connection fails with SocketErrorCode: AccessDenied , Windows error 10013 , for <ip_address>:443 . Maven also reports Permission denied: getsockopt when resolving dependencies. Adding the IP and restarting the CLI did not resolve it.
Affected version
Copilot CLI 1.0.109 on Windows
Steps to reproduce the behavior
- Enable the sandbox and allow outbound and local networking.
- Add the Nexus hostname and its resolved IP to allowed hosts.
- Have Copilot run a PowerShell TCP connection to the hostname on port 443:
$client = New-Object System.Net.Sockets.TcpClient
try {
$client.ConnectAsync('nexus.mycompany.com', 443).Wait(10000)
} finally {
$client.Dispose()
}
Expected behavior
The direct TCP connection succeeds under the displayed policy.
Additional context
curl to the same HTTPS hostname succeeds from the sandbox. The effective policy lists both the hostname and IP in allow layer 1, says outbound and local networking are allowed, and identifies the host filter as the local proxy.
- Lingua principale
- Python
- Stelle
- 11.5k
- Fork
- 2k
- Merge medio
- 6h 34m
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/copilot-cli
-
area:plugins
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
github/copilot-cli#5567 ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
github/copilot-cli#5489 ·
-
Built-in functions.view returns no content for large files despite documenting automatic truncationApertaarea:tools
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/copilot-cli#5476 ·
-
triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
github/copilot-cli#5377 ·
-
area:platform-windows area:tools
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
github/copilot-cli#5340 ·
Tutte le issue di github/copilot-cli
Issue simili
-
fidelity
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
backlog
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
sagemathinc/sagebrush#3434 ·
I maintainer di solito rispondono entro 1 giorno
-
marketing
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wuisabel-gif/MemWhale#576 ·
I maintainer di solito rispondono entro 1 giorno
-
Status: Triage Suggestion
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
GTNewHorizons/GT-New-Horizons-Modpack#27957 ·
I maintainer di solito rispondono entro 1 giorno