Project

General

Profile

Actions

Bug #24187

closed

katello paginates call when fetching upstream subs, leading to possible tomcat error

Added by Chris Duryee almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

If you add "per_page" to the parameter list when calling upstream candlepin, a set of links will be sent back in the response header. If your URL is longer than a couple of KB, these links may exceed 8KB in total. Once this happens, tomcat will refuse to send the reply since the HTTP header is bigger than 8KB.

There are a few ways to address this, but the easiest is to simply not paginate this particular API call to upstream candlepin. We already send a subset of pool IDs up, based on which page is being displayed to the user.

Actions

Also available in: Atom PDF