[Bug]: Invalid [api_portal.http_client.tls] value reports an error naming server.https
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, nodejs
- 領域
- backend
調査の方向性
portals/api-portal/src/config/tlsOptions.js から始めてください。buildTLSOptions は、投げられるすべてのエラーメッセージに server.https. という接頭辞をハードコードしています(52〜118行目付近)。buildOutboundAgents からの呼び出し方を確認し、送信側の値に対してメッセージが http_client.tls を示すように、セクションラベルのパラメータを追加してください。ecdh_curves を X448 に設定して buildTLSOptions を呼び出して再現し、メッセージが送信側のセクションを示していることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Please select the area the issue is related to
DeveloperPortal
Please select the aspect the issue is related to
Aspect/Configuration (Config files, settings, env vars, defaults)
Description
buildTLSOptions in tlsOptions.js validates both [api_portal.server.https] (from server.js) and [api_portal.http_client.tls] (from buildOutboundAgents). Every error message it throws hardcodes the server.https. prefix (L52, L55, L58, L87, L92, L113, L118).
So a bad value in the outbound section stops startup with a message that points at the listener section. The operator may not have changed the listener section at all. The log entry is "Error setting up outbound HTTP client", and its error reads:
server.https.ecdh_curves: unsupported curve "X448" (supported: X25519, P-256, P-384, P-521, X25519MLKEM768)
Expected
The message names the section that holds the bad value, for example http_client.tls.ecdh_curves: unsupported curve "X448" .... One way: pass a section label into buildTLSOptions.
Steps to Reproduce
-
Add to
configs/config.toml:[api_portal.http_client.tls] ecdh_curves = "X448" -
Start the portal.
-
Startup fails with
Error setting up outbound HTTP clientandserver.https.ecdh_curves: unsupported curve "X448" .... Unknownciphers, an emptyecdh_curvesand an inverted version range behave the same way.
Severity Level of the Issue
Severity/Minor (Non-critical functionality. Can be fixed in future releases)
Environment Details (with versions)
main at 5be6e920a. The error text was reproduced by calling buildTLSOptions from that commit directly under Node 24.
- 主要言語
- Go
- スター
- 85
- フォーク
- 142
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 250
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wso2/api-platform のほかの issue
-
Area/Policies Aspect/API Severity/Major Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
wso2/api-platform#4468 ·
メンテナーはふだん 1 日以内に返信
-
Area/Policies Aspect/API Severity/Major Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wso2/api-platform#4465 ·
メンテナーはふだん 1 日以内に返信
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
wso2/api-platform#4369 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: host-rewrite policy documentation lists fewer allowed host characters than the policy acceptsオープンArea/Policies Aspect/Other Severity/Trivial Type/Bug
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
wso2/api-platform#4355 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: A refused request's analytics event and traffic log lose the path the client called再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンArea/Gateway Aspect/API Severity/Minor Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
wso2/api-platform#4348 ·
メンテナーはふだん 1 日以内に返信
wso2/api-platform の issue をすべて見る
似ている issue
-
[Enhancement] platform-engineer: a definition change does not re-render running Applications; say how to roll it out対応中かも @anoop2811 が今日担当しました。 オープンneeds-triage type/enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
review: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
1lck/Lithe-IDEA#2432 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
dsx-ai-factory/health-validation#368 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
keyxmakerx/Chronicle#2824 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信