Synthesis AG - SyncML Discussion Forum  

Go Back   Synthesis AG - SyncML Discussion Forum > Synthesis SyncML Products (english) > SyncML Clients for classic PDAs (WindowsMobile, PalmOS)

Reply
 
Thread Tools Display Modes
  #1  
Old 2007-01-13, 16:22
john_thomas00 john_thomas00 is offline
Junior Member
 
Join Date: 2006-10
Posts: 10
Default Contact Sync Producing 20003 error - BUG?

Using latest eGroupWare SVN trunk and latest Synthesis 3 client on a Treo 700p, I have successfully been syncing calendar and contacts for a month or so.

Recently, I selected "reload device" as my sync option in the client. Now, the contact sync fails at the point of nearly finishing. The calendar syncs fine.

After selecting reload device and only contacts, the sync begins fine and starts receiving contacts. The screen on the client shows, for example, "Received 623/1572." When the numerator, 623, gets up to around 1200, the client fails with a connection error 20003 in the client logs. I cannot find any evidince of errors in the server logs.

Any suggestions on debuging this problem. Is it really a TCP problem? I have not had any problems with the connections on my Treo before or otherwise.
Reply With Quote
  #2  
Old 2007-01-13, 16:40
john_thomas00 john_thomas00 is offline
Junior Member
 
Join Date: 2006-10
Posts: 10
Default Re: Contact Sync Producing 20003 error - BUG?

Possibly helpful additional information:

The client seems to get "stuck" while "processing" record 1228/1572 and after a timeout, produces the connection error.
Reply With Quote
  #3  
Old 2007-01-13, 19:02
john_thomas00 john_thomas00 is offline
Junior Member
 
Join Date: 2006-10
Posts: 10
Default Re: Contact Sync Producing 20003 error - BUG?

For further testing I removed my rights to other peoples records. I thought maybe the sharing was messed up. The 20003 error continues. My guess is it is not a TCP error, because it happens on the same record number each time. The record it happens on now is different now since the change in access to others records.
Reply With Quote
  #4  
Old 2007-01-13, 21:01
luz's Avatar
luz luz is offline
plan44.ch
 
Join Date: 2006-06
Posts: 348
Exclamation Re: Contact Sync Producing 20003 error - BUG?

Quote:
Originally Posted by john_thomas00 View Post
My guess is it is not a TCP error, because it happens on the same record number each time. The record it happens on now is different now since the change in access to others records.
I suspect that the server does not support HTTP keep-alive. Because if it does not, the client needs to open a separate TCP connection for every SyncML message. This works for smaller syncs. But for larger syncs, the number of messages quickly exceeds 16 - and the Palm OS has a limit of 16 for the number of TCP connections that can be opened in a (relatively) quick succession (if you want technical details, google for TCP TIME-WAIT). Windows Mobile has a limit as well, but it's 32 or 64, so it takes larger syncs to become apparent.

Support for HTTP keep alive is therefore very important for any server used by mobile clients. Because with keep alive, the entire sync will take place with a single TCP connection.

Please contact eGroupware to find if and how you can enable HTTP keep alive in your SyncML server.
__________________
Lukas Zeller, plan44.ch
Reply With Quote
  #5  
Old 2007-01-13, 22:30
john_thomas00 john_thomas00 is offline
Junior Member
 
Join Date: 2006-10
Posts: 10
Default Re: Contact Sync Producing 20003 error - BUG?

That was it. I enabled Keep Alive on my server and everything is fine. Thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 03:23.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.