My script had a bug there it attempted to call listRPMs with buildid == None, which to my surprise resulted in
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://koji.fedoraproject.org/kojihub
and not an exception (or something else).
If no rlimit is set for the hub, then a call like this can use up system memory if the db is large enough. The process gets oom-killed and doesn't get the chance to give a proper response.
With an rlimit, it will instead hit a memory error and should return a Fault.
Note: listRPMs() with an arg of None is asking for all rpm info in the system.
listRPMs()
None
Filed #955 for discussion of the larger topic. Closing this one.
Metadata Update from @mikem: - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/941
Please continue any further discussion there.