"502 Proxy Error" when running Satellite API script

Solution Verified - Updated -


  • API script fails with traceback error like the following:

    Traceback (most recent call last): 
      File "./errata-clone-2023766.py", line 125, in ? 
      File "./errata-clone-2023766.py", line 118, in main 
        myserver.cloneErrata(options.dest_channel, aerrata) 
      File "./errata-clone-2023766.py", line 53, in cloneErrata 
        out = self.server.errata.clone(self.rhnSession,dest_chan,errata) 
      File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__ 
        return self.__send(self.__name, args) 
      File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request 
      File "/usr/lib64/python2.4/xmlrpclib.py", line 1137, in request 
    xmlrpclib.ProtocolError: <ProtocolError for localhost/rpc/api: 502 Proxy Error> 


  • Red Hat Network Satellite

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