ElasticRestClient Basic auth is not working when ssl is active

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.4.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      Given:

      • I have configured ssl and basic authentication for the elasticsearch connection

      When:

      • I start optimize

      Then:

      • it fails connecting to elasticsearch with a 401 due missing authentication header

      Expected:

      • Optimize connects successfully to elasticsearch providing basic auth credentials

      Note:
      This was not catched by the `connect-to-secured-es-tests` as the elasticsearch:6.2.0 image used there does not require basic auth when the ELASTIC_PASSWORD environment variable is provided. We need to use the elasticsearch-platinum:6.2.0 image for basic auth to be active.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: