-
Task
-
Resolution: Done
-
Major
-
None
-
None
We're seeing these failures in one of the Quarkus services (Swatch Contracts):
2023-12-14 07:12:07,599 SEVERE [io.qua.ope.run.exp.otl.VertxGrpcExporter] (vert.x-eventloop-thread-1) {} Failed to export spans. The request could not be executed. Full error message: Stream was closed
To reproduce it, I had to add the RabbitMQ and OTEL exporter services. Follow the steps in this PR description: https://github.com/RedHatInsights/rhsm-subscriptions/pull/2899
Then, call several times to:
curl --verbose -H 'x-rh-swatch-psk:placeholder' -H "Origin: https://console.redhat.com" -H "Content-Type: application/json" http://localhost:8000/api/swatch-contracts/internal/contracts?org_id=16797796
And eventually, you will see the error.
This is related to https://github.com/quarkusio/quarkus/issues/35686. I tried to apply the fix https://github.com/quarkusio/quarkus/pull/37091 and then I could not reproduce it any longer.
Acceptance Criteria
- Check whether we can add a test to verify this integration before landing to stage/prod.
- The export of spans should work fine in the Quarkus services.