Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-11701

Remove redis connection error message from response body in edge limiting policy

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 2.15.2 GA
    • Gateway
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • RHOAM Sprint 71

      Current Behaviour

      When configuring the Edge Limiting policy with a Redis cache if the connection to Redis fails the client receives a verbose response body such as the below:

      HTTP 500 failed to connect to redis on redis.<namespace>.svc.cluster.local:6379: connection refused 

      Expected Behaviour

      When configuring the Edge Limiting policy with a Redis cache if the connection to Redis fails the client should only receive the appropriate status code and no additional information regarding the Redis server itself.

       

      Notes

      The error message returned to the client is built here. It is returned to the client here. I think the most appropriate thing to do here is modify the response in the policy to only return the status code and a generic response message appropriate for said status code.

              Unassigned Unassigned
              rhn-support-keprice Kevin Price
              An Tran An Tran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: