Re: Incomplete sync with cell phone

Jan Schneider <[email protected]>
Newsgroups gmane.comp.horde.sync
Message-ID <[email protected]>
Please keep discussions on the list.

Zitat von Carsten Schumann <[email protected]>:

> On Fri, 26 Aug 2011 10:22:52 +0200, Jan Schneider wrote:
>> Zitat von Carsten Schumann <[email protected]>:
>>
>>> Hi Jan,
>>>
>>> as Kronolith synchronization works fine now, i tried syncing my  
>>> cell phone against Turba. The first block of contacts is  
>>> synchronized  (26/138) and I can see them in Turba. The second  
>>> block seems to be  sent but for the next two minutes nothing  
>>> happens until my cell  phone raises an error message "Sync  
>>> incomplete" (I suggest it's a  timeout).
>>>
>>>
>>> In the debug folder these files are created:
>>>  -rw------- 1 www-data www-data  857 Aug 25 14:13 client_10.wbxml
>>>  -rw------- 1 www-data www-data 5.8K Aug 25 14:13 client_11.wbxml
>>>  -rw------- 1 www-data www-data  237 Aug 25 14:13 data.txt
>>>  -rw------- 1 www-data www-data 4.7K Aug 25 14:13 devinf.txt
>>>  -rw------- 1 www-data www-data  749 Aug 25 14:13 log.txt
>>>  -rw------- 1 www-data www-data    2 Aug 25 14:13 packetnum.txt
>>>  -rw------- 1 www-data www-data 1.4K Aug 25 14:13 server_10.wbxml
>>>
>>>
>>> whereas log.txt states:
>>>  DEBUG:  Backend of class Horde_SyncMl_Backend_Horde created
>>>  DEBUG:  Started at 2011-08-25 14:13:06. Packet logged in   
>>> /tmp/sync/client_10.wbxml
>>>  DEBUG:  New session created: 9e8fb632fc62327a71f7c4d1f25d8726
>>>  DEBUG:  Checking authentication for user grypho
>>>  DEBUG:  Authenticated: yes; version: 1.1; message ID: 1; source   
>>> URI: IMEI:356424000083602; target URI:   
>>> http://horde4.mydomain.info/rpc.php; user: myname; charset: UTF-8;  
>>>  wbxml: yes
>>>  DEBUG:  Creating Horde_SyncMl_Sync object for database contacts;   
>>> sync type 203
>>>  DEBUG:  Received <Final> from client.
>>>  DEBUG:  Handle <Final> for state Init
>>>  DEBUG:  Sending <Final> to client
>>>  DEBUG:  Return message completed
>>>  DEBUG:  Finished at 2011-08-25 14:13:06. Packet logged in   
>>> /tmp/sync/server_10.wbxml
>>>
>>> data.txt only contains the first entry in client_11.wbxml.
>>>
>>> Any ideas what's going wrong?
>>
>> No, check PHP/Apache logs.
>
> The error.log does not contain any related entries, and access.log shows only
>
> 2.209.94.146 - - [26/Aug/2011:11:30:16 +0200] "POST /rpc.php  
> HTTP/1.1" 200 1406 "-" "SIEMENS-M75/23"
> 2.209.94.146 - - [26/Aug/2011:11:30:29 +0200] "POST /rpc.php  
> HTTP/1.1" 200 536820 "-" "SIEMENS-M75/23"

This second entry look suspicious. This is what should have been  
logged as server_11.wbml. Beside that it's suspiciously huge. I won't  
be surprised if this is one huge error message. Make sure that your  
PHP errors are really logged somewhere.

> I've checked my apache directive for Timeouts (=600s) which do not  
> seem to cause the problem which occurs after approx. 1 minute.
>
> Carsten


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.