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

Apicast gateway log is not verbose enough when THREESCALE_PORTAL_ENDPOINT is set incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0 ER5, 2.0 CR1
    • 2.0 ER4
    • None
    • None
    • Hide
      Fixed by https://github.com/3scale/apicast/pull/340

      {{
      2017/03/28 15:37:21 [emerg] 67511#0: [lua] configuration_loader.lua:105: init(): failed to load configuration, exiting (code 1)
      2017/03/28 15:37:22 [warn] 67535#0: *2 [lua] remote_v2.lua:144: call(): failed to get list of services: invalid status: 403 (Forbidden) url: https://vodafone-admin.3scale.net/admin/api/services.json, context: ngx.timer
      ./src/configuration_loader.lua:30: missing configuration
      }}
      Show
      Fixed by https://github.com/3scale/apicast/pull/340 {{ 2017/03/28 15:37:21 [emerg] 67511#0: [lua] configuration_loader.lua:105: init(): failed to load configuration, exiting (code 1) 2017/03/28 15:37:22 [warn] 67535#0: *2 [lua] remote_v2.lua:144: call(): failed to get list of services: invalid status: 403 (Forbidden) url: https://vodafone-admin.3scale.net/admin/api/services.json, context: ngx.timer ./src/configuration_loader.lua:30: missing configuration }}

      The log says, that gateway failed to start due to missing config (correct), but it fails to inform why it wasn't able to get it.
      This happens when you provide incorrect Provider API key, or simply incorrect 3scale address

              mcichra Michal Cichra (Inactive)
              zkripal_jira Zbynek Kripal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: