Project

Profile

Help

Issue #9064

closed

Downloads do not seem to use proxy authentication even when specified

Added by dkliban@redhat.com over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
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

Copied from Pulp - Issue #9024: Downloads do not seem to use proxy authentication even when specified CLOSED - CURRENTRELEASEdkliban@redhat.comActions
Copied to Container Support - Issue #9065: Downloads do not seem to use proxy authentication even when specified CLOSED - CURRENTRELEASEdkliban@redhat.comActions
Copied to RPM Support - Backport #9066: Backport 9064 "Downloads do not use proxy authentication" to 3.13.zCLOSED - WONTFIX

Actions
Copied to Ansible Plugin - Issue #9075: Downloads do not seem to use proxy authentication even when specified CLOSED - CURRENTRELEASEfao89Actions
Actions #1

Updated by dkliban@redhat.com over 3 years ago

  • Copied from Issue #9024: Downloads do not seem to use proxy authentication even when specified added
Actions #2

Updated by pulpbot over 3 years ago

  • Status changed from NEW to POST
Actions #3

Updated by dkliban@redhat.com over 3 years ago

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

Added by dkliban@redhat.com over 3 years ago

Revision af328253 | View on GitHub

Use proxy auth credentials of a Remote.

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

Actions #4

Updated by dkliban@redhat.com over 3 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by dalley over 3 years ago

  • Copied to Backport #9066: Backport 9064 "Downloads do not use proxy authentication" to 3.13.z added
Actions #6

Updated by dalley over 3 years ago

  • Sprint/Milestone set to 260
Actions #7

Updated by fao89 over 3 years ago

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

Updated by dalley over 3 years ago

  • Sprint/Milestone changed from 260 to 3.14.0
Actions #9

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF