Issue #9024

Updated by over 2 years ago

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  
 ---------------------------------------------------------------+-----------------------------+----------------+---------------- | | 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('') 

 looking at my squid logs, i see: 

 1625605398.930        0 TCP_DENIED/407 4235 CONNECT - 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     --proxy    -H 'Proxy-Authorization: Basic YWRtaW46cmVkaGF0' 

 works without issue