Project

General

Profile

Actions

Bug #32422

closed

cannot create a repository with an http proxy set with auth credentials

Added by Justin Sherrill about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Fixed in Releases:
Found in Releases:

Description

pulpcore 3.11 changed how it handles credentials in an http proxy. It no longer supports them as part of the URL, instead providing new parameters. Without using them, we get:

Task 9b423c1a-8735-4d83-99cf-979031155ea8: PulpRpmClient::ApiError: Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 26 Apr 2021 16:07:10 GMT", "server"=>"gunicorn/20.0.4", "content-type"=>"application/json", "vary"=>"Accept,Cookie", "allow"=>"GET, POST, HEAD, OPTIONS", "x-frame-options"=>"SAMEORIGIN", "content-length"=>"56", "correlation-id"=>"9d11f06f-1d43-48a0-9d34-cc3787242c78", "access-control-expose-headers"=>"Correlation-ID", "via"=>"1.1 devel.balmora.example.com", "connection"=>"close"} Response body: {"proxy_url":["proxy_url must not contain credentials"]}

it seems like we do not have a proper vcr test for this either.

Actions #1

Updated by James Jeffers about 3 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ian Ballou
  • Pull request https://github.com/Katello/katello/pull/9320 added
Actions #3

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #4

Updated by Anonymous about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10108 added
Actions

Also available in: Atom PDF