iOS physical device over Wi‑Fi: every tap fails with "lost its transport response" while snapshots work (USB works)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- ios, node.js, typescript
- Área
- mobile-dev
Línea de trabajo
Start by tracing how press and click reach the iOS runner listener, then compare the Wi‑Fi connection failure in the runner logs with the successful USB case. The issue names no source files or tests, so locate the relevant transport entry points before making changes. Done means taps work over Wi‑Fi, or the CLI clearly reports that Wi‑Fi input is unsupported.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
On a Wi‑Fi‑paired physical iPhone, every press / click fails with Runner command "tap" lost its transport response, while open and snapshot -i work. The same device, app and env over a USB cable taps successfully on the first try.
Environment
- agent-device 0.21.35 (global npm), Node 22
- macOS 27, Xcode 27.0
- iPhone 18 Pro Max, iOS 27.0.1, Developer Mode on; Mac
DevToolsSecurityenabled - Runner signed with automatic signing via
AGENT_DEVICE_IOS_TEAM_ID/AGENT_DEVICE_IOS_BUNDLE_ID - Device paired over Wi‑Fi (CoreDevice), unlocked
Steps
agent-device open <bundle-id> --platform ios --udid <udid> --foreground→ healthy 33‑node snapshot- Any of:
press @e33 --settle,click 'label="You"' --settle,press 377 891
Actual
Error (COMMAND_FAILED): Runner command "tap" lost its transport response and the status probe failed, so agent-device invalidated the runner session instead of replaying the command.
On retry after the restart: iOS runner was already restarted during this request and "tap" still failed…. 4/4 attempts failed; snapshots between attempts keep succeeding.
The runner log never shows the tap command starting. The runner's listener rejects the incoming connection:
nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW <uuid> [17: File exists]
nw_endpoint_flow_setup_channel [C3 fe80::<redacted>%en0.<port> initial channel-flow (satisfied (Path is satisfied), viable, interface: en0[802.11], …)] failed to request add nexus flow
nw_connection_create_from_protocol_on_nw_queue [C3] Failed to create connection from listener
On the next runner start: tcp_output [C3:1] flags=[R.] … state=CLOSED.
Expected
Taps work over Wi‑Fi like snapshots do, or agent-device reports that the Wi‑Fi transport is unsupported for input.
Isolation
- Connecting the same iPhone by USB (no other changes) →
press @e33 --settlesucceeds immediately (AGENT_DEVICE_RUNNER_COMMAND_COMPLETED command=tap ok=1). - A second agent-device daemon (0.21.31, embedded in another app) was running during both the Wi‑Fi failures and the USB success, so it does not appear to be the cause.
Side note
find <selector> performed a tap on the match, which surprised me — if that's intended, it might be worth calling out in help find.
- Lenguaje dominante
- TypeScript
- Estrellas
- 5.2k
- Forks
- 359
- Merge medio
- 13 h 32 min
- PR fusionados (30 d)
- 671
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 callstack/agent-device
-
bug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
callstack/agent-device#4018 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
callstack/agent-device#1869 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
callstack/agent-device#4110 ·
Los mantenedores suelen responder en 1 día
-
Android: INSTRUMENTATION_FAILED on the first snapshot after a boot or restore is not retriedAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
callstack/agent-device#4109 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
callstack/agent-device#4106 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstack/agent-device
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Slaymish/HealthAgent#7 ·
-
area: engine topic: math type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Get-Concord-AI/concord-mcp#310 ·
Los mantenedores suelen responder en 1 día
-
Correct install_claude: 'marketplace add' over a different source is refused, not replaced in placeAbiertotype:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
nightgauge/nightgauge#2804 ·
Los mantenedores suelen responder en 1 día