Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Incident: Connection error while querying ODataRequestRead – HTTP pool closed

Offen
#1,301 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
java
Bereich
api, backend

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

question
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:

Image

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

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus SAP/cloud-sdk-java

Alle Issues in SAP/cloud-sdk-java

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.