[sync] Problems syncing with funambol clients

Jan Schneider jan at horde.org
Thu Aug 6 10:03:13 UTC 2009


Zitat von Remko Muis <remko at familiemuis.net>:

> Hi Jan,
>
> Thanks for your help. I already have both mime types in my
> /etc/mime.types. However, I doubt that the clients themselves are
> broken, since I tried the mozilla plugin on two different machines, and
> the WinMobile plugin on my phone. That makes three independent
> instances. Might it be that Apache is forwarding the request somehow in
> the wrong mime type?

This is unlikely, but the only explanation I have right now. Or maybe  
your PHP installation doesn't populate the $_SERVER['CONTENT_TYPE']  
variable correctly.

> But then, why is the Outlook plugin working?

No idea.

> What
> happens when rpc.php is loaded?

Take a look at the code. It basically runs several tests against the  
incoming request to determine which RPC backend is supposed to answer  
the call.
SyncML is being used if the mentioned variable has one of the SyncML  
mime types.
You can try adding Horde::logMessage() calls in rpc.php to see what  
the values are and what the code path is.

> Does it have to do with the required
> pear packages?

No.

> Jan Schneider schreef:
>> Zitat von Remko Muis <remko at familiemuis.net>:
>>
>>> Hi all,
>>>
>>> I use the latest stable cvs version of horde, framework libs and several
>>> applications. On my pocket-pc, I installed the funambol plugin for
>>> Windows Mobile Pocket PC's, v. 7.2. In Thunderbird, I have v. 0.9.1 of
>>> the Funambol Mozilla Sync Client installed. Neither of these work,
>>> although I followed the directions of the Wiki, have all the required
>>> pear packages installed (as far as I can see), commented out the 'realm'
>>> line in servers.php, disabled compress pages, etc. There are no logs in
>>> /tmp/sync and nothing reported in /tmp/horde.log. I don't use SSL,
>>> because I use self-signed certificates.
>>>
>>> The Win Mobile plugin simply says: Please wait: checking your
>>> credentials... and then complains: Sync not completed, please try later.
>>> If the error persists, contact Technical support. Syncing with
>>> myFunambol works, however.
>>>
>>> The Mozilla plugin is more informative, the log is attached. I tried
>>> contacts, notes and tasks separately, but to no avail.
>>>
>>> I also use the funambol plugin for Outlook, which works better (but
>>> seems to crash when encountering recurring events), so the strange thing
>>> is that I have a working combination of horde + one Funambol plugin, but
>>> can't get other plugins to work!
>>>
>>> Can anybody please help me out? Thanks in advance!
>>
>> The server thinks this is a SOAP request. This could only happen if
>> the client is sending the request with an incorrect MIME type. To
>> correctly determine SyncML requests, the incoming MIME type must be
>> either application/vnd.syncml+xml or application/vnd.syncml+wbxml. If
>> the clients send something different, it's broken.
>>
>> Jan.
>>
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.horde.org/archives/sync/attachments/20090806/37d2a00a/attachment.bin>


More information about the sync mailing list