"Graph all" fails with 'Request Header Fields Too Large' error

Description

The "Graph All" button in the new Resource Graph page is not working. In case nothing is selected it gives an error message "Please select at least one resource". If you click on "Select All" which selects the resource the button shows the same error message again. "Graph Selection" works as expected.

Environment

Version: 19.0.0-0.20160903.onms.develop.636

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Chandra Gorantla August 27, 2019 at 8:16 PM

Created   for fixing long url issues with Graph Selected.

Chandra Gorantla August 26, 2019 at 3:34 PM

This PR fixes Graph All  long URL  issue.   https://github.com/OpenNMS/opennms/pull/2669

Benjamin Reed July 17, 2019 at 2:40 PM

Since we talked about this in scrum, I wanted to note down the caveats we discussed:

  • it's in the URL because it should be both shareable and bookmarkable, changing it to a POST breaks the user use-case (and potentially existing bookmarks)

  • it might fix the  issue  for most people by just having an "all" option for the URL, since most people will be graphing either a few specific things, or everything

Jesse White July 17, 2019 at 1:49 PM

In 25.0.0-SNAPSHOTs "Graph All" does redirect to the resource graph page, but fails with "Bad Message 414 reason: URI Too Long" for nodes with many resources. We need to find a different way of passing the selected resources to the page given that these are too long to fit in the URL.

Fixed

Details

Assignee

Reporter

Components

Sprint

Affects versions

Priority

PagerDuty

Created September 5, 2016 at 10:57 AM
Updated September 9, 2019 at 2:38 PM
Resolved August 27, 2019 at 8:16 PM