I had this error but with the 200 response code and i found this solution that might help others. I found this answer here so i post as it is cause it was the exact case for me as well. i found the answer http://drupal.org/node/245231#comment-984249
Use the default version of conector.php and change the SetXmlHeaders() function in basexml.php.
Add the following:
if (!function_exists('ob_list_handlers')) { @ob_end_clean(); header("Content-Encoding: none"); } else if ($handlers = sizeof(ob_list_handlers())) { while ($handlers--) { @ob_end_clean(); } header("Content-Encoding: none"); }
instead of:
ob_end_clean() ;
The old method assumed that there is only one output handler. The new code removes all output handlers returned by ob_list_handlers before sending the XML data. Removing all output before sending XML message is done intentionally. This way we get rid of all unnecessary empty characters that may appear after closing tag etc.
"Content-Encoding: none" is necessary to replace the "Content-Encoding: gzip" header.
hope this helps someone : )
-------------
http://ropox.net
Re: SOLVED: The server didn't send back a proper XML response (2
It worked for me... ofcourse i don't see why this happens, shouldn't that be handeled somehow else, i do not want to fix the code whenever i use it !!
Thank you everyone ! again !