Windows sandbox blocks direct TCP connection despite hostname and IP allowlist
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- powershell, python
- Área
- networking, security
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 11.5k
- Forks
- 2k
- Merge medio
- 6 h 34 min
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/copilot-cli
-
area:plugins
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
github/copilot-cli#5567 ·
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
github/copilot-cli#5489 ·
-
Built-in functions.view returns no content for large files despite documenting automatic truncationAbiertoarea:tools
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/copilot-cli#5476 ·
-
triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
github/copilot-cli#5377 ·
-
area:platform-windows area:tools
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
github/copilot-cli#5340 ·
Todos los issues de github/copilot-cli
Issues similares
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Status: Triage Suggestion
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
GTNewHorizons/GT-New-Horizons-Modpack#27957 ·
Los mantenedores suelen responder en 1 día
-
[Suggestion]: NoParrotAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
collabnix/awesome-mcp-lists#515 ·
Los mantenedores suelen responder en 1 día
-
Look-ahead bias via resample('1min').interpolate(method='time') in CCIStrategy and ReinforcedQuickieAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
documentation good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día