AnyConnect: endpoint hangs in connecting forever after SubmitOpenConnectAuthResponse(form)
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
- go, grpc
- Área
- backend-api-design, networking
Línea de trabajo
Start at daemon.StartedService/SubmitOpenConnectAuthResponse and trace the response case form through the authentication reply and connection state handling. Reproduce with the reported sing-box 1.14.3 and sing-openconnect v0.1.1-2975728 setup, then inspect the logs around form submission. Done when a valid form either establishes the tunnel or reports a client termination reason instead of hanging in connecting.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
When the ASA presents a login form challenge (waiting for authentication, fields username/password/group_list), submitting it via the API (daemon.StartedService/SubmitOpenConnectAuthResponse, response case form) is accepted (grpc OK, no error), but the endpoint then stays in connecting state forever — no further log output, no established, no client terminated, no retry. Observed with both CSD-protected (VIP) and plain (OUTSIDE) tunnel groups.
Repro (sing-box 1.14.3 + sing-openconnect v0.1.1-2975728)
- Config: openconnect endpoint, username/password set, csd wrapper present.
- Endpoint reaches
waiting for authentication(form challenge with submission keys likemain:username:2, selectmain:group_list:1whose value must be the tunnel-group name, e.g.TG-...-OUTSIDE). - Submit the form (correct keys/values; wrong keys produce explicit grpc errors, so the encoding is verified):
unknown openconnect authentication submission key: username→ fixed keysinvalid openconnect authentication selection ...→ fixed value- correct submit → grpc OK
- Result: endpoint
connectingindefinitely; CSD wrapper (if the group demands hostscan) runs once before the form and never again; the server side does not complete either. A restart is required to get a new challenge.
Expected
After a form submission the auth-reply is sent and the endpoint either connects (anyconnect tunnel established) or fails with client terminated: <reason>.
Note
The interactive dashboard shows the same behavior (Continue clicked manually → connected once in ~30 attempts, sessions usually dropped seconds later; often the accept simply hangs).
- Lenguaje dominante
- Go
- Estrellas
- 5
- Forks
- 8
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 SagerNet/sing-openconnect
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Todos los issues de SagerNet/sing-openconnect
Issues similares
-
good first issue tools
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Edwin-metcalf/MetCode#76 ·
Los mantenedores suelen responder en 1 día
-
-diff's removed-name budget ignores the names the -ptr pass testedPosiblemente ocupada @nova-loop la tomó hoy. Abiertoarea: cli bug good first issue severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
TMHSDigital/subenum#495 ·
Los mantenedores suelen responder en 1 día
-
deskclose human-decided leaves the legacy decision-needed label and applies no human-decidedAbiertobug effort:s impact:med raised-by:worker risk:low to:worker
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
medici-finance/assay#8120 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
factory:subtask
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
reportedBy/community
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
openchoreo/openchoreo#5751 ·
Los mantenedores suelen responder en 1 día