Spring Cloud Consul config watch keeps generating warning messages
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
調査の方向性
添付された gateway.zip の再現用ファイルと、config/application/ および config/gateway/ のコンテキストに対する ConfigWatch の警告から始めてください。issue に示されている Consul KV の構成を再現し、データが存在するにもかかわらず watch リクエストが ReadTimeoutException になる理由を追跡してください。watches が提供された構成を繰り返し警告メッセージを出力せずに取得できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Spring Cloud Consul config 5.0.0 keeps giving us warnings messages when enabling config watches for configuration, and the config data can be found with config/application/data(data is the key).
[
{
"key": "config/",
"flags": 0,
"value": ""
},
{
"key": "config/application/",
"flags": 0,
"value": ""
},
{
"key": "config/application/data",
"flags": 0,
"value": "bG9nZ2luZzoKICBsZXZlbDoKICAgIG9yZy5zcHJpbmdmcmFtZXdvcmsuY29yZS5lbnY6IERFQlVH"
},
{
"key": "config/gateway/",
"flags": 0,
"value": ""
},
{
"key": "config/gateway/data",
"flags": 0,
"value": ""
}
]
Sample
The logs are as below. and if set fail fast, It will produce errors. and actually, we had provided the config items in consul KV.
2026-01-26T18:44:20.470+08:00 WARN 36468 --- [gateway] [TaskScheduler-1] o.s.cloud.consul.config.ConfigWatch : Error querying consul Key/Values for context 'config/gateway/'. Message: I/O error on GET request for "http://localhost:8500/v1/kv/config/gateway/": null
2026-01-26T18:44:30.475+08:00 WARN 36468 --- [gateway] [ctor-http-nio-5] r.netty.http.client.HttpClientConnect : [74757339-1, L:/127.0.0.1:62403 - R:localhost/127.0.0.1:8500] The connection observed an error
io.netty.handler.timeout.ReadTimeoutException
2026-01-26T18:44:30.475+08:00 WARN 36468 --- [gateway] [TaskScheduler-1] o.s.cloud.consul.config.ConfigWatch : Error querying consul Key/Values for context 'config/application/'. Message: I/O error on GET request for "http://localhost:8500/v1/kv/config/application/": null
2026-01-26T18:45:10.488+08:00 WARN 36468 --- [gateway] [ctor-http-nio-7] r.netty.http.client.HttpClientConnect : [61d86986-1, L:/127.0.0.1:62448 - R:localhost/127.0.0.1:8500] The connection observed an error
io.netty.handler.timeout.ReadTimeoutException
2026-01-26T18:45:10.489+08:00 WARN 36468 --- [gateway] [TaskScheduler-1] o.s.cloud.consul.config.ConfigWatch : Error querying consul Key/Values for context 'config/gateway/'. Message: I/O error on GET request for "http://localhost:8500/v1/kv/config/gateway/": null
2026-01-26T18:45:20.504+08:00 WARN 36468 --- [gateway] [ctor-http-nio-2] r.netty.http.client.HttpClientConnect : [df3e3ad3-25, L:/127.0.0.1:62388 - R:localhost/127.0.0.1:8500] The connection observed an error
io.netty.handler.timeout.ReadTimeoutException
- 主要言語
- Java
- スター
- 821
- フォーク
- 539
- 平均マージ
- 5時間 34分
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
spring-cloud/spring-cloud-consul のほかの issue
-
Consul 5.0.1 drops stale and consistent flags from health and catalog HTTP requests対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
spring-cloud/spring-cloud-consul#1029 ·
メンテナーはふだん 1 日以内に返信
-
waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
spring-cloud/spring-cloud-consul#984 ·
メンテナーはふだん 1 日以内に返信
-
spring.cloud.consul.config.prefixes documentation update再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンdocumentation
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
spring-cloud/spring-cloud-consul#746 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
waiting-for-triage
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
spring-cloud/spring-cloud-consul#996 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
waiting-for-triage
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
spring-cloud/spring-cloud-consul#954 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
spring-cloud/spring-cloud-consul の issue をすべて見る
似ている issue
-
area/kotlin
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Large page[number] overflows the computed offset and returns the wrong page対応中かも @auraseb が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100