Cannot sync RedHat repo from CDN

Fresh installation of foreman. Can’t sync rhel7 repos. We get 502 error.

Foreman and Proxy versions:
Foreman and Proxy plugin versions:

Distribution and version:
CentOS 7
Other relevant data:

Log message:

Error message: the server returns an error
HTTP status code: 502
Response headers: {“date”=>“Thu, 25 Feb 2021 11:16:09 GMT”, “server”=>“Apache”, “content-length”=>“445”, “connection”=>“close”, “content-type”=>“text/html; charset=iso-8859-1”}
Response body:

502 Proxy Error

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /pulp/api/v3/content/rpm/packages/.

Reason: Error reading from remote server

1 Like

Solved by adding:
:bulk_load_size: 500 to /etc/foreman/plugins/katello.yaml