AnyConnect: endpoint hangs in connecting forever after SubmitOpenConnectAuthResponse(form)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go, grpc
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- Go
- スター
- 5
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SagerNet/sing-openconnect のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
SagerNet/sing-openconnect の issue をすべて見る
似ている issue
-
gui: a narrow window's gateway key row with a line under it wraps its faded badges onto blank linesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
contribution macOS 主机
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Lee-xeo/Claude-Cage#1386 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
prime-radiant-inc/evener#8264 ·
メンテナーはふだん 1 日以内に返信
-
Add a list commandオープンbackup-operator
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
platform-mesh/platform-mesh#819 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信