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

Upstream cannot be null error in APIcast logs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.15.0 GA
    • 2.7 GA, 2.8 GA, 2.9.1 GA, 2.10 GA, 2.11.2 GA, 2.14.0 GA, 2.13.7
    • Gateway

      When performing a request the APIcast logs shows the following warning:

      2020/05/14 11:32:20 [warn] 18#18: *1434 [lua] apicast.lua:65: upstream api for the service:2 is invalid, error:Upstream cannot be null, client: XX.XXX.X., server: _, request: "GET /abc/api/hello?user_key=<key> HTTP/1.1", host: "api-3scale-apicast-staging.apps.avilatustest.lab.upshift.rdu2.redhat.com"
      

      The warning can be seen for successful requests as well as for failed requests.

      The request is to remove this log since it is confusing.

      IMPORTANT NOTE: This log message can be ignored as it is not the result of any erroneous behaviour and doesn't change the expected behaviour of the gateway. It only causes confusion and nothing more which is why it is logged as the warn level instead of error.

              Unassigned Unassigned
              rhn-support-avilatus Anna Vila Tusell
              Martin Kudlej Martin Kudlej
              An Tran An Tran
              Votes:
              6 Vote for this issue
              Watchers:
              20 Start watching this issue

                Created:
                Updated:
                Resolved: