Newly introduced `CsrfTokenInterceptor` is producing large amount of warning logs
@ricardosrib がすでに取り組んでいます。
2026年9月14日 から。
評価
この issue はまだ評価されていません。
説明
Describe the Bug
We are consuming the com.sap.cloud.sdk.sdk-bom dependency in our CAP Java microservices. We recently upgraded to version 5.34.0 (from 5.33.0) and started to observe a large amount of warning logs of type: “Target system did not respond with a x-csrf-token header. The subsequent request may fail if a CSRF token is required.” Those seem to originate from the newly introduced CsrfTokenInterceptor.
Unfortunately, we could not find any additional information regarding this change in the release notes or similar. Apart from this, we have some concerns that this results in a big number of requests that are now emitted from this class to the request source to obtain the csrf header.
Best regards,
Felix Starke
Steps to Reproduce
As we are working on an SAP internal project, kindly reach out for further information or discussions.
Expected Behavior
Can you please clarify the need of having this Interceptor and this being an actual warning log. Furthermore, kindly clarify that the amount of HEAD-requests triggered by this is necessary.
Screenshots
No response
Used Versions
- Java and Maven version via
mvn --version: ... - SAP Cloud SDK version: 5.34.0
- Spring Boot or CAP version: Spring Boot 3.5.17 with CDS Services 4.9.4
Code Examples
No response
Stack Trace
No response
Log File
No response
Affected Development Phase
Production
Impact
Impaired
Timeline
No response
- 主要言語
- Java
- スター
- 41
- フォーク
- 33
- 平均マージ
- 18時間 34分
- マージ済み PR(30日)
- 19
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SAP/cloud-sdk-java のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
SAP/cloud-sdk-java#1280 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
SAP/cloud-sdk-java#1268 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
SAP/cloud-sdk-java#1250 ·
-
ZeroTrustIdentityService does not configure svidPicker, causing non-deterministic SVID selection オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
SAP/cloud-sdk-java#1243 · コメント 2 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
SAP/cloud-sdk-java#1226 · コメント 1 件 ·
SAP/cloud-sdk-java の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
objectionary/hone-maven-plugin#1061 ·
-
type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100