Incident: Connection error while querying ODataRequestRead – HTTP pool closed
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with the attached error_trace.log and the SDK call shown in the issue, then trace where the HTTP connection pool is created and shut down during concurrent OData reads. Confirm the lifecycle causing Connection pool shut down and document a reproducible explanation or verified fix for the reported CAPm deployment scenario.
由索引模型根据 Issue 内容生成。
描述
Ask the Question
We are experiencing an intermittent issue on different days and especially during periods of higher concurrent request loads in a CAPm service deployed on SAP BTP Cloud Foundry. This problem occurs on a large scale and prevents execution flows from completing successfully.
The error is:
HTTP 500 Error
GET EventHandler /odata/v2/lm/LMManagement/LibrettoMisura?$filter=Lcl eq '6302564308'
The logs show an error while executing the READ event of the LMManagement.LibrettoMisura entity. The immediate cause recorded is:
ODataConnectionException: Connection failed
Caused by: java.lang.IllegalStateException: Connection pool shut down
(A trace log with detailed information is attached. error_trace.log)
The error occurs at the following line of code when using the SAP SDK:
The message indicates that the HTTP connection pool had already been closed when the request attempted to query the OData service.
Why would the SDK shut down the HTTP connection pool when our application does not explicitly close the destination, HTTP client, or any related connection resources? We are not performing any close() operation in the service code.
Thank for your support.
- 主要语言
- Java
- 星标
- 41
- 派生
- 33
- 平均合并
- 22 小时 16 分钟
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SAP/cloud-sdk-java 的其他 Issue
-
bug
难度 4/5 3-5 天 新手友好度 35/100
SAP/cloud-sdk-java#1300 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 52/100
SAP/cloud-sdk-java#1297 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 48/100
SAP/cloud-sdk-java#1291 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 48/100
SAP/cloud-sdk-java#1290 · 3 条评论 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 35/100
SAP/cloud-sdk-java#1289 ·
维护者通常 1 天内回复
查看 SAP/cloud-sdk-java 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
-
Make branch and label autocomplete matching locale-independent可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
jenkinsci/gitlab-plugin#1950 ·
-
It's not necessary to copy the memory block in the readWrite() of org.h2.store.fs.mem.FileMemData未关闭
难度 2/5 1-3 小时 新手友好度 78/100
h2database/h2database#4435 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
micronaut-projects/micronaut-core#13717 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ADORSYS-GIS/token-status-link#145 ·
维护者通常 3 天内回复