[dev] jsonrpc vs xmlrpc and gzinflate() buffer error

Michael Rubinsky mike at theupstairsroom.com
Thu Nov 29 01:51:15 UTC 2007


I'm going nuts with this.  Can anyone else verify this behaviour?

I'm calling the (newly added) _whups_addVersion() method via rpc:

$request = Horde_RPC::request('jsonrpc',  
'http://server.com/horde/rpc.php', 'tickets.addVersion',
                                array($queueId, 'version string',  
'version description'), array('user' => 'myname', 'pass' => 'mypass'));

I consistently get a gzinflate() buffer error in  
HTTP_Response::_decodeGzip() with this when calling TO any box other  
than localhost.  On the otherhand, changing the call to xmlrpc as so:

$request = Horde_RPC::request('xmlrpc',  
'http://server.com/horde/rpc.php', 'tickets.addVersion',
                                array($queueId, 'version string',  
'version description'), array('user' => 'myname', 'pass' => 'mypass'));


works like a charm.  I'm out of ideas after a few hours of  
playing...any hints?  ;)


Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin


More information about the dev mailing list