I am having some issues with posting content into the site through xml. The service has been running sucessfully in the past, however, I am now facing issues with extra pages being returned before the appropriate data. This is the response when posting to an endpoint.

HTTP/1.1 404 Not Found
Server: nginx
Date: Sun, 16 Dec 2012 10:11:15 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Vary: Accept-Encoding

<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
HTTP/1.1 404 Not Found
Server: nginx
Date: Sun, 16 Dec 2012 10:11:15 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Vary: Accept-Encoding

<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
HTTP/1.1 404 Not Found
Server: nginx
Date: Sun, 16 Dec 2012 10:11:15 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Vary: Accept-Encoding

<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
HTTP/1.1 404 Not Found
Server: nginx
Date: Sun, 16 Dec 2012 10:11:15 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Vary: Accept-Encoding

<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<?xml version="1.0"?>

<methodResponse>
  <params>
  <param>
    <value><struct>
  <member><name>nid</name><value><string>1582</string></value></member>
</struct></value>
  </param>
  </params>
</methodResponse>

However the response I need is just:

<?xml version="1.0"?>

<methodResponse>
  <params>
  <param>
    <value><struct>
  <member><name>nid</name><value><string>1582</string></value></member>
</struct></value>
  </param>
  </params>
</methodResponse>

I have tried disabling Boost and also attempted to create a new location in nginx vhost. Not sure if it is linked to the 404 json request (http://drupal.org/node/1460882).

I am running it on Ubuntu 10.04 running as a VPS in Xen.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

omega8cc’s picture

Status: Active » Closed (duplicate)

Closing as a duplicate of #1865848: strange things & ajax errors after upgrade. and others referenced there. A quick hint - disable and uninstall Purge & Expire and then clear all caches.

willhallonline’s picture

Thanks very much. This has stumped me for about 2 weeks.