Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3049

Improve kie server error messges

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 7.9.0.GA
    • 7.7.0.GA
    • Kie-Server
    • None
    • 2020 Week 37-39 (from Sep 7), 2020 Week 40-42 (from Sep 28), 2020 Week 43-45 (from Okt 19)

    Description

      Hi,

       

      have recently had an issue where we tried to issue kie-server-client requests against kie-server via https/ssl. kie server was using a self signed certificate, so further configuration was needed to solve it(i.e. adding a truststore to kie-server-client jvm).

       

      Unfortunately, when we originally hit this issue, the error in the logs was very cryptic and not descriptive at all.

       

      Only after turning log level to DEBUG, the true root cause of communication failure was discovered.

       

      Therefore, we would like to ask to improve log messages - adding root cause to the logs.

       

      Info level only includes this:

       

      Caused by: org.kie.server.common.rest.NoEndpointFoundException: No available endpoints found

       

      But debug level includes also this:

       

      [main] DEBUG org.kie.server.client.impl.AbstractKieServicesClientImpl - Marking endpoint 'https://payoff-decision-manager-kieserver-pay-off-manager-test.server./services/rest/server' as failed due to PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

       

      I am attaching INFO vs DEBUG logs for comparison.

      Attachments

        Issue Links

          Activity

            People

              ftirados Francisco Javier Tirado Sarti
              rhn-support-agiertli Anton Giertli
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: