Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2950

OTelHttpClientFactory not configured properly when tracing enabled [GHI#38740]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

      Area

      core

      Describe the bug

      Http-client is not working properly when the tracing is enabled.
      Seems that the configuration is not read.

      For example, when we enable tracing and want to call some HTTPS where client certificate is enabled, then it does not work and reports errors.

      To me the issue seems in OTelHttpClientFactory.init(config) - the configuration from "default" http-client is not read. Probably just a typo (should be super.init(Config.scope(...)) with uppercase "C")?

      Version

      26.1.0

      Regression

      [ ] The issue is a regression

      Expected behavior

      Http-client is configured properly.

      Actual behavior

      Http-client ignores the configuration.

      How to Reproduce?

      Enable tracing.
      For example, try to call HTTPS which required client certificate.

      Anything else?

      No response

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak Cloud Native
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: