|
From: <tr...@eg...> - 2009-02-18 07:23:07
|
New ticket submitted by Greg McAvoy-Jensen at 2009/02/18 08:22 Tracking System: Bugs Category: SyncML Version: Version 1.6.001 Status: Open Completed: 0% Priority: 5 - medium Created By: Greg McAvoy-Jensen Assigned to: Patrick Bihan-Faou Summary: #1946 - Undefined content-length = 0 after uploading to egroupware Full sync with Motorola Q9h to egroupware 1.6.001 via Funambol 7.0.8 fails with error "Undefined content-length = 0." When one attempts sync of smartphone data (e.g. calendar or contacts) with egroupware, it appears to all get put on egroupware correctly, but the process ends with a sync not completed error. Funambol's debug shows: ... 09:55:18 GMT -8:00 [DEBUG] - Connecting to www.mysite.com:80 09:55:18 GMT -8:00 [DEBUG] - Requesting resource /rpc.php?syncml_sessionid=syncml-83d2d14f79b926431851a399f5a1293b 09:55:18 GMT -8:00 [DEBUG] - Message sent 09:55:18 GMT -8:00 [DEBUG] - Data sent succesfully to server. Server responds OK 09:55:18 GMT -8:00 [DEBUG] - Header: HTTP/1.1 200 OK Date: Fri, 02 Jan 2009 17:55:17 GMT Server: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.6-5 with Suhosin-Patch mod_perl/2.0.2 Perl/v5.8.8 X-Powered-By: PHP/5.2.6-5 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Expires: Thu, 19 Nov 1981 08:52:00 GMT Content-Length: 0 Keep-Alive: timeout=15, max=97 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 09:55:18 GMT -8:00 [DEBUG] - Reading response... 09:55:18 GMT -8:00 [DEBUG] - Content-length: 0 09:55:18 GMT -8:00 [DEBUG] - Undefined content-length = 0. Using the maxMsgSize = 65536. 09:55:18 GMT -8:00 [ERROR] - Server Failure: server returned error code -1 09:55:18 GMT -8:00 [ERROR] - Error in syncing: Server Failure: server returned error code -1 09:55:18 GMT -8:00 [DEBUG] - Sync ended multiple sources. 09:55:18 GMT -8:00 [DEBUG] - Synchronize is returning: -1. 09:55:18 GMT -8:00 [ERROR] - Sync not successful. eGroupWare reports no errors in the error log; same for Apache. In this case the Motorola Q9h was set to use Internet rather than WAP. For reference there is also a post here https://core.forge.funambol.org/ds/viewMessage.do?dsForumId=405&dsMessageId=33159 and here: http://www.nabble.com/Funambol%3A-Undefined-content-length-%3D-0-after-uploading-to-egroupware-td21279078s3741.html#a21279078. Linked entries: http://www.egroupware.org/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=1946&no_popup=1 |