Bug 2187295 - [RFE] Pulp download of package fails silently if a proxy uses "data trickling" and later fails
Summary: [RFE] Pulp download of package fails silently if a proxy uses "data trickling...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.12.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-17 11:56 UTC by Stefan Meyer
Modified: 2023-07-20 04:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pulp pulpcore issues 3870 0 None open No additional information provided when a "response payload not completed" error is raised 2023-07-19 12:50:57 UTC

Description Stefan Meyer 2023-04-17 11:56:26 UTC
Description of problem:
Pulp download of package fails silently if a proxy uses "data trickling" and later fails

Version-Release number of selected component (if applicable):
- Satellite 6.12
- python39-pulpcore-3.18.16-1.el8pc.noarch

How reproducible:
- A web proxy (example: McAfee Web Gateway) uses "data trickling" to keep a session open for Pulp
  and downloads the package to scan it for viruses. 
- If everything is ok, the proxy then lets the whole file through.
- If the package is however blocked on the web proxy the proxy prints an error messages to the end 
  of the file and then closes the connection
- If that happens pulp only reports the error message "Response payload is not completed" without
  showing exactly which package failed to download

Actual results:
- Error message "Response payload is not completed" without further information which package failed to download

Expected results:
- Pulp should show the full URL of the failed package and the complete error message provided by the upstream proxy

Additional info:


Note You need to log in before you can comment on or make changes to this bug.