Repository sync task is failing with error: proxy username and password can only be specified together

Solution Verified - Updated -

Issue

  • Repository sync task on the Satellite server is failing with below error:

    PulpRpmClient::ApiError
    
    Error message: the server returns an error HTTP status code: 400 Response headers: {"Date"=>"Sun, 26 Mar 2023 08:59:19 GMT", "Server"=>"gunicorn", "Content-Type"=>"application/json", "Vary"=>"Accept,Cookie", "Allow"=>"GET, PUT, PATCH, DELETE, HEAD, OPTIONS", "X-Frame-Options"=>"DENY", "Content-Length"=>"83", "X-Content-Type-Options"=>"nosniff", "Referrer-Policy"=>"same-origin", "Correlation-ID"=>"74e2c018-8a64-4315-aecf-a3db8fecde97", "Access-Control-Expose-Headers"=>"Correlation-ID", "Via"=>"1.1 satellite.example.com", "Connection"=>"close"} Response body: {"non_field_errors":["proxy username and password can only be specified together"]} 
    

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content