Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-43077

Repository sync fails with error 'Error message: the server returns an error'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Repositories
    • None
    • False
    • sat-artemis
    • None
    • None
    • None
    • None

      On a Satellite 6.19 fresh installation, syncing both RHEL 8 AppStream and BaseOS simultaneously fails with the following error.

      Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8
      about 1 hour ago 24 minutes Added Rpms: 44805, Modulemds: 1001, Errata: 4503 Syncing Complete.
      Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8
      about 1 hour ago 13 minutes Total steps: 49524/49524 Sync Incomplete

      Settings are as default:

      Pulp bulk load size is 2000
      Polling intervals multiplier 1


      Error message: the server returns an error
      HTTP status code: 502
      Response headers:

      {"Date"=>"Thu, 26 Feb 2026 09:26:40 GMT", "Server"=>"Apache", "Content-Length"=>"341", "Content-Type"=>"text/html; charset=iso-8859-1"}

      Response body: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>502 Proxy Error</title>
      </head><body>
      <h1>Proxy Error</h1>
      <p>The proxy server received an invalid

      response from an upstream server.<br />

      The proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>
      </body></html>
      ------

      Failure has been noticed on the "Actions::Katello::Repository::IndexContent" step.

      -------
      21: Actions::Katello::Repository::IndexContent (skipped) [ 386.25s / 384.67s ]

      Error:

      PulpRpmClient::ApiError

      Error message: the server returns an error HTTP status code: 502 Response headers:

      {"Date"=>"Thu, 26 Feb 2026 09:26:40 GMT", "Server"=>"Apache", "Content-Length"=>"341", "Content-Type"=>"text/html; charset=iso-8859-1"}

      Response body: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>502 Proxy Error</title> </head><body> <h1>Proxy Error</h1> <p>The proxy server received an invalid response from an upstream server.<br /> The proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p> </body></html>
      ------

      However, the RHEL 9 and RHEL 10 repository synchronizations completed quickly without any issues. Is this because the RHEL 8 repositories are relatively larger, or is this a recurrence of the issue reported in https://bugzilla.redhat.com/show_bug.cgi?id=2033853?

              Unassigned Unassigned
              rhn-support-mkalyat Mithun Kalyat
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: