<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Arial">Hi all!<br>
      <br>
      I'm trying to set up nginx and uwsgi for the spacewalk, to compare
      the performance with apache mod_wsgi.<br>
      When setting up xmlrpc(/usr/share/rhn/wsgi/xmlrpc.py) the problem
      occurred. Do not download repositories </font><font face="Arial"><font
        face="Arial">metadata</font> with the <br>
      following error:<br>
      <br>
      Response sent back to the caller:<br>
      While running 'centos-6.4-kmsearch-sys-prod-x86_64': caught<br>
      <class 'spacewalk.server.apacheRequest.UnknownXML'> :
      Invalid request received (function
      'centos-6.4-kmsearch-sys-prod-x86_64' invalid; path_info is
/XMLRPC/GET-REQ/centos-6.4-kmsearch-sys-prod-x86_64/repodata/repomd.xml).<br>
      <br>
      Exception Handler Information<br>
      Traceback (most recent call last):<br>
        File
      "/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py",
      line 121, in call_function<br>
          func = self.method_ref(method)<br>
        File
      "/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py",
      line 537, in method_ref<br>
          method, self.req.path_info))<br>
      UnknownXML: Invalid request received (function
      'centos-6.4-kmsearch-sys-prod-x86_64' invalid; path_info is
/XMLRPC/GET-REQ/centos-6.4-kmsearch-sys-prod-x86_64/repodata/repomd.xml).<br>
      <br>
      uwsgi config:<br>
      [uwsgi]<br>
      uid=apache<br>
      gid=apache<br>
      chmod-socket=777<br>
      chown-socket=apache<br>
      buffer-size=65535<br>
      enable-threads<br>
      max-requests=5000<br>
      workers=10<br>
      plugins=python<br>
      http-timeout=60<br>
      pythonpath=/usr/share/rhn<br>
      pythonpath=/usr/lib/python2.6/site-packages<br>
      wsgi-file=/usr/share/rhn/wsgi/xmlrpc.py<br>
      socket=127.0.0.1:18008<br>
      <br>
      <br>
      What could be wrong? <br>
      Maybe I did not have any path connected to the python?<br>
    </font>
  </body>
</html>