Incident: Connection error while querying ODataRequestRead – HTTP pool closed
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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 application is deployed on SAP BTP Cloud Foundry and uses SAP Cloud SDK for OData consumption (always with destination service)
The error is:
HTTP 500 Error
GET EventHandler /odata/v2/lm/LMManagement/LibrettoMisura?$filter=Lcl eq '123456'
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.
- Vorherrschende Sprache
- Java
- Sterne
- 41
- Forks
- 33
- Ø Merge
- 22 Std. 16 Min.
- Gemergte PRs (30 T.)
- 19
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus SAP/cloud-sdk-java
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
SAP/cloud-sdk-java#1300 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
SAP/cloud-sdk-java#1297 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
SAP/cloud-sdk-java#1291 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
SAP/cloud-sdk-java#1290 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
SAP/cloud-sdk-java#1289 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in SAP/cloud-sdk-java
Ähnliche Issues
-
Add ZammadEvtl. vergeben @Arslan-TR hat das heute übernommen. Offenrequest
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
endoflife-date/endoflife.date#11298 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug documentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
java-native-access/jna#1740 ·
-
Upgrade org.apache.felix.utils to 1.11.10Evtl. vergeben @stataru8 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
apache/karaf#2982 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
objectionary/eo#9329 ·
Maintainer antworten meist innerhalb von 1 Tag