Project

Profile

Help

Issue #2720

closed

Can't sync file repo that uses basic auth

Added by daviddavis about 7 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.13.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 18
Quarter:

Description

I have a repo which has a username and password set on its importer:

  Config:               
    Basic Auth Password: *****
    Basic Auth Username: labuser
    Feed:                http://repo.example.com/repos/locked

However, I get a 401 when it attempts to sync this repo:

pulp_rpm.plugins.importers.iso.sync:ERROR: Failed to download http://repo.example.com/repos/locked/PULP_MANIFEST: Unauthorized.

I can confirm that the username/pass works though by curling or browsing to the url.

Also available in: Atom PDF