Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-41340

Export-service fails with HTTP 413 "Request Entity Too Large" on file uploads >10MB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Export
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None

      Export-service is rejecting CSV file uploads with HTTP 413 errors when files exceed approximately 10-15MB, but the current MAX_PAYLOAD_SIZE configuration shows inconsistent behavior.

      Problem Details:

      CSV files of ~13.9MB are successfully received by export-service
      Upload fails during S3 storage with error: "failed to upload tarfile to s3: read upload data failed: http: request body too large"
      HTTP 413 "Request Entity Too Large" returned to client

      Log:

      {"level":"error","@timestamp":"2025-07-22T07:14:20.5332Z","caller":"s3/compress.go:297","msg":"failed to upload tarfile `18939572/e56983ba-6340-4cef-bf8d-1a838a1526c3/fff06698-e8e7-4df0-8411-b9e8c1a80914.csv` to s3: read upload data failed: http: request body too large"}
      

      Attached complete log file: export-service-service-6cb858d5bc-zwqnw_export-service-service.log

      Proposed fix: https://github.com/RedHatInsights/export-service-go/pull/256

              Unassigned Unassigned
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: