Proxy no Longer working after 5.6 upgrade
Issue
- Recently ran a yum update on our proxy server and now can no longer register clients or update them through it.
From /var/log/httpd/error.log:
Exception reported from proxy.example.com
Time: Tue Oct 8 11:31:54 2013
Exception type exceptions.KeyError
Exception while handling function handler
Request object information:
URI: /XMLRPC
Remote Host: 10.22.18.167
Server Name: proxy.example.com:443
Headers passed in:
Accept-Encoding: identity
Content-Length: 2172
Host: proxy.example.com:443
content-type: text/xml
user-agent: rhn.rpclib.py/$Revision: 190936 $
x-client-version: 1
x-info: RPC Processor (C) Red Hat, Inc (version 195664)
x-rhn-client-capability: packages.verifyAll(1)=1,caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1,packages.verifyAll(1)=1,caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1
x-rhn-transport-capability: follow-redirects=3
x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc (version 190936)
x-up2date-version: 0.4.20-86.el5
Extra information about this error:
Unhandled exception type
Exception Handler Information
Traceback (most recent call last):
File "/usr/share/rhn/proxy/apacheServer.py", line 62, in __call__
ret = f(req)
File "/usr/share/rhn/proxy/apacheHandler.py", line 348, in handler
handlerObj = rhnBroker.BrokerHandler(req)
File "/usr/share/rhn/proxy/broker/rhnBroker.py", line 70, in __init__
my_ip_addr = req.headers_in['SERVER_ADDR']
KeyError: 'SERVER_ADDR'
Exception reported from proxy.example.com
Time: Tue Oct 8 11:31:59 2013
Exception type exceptions.KeyError
Exception while handling function handler
Request object information:
URI: /XMLRPC
Remote Host: 20.32.24.212
Server Name: proxy.example.com:443
Headers passed in:
Accept-Encoding: identity
Content-Length: 2176
Host: proxy.example.com:443
content-type: text/xml
user-agent: rhn.rpclib.py/$Revision: 190936 $
x-client-version: 1
x-info: RPC Processor (C) Red Hat, Inc (version 195664)
x-rhn-client-capability: packages.verifyAll(1)=1,caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1,packages.verifyAll(1)=1,caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1
x-rhn-transport-capability: follow-redirects=3
x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc (version 190936)
x-up2date-version: 0.4.20-46.el5
Extra information about this error:
Unhandled exception type
Exception Handler Information
Traceback (most recent call last):
File "/usr/share/rhn/proxy/apacheServer.py", line 62, in __call__
ret = f(req)
File "/usr/share/rhn/proxy/apacheHandler.py", line 348, in handler
handlerObj = rhnBroker.BrokerHandler(req)
File "/usr/share/rhn/proxy/broker/rhnBroker.py", line 70, in __init__
my_ip_addr = req.headers_in['SERVER_ADDR']
KeyError: 'SERVER_ADDR'
Exception reported from proxy.example.com
Time: Tue Oct 8 11:32:08 2013
Exception type exceptions.KeyError
Exception while handling function handler
Request object information:
URI: /XMLRPC
Remote Host: 17.42.17.33
Server Name: vlslcsat01.regence.com:443
Headers passed in:
Accept-Encoding: identity
Content-Length: 2187
Host: vlslcsat01.regence.com:443
content-type: text/xml
user-agent: rhn.rpclib.py/$Revision: 190936 $
x-client-version: 1
x-info: RPC Processor (C) Red Hat, Inc (version 195664)
x-rhn-client-capability: packages.verifyAll(1)=1,caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1
Environment
Red Hat Proxy 5.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
