Project

Profile

Help

Issue #9024

Downloads do not seem to use proxy authentication even when specified

Added by jsherril@redhat.com 2 months ago. Updated 21 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 100
Quarter:

Description

I tried with both file and rpm repos, if i specify a proxy url, username and password, i can check pulps' db and see:

pulpcore=# select url, proxy_url, proxy_username, proxy_password from core_remote;
                              url                              |          proxy_url          | proxy_username | proxy_password 
---------------------------------------------------------------+-----------------------------+----------------+----------------
 https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/ | http://192.168.122.182:8888 | admin          | redhat

so i am fairly confident that the username and password are being set properly. However, when i sync, i get:

407, message='Proxy Authentication Required', url=URL('http://192.168.122.182:8888')

looking at my squid logs, i see:

1625605398.930 0 192.168.122.143 TCP_DENIED/407 4235 CONNECT jlsherrill.fedorapeople.org:443 - HIER_NONE/- text/html

So I believe pulp isn't properly sending the proxy auth correctly?

Note that my curl command:

 curl  -vv   -X GET  https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/repodata/repomd.xml   --proxy http://192.168.122.182:8888  -H 'Proxy-Authorization: Basic YWRtaW46cmVkaGF0'

works without issue


Related issues

Related to Pulp - Backport #9068: Backport 9024 "Downloads do not use proxy authentication" to 3.14.zCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to File Support - Test #5046: Test using a proxy for syncing from a File RemoteNEW<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Copied to RPM Support - Issue #9064: Downloads do not seem to use proxy authentication even when specified CLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 0c9541d3 View on GitHub
Added by dkliban@redhat.com 2 months ago

Use proxy auth from the Remote config.

fixes: #9024 https://pulp.plan.io/issues/9024

History

#1 Updated by jsherril@redhat.com 2 months ago

  • Description updated (diff)

#2 Updated by jsherril@redhat.com 2 months ago

  • Priority changed from Normal to High

#3 Updated by dalley 2 months ago

  • Sprint set to Sprint 100

#4 Updated by dkliban@redhat.com 2 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#5 Updated by dkliban@redhat.com 2 months ago

  • Copied to Issue #9064: Downloads do not seem to use proxy authentication even when specified added

#6 Updated by pulpbot 2 months ago

  • Status changed from ASSIGNED to POST

#7 Updated by ipanova@redhat.com 2 months ago

  • Triaged changed from No to Yes

#8 Updated by dkliban@redhat.com 2 months ago

  • Status changed from POST to MODIFIED

#9 Updated by dalley 2 months ago

  • Sprint/Milestone set to 3.14.2

#10 Updated by daviddavis 2 months ago

  • Related to Backport #9068: Backport 9024 "Downloads do not use proxy authentication" to 3.14.z added

#11 Updated by daviddavis 2 months ago

  • Sprint/Milestone deleted (3.14.2)

#13 Updated by dalley about 2 months ago

  • Related to Test #5046: Test using a proxy for syncing from a File Remote added

#14 Updated by pulpbot 21 days ago

  • Sprint/Milestone set to 3.15.0

#15 Updated by pulpbot 21 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF