Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7845

New Provisioning UI: 401 Error when creating a new requisition

    XMLWordPrintable

    Details

      Description

      Adding a new requisition fails with:

      • Failed to load resource: the server responded with a status of 401 (Full authentication is required to access this resource)
      • addRequisition: POST /opennms/rest/requisitions failed: 0

      Inspecting the HTTP requests reveals the following:

      1. POST to http://127.0.0.1:8980/opennms/rest/requisitions returns a 303 with Location: http://localhost:8980/opennms/rest/requisitions/NODES
      2. GET to http://localhost:8980/opennms/rest/requisitions/NODES returns a 401

      In the requests above, the hostname returned in the location header differs, so the existing cookies aren't used, and authentication fails.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agalue Alejandro Galue
                Reporter:
                j-white Jesse White
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: