Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 17.0.0
-
Fix Version/s: 17.0.0
-
Component/s: Provisioning / Discovery / Importer
-
Security Level: Default (Default Security Scheme)
-
Labels:None
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:
- POST to http://127.0.0.1:8980/opennms/rest/requisitions returns a 303 with Location: http://localhost:8980/opennms/rest/requisitions/NODES
- 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
- Is caused by
-
NMS-7866 Incorrect host in Location header when creating resources via ReST
-
- Resolved
-