Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-2472

API is enabled but cannot be reached because it says it is disabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • None
    • Professional Edition
    • API
    • VM running on ESX 5.5
      32 GB of RAM
      8 CPU
      Description: Ubuntu 14.04.1 LTS
      Release: 14.04
      Codename: trusty

    Description

      I have updated to version17.10.8918 and the API is set to true in config.php. When I try to access the API via either web browser or using curl

      curl -k -u user:pass https://observium.iops.pivotal.io/api/v0/devices/

      The API is disabled

      We noticed this with the previous version that we were running so I upgraded to see if it was something that was fixed but we still receive the disabled notification.

      Settings from config.PHP

       

      // Enable the API

      $config['api']['enabled'] = 1;

      $config['api']['module']['inventory']   = 1;    // enable or disable the inventory module

      $config['api']['module']['billing'] = 0;    // enable or disable the billing module

      $config['api']['module']['packages']    = 1;    // enable or disable the packages module

       

       

       

      Attachments

        Activity

          People

            adama Adam Armstrong
            awesomazing Kyle Kot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: