[sync] problems syncing with funambol plugins

Remko Muis remko at familiemuis.net
Wed Aug 5 20:30:59 UTC 2009


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!

Remko

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
2009-08-05 21:22:46 GMT +1:00 - # Funambol Mozilla Sync Client Log

21:22:46 GMT +1:00 [DEBUG] - Creating SyncSources...
21:22:46 GMT +1:00 [DEBUG] - [contact] ContactSyncSource(): Contact folder: "abook.mab"
21:22:46 GMT +1:00 [DEBUG] - [contact] ContactSyncSource(): Contact folder found: "Persoonlijk adresboek"
21:22:46 GMT +1:00 [DEBUG] - [event] CalendarSyncSource(): Calendar folder: "moz-profile-calendar://"
21:22:46 GMT +1:00 [DEBUG] - [event] CalendarSyncSource(): Calendar found: 'Algemeen'
21:22:46 GMT +1:00 [DEBUG] - [task] CalendarSyncSource(): Calendar folder: "moz-profile-calendar://"
21:22:46 GMT +1:00 [DEBUG] - [task] CalendarSyncSource(): Calendar found: 'Algemeen'
21:22:46 GMT +1:00 [INFO] - Checking for contact sync...
21:22:46 GMT +1:00 [INFO] - Required sync mode: 'two way sync'
21:22:46 GMT +1:00 [INFO] - Checking for event sync...
21:22:46 GMT +1:00 [INFO] - The source event isn't set to be synced
21:22:46 GMT +1:00 [INFO] - Checking for task sync...
21:22:46 GMT +1:00 [INFO] - The source task isn't set to be synced
21:22:46 GMT +1:00 [DEBUG] - Set the synchronization listeners
21:22:46 GMT +1:00 [INFO] - --------------------> Begin SyncML Synchronization <--------------------
21:22:46 GMT +1:00 [DEBUG] - Synchronization URL: http://horde.familiemuis.net/rpc.php
21:22:46 GMT +1:00 [INFO] - Preparing synchronization of contact...
21:22:46 GMT +1:00 [DEBUG] - Checking devinfo...
21:22:46 GMT +1:00 [DEBUG] - devinfo hash: t9Km2TvOwxZ7kfZQ3oOlPg==
21:22:46 GMT +1:00 [DEBUG] - devinfo changed, retransmit
21:22:46 GMT +1:00 [DEBUG] - Initialization message:
21:22:46 GMT +1:00 [DEBUG] - User Agent = Funambol Mozilla Sync Client v0.9.1
21:22:46 GMT +1:00 [DEBUG] - <?xml version="1.0" encoding="UTF-8"?>
<SyncML>
<SyncHdr><VerDTD>1.2</VerDTD>
<VerProto>SyncML/1.2</VerProto>
<SessionID>1249500166</SessionID>
<MsgID>1</MsgID>
<Target><LocURI>http://horde.familiemuis.net/rpc.php</LocURI>
</Target>
<Source><LocURI>fmz-AeTklUUuMaVB6V6LRKek7w==</LocURI>
</Source>
<Cred><Meta><Format xmlns="syncml:metinf">b64</Format>
<Type xmlns="syncml:metinf">syncml:auth-basic</Type>
</Meta>
<Data>cmVta286cmVtdTA5MDQ=</Data>
</Cred>
<Meta><MaxMsgSize xmlns="syncml:metinf">250000</MaxMsgSize>
</Meta>
</SyncHdr>
<SyncBody><Alert><CmdID>1</CmdID>
<Data>200</Data>
<Item><Target><LocURI>contacts</LocURI>
</Target>
<Source><LocURI>contact</LocURI>
</Source>
<Meta><Anchor xmlns="syncml:metinf"><Last>0</Last>
<Next>1249500166</Next>
</Anchor>
</Meta>
</Item>
</Alert>
<Put><CmdID>2</CmdID>
<Meta><Type xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type>
</Meta>
<Item><Source><LocURI>./devinf12</LocURI>
</Source>
<Data><DevInf xmlns="syncml:devinf"><VerDTD>1.2</VerDTD>
<Man>Funambol</Man>
<SwV>0.9.1</SwV>
<DevID>fmz-AeTklUUuMaVB6V6LRKek7w==</DevID>
<DevTyp>workstation</DevTyp>
<UTC/><DataStore><SourceRef>contact</SourceRef>
<Rx-Pref><CTType>text/x-vcard</CTType>
<VerCT>2.1</VerCT>
</Rx-Pref>
<Tx-Pref><CTType>text/x-vcard</CTType>
<VerCT>2.1</VerCT>
</Tx-Pref>
<CTCap><CTType>text/x-vcard</CTType>
<VerCT>2.1</VerCT>
<Property><PropName>BEGIN</PropName>
<PropParam><ParamName>VCARD</ParamName>
</PropParam>
</Property>
<Property><PropName>VERSION</PropName>
<PropParam><ParamName>2.1</ParamName>
</PropParam>
</Property>
<Property><PropName>N</PropName>
</Property>
<Property><PropName>FN</PropName>
</Property>
<Property><PropName>NICKNAME</PropName>
</Property>
<Property><PropName>TEL</PropName>
<PropParam><ParamName>HOME</ParamName>
</PropParam>
</Property>
<Property><PropName>TEL</PropName>
<PropParam><ParamName>WORK</ParamName>
</PropParam>
</Property>
<Property><PropName>TEL</PropName>
<PropParam><ParamName>CELL</ParamName>
</PropParam>
</Property>
<Property><PropName>TEL</PropName>
<PropParam><ParamName>PAGER</ParamName>
</PropParam>
</Property>
<Property><PropName>TEL</PropName>
<PropParam><ParamName>FAX</ParamName>
</PropParam>
</Property>
<Property><PropName>EMAIL</PropName>
<PropParam><ParamName>INTERNET</ParamName>
</PropParam>
</Property>
<Property><PropName>EMAIL</PropName>
<PropParam><ParamName>INTERNET</ParamName>
</PropParam>
<PropParam><ParamName>HOME</ParamName>
</PropParam>
</Property>
<Property><PropName>EMAIL</PropName>
<PropParam><ParamName>INTERNET</ParamName>
</PropParam>
<PropParam><ParamName>HOME</ParamName>
</PropParam>
<PropParam><ParamName>X-FUNAMBOL-INSTANTMESSENGER</ParamName>
</PropParam>
</Property>
<Property><PropName>ADR</PropName>
</Property>
<Property><PropName>ADR</PropName>
<PropParam><ParamName>HOME</ParamName>
</PropParam>
</Property>
<Property><PropName>ADR</PropName>
<PropParam><ParamName>WORK</ParamName>
</PropParam>
</Property>
<Property><PropName>ORG</PropName>
</Property>
<Property><PropName>TITLE</PropName>
</Property>
<Property><PropName>URL</PropName>
<PropParam><ParamName>HOME</ParamName>
</PropParam>
</Property>
<Property><PropName>URL</PropName>
<PropParam><ParamName>WORK</ParamName>
</PropParam>
</Property>
<Property><PropName>BDAY</PropName>
</Property>
<Property><PropName>NOTE</PropName>
</Property>
<Property><PropName>END</PropName>
<PropParam><ParamName>VCARD</ParamName>
</PropParam>
</Property>
</CTCap>
<SyncCap><SyncType>2</SyncType>
<SyncType>1</SyncType>
<SyncType>6</SyncType>
<SyncType>4</SyncType>
</SyncCap>
</DataStore>
<DataStore><SourceRef>event</SourceRef>
<Rx-Pref><CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Rx-Pref>
<Tx-Pref><CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Tx-Pref>
<SyncCap><SyncType>2</SyncType>
<SyncType>1</SyncType>
<SyncType>6</SyncType>
<SyncType>4</SyncType>
</SyncCap>
</DataStore>
<DataStore><SourceRef>task</SourceRef>
<Rx-Pref><CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Rx-Pref>
<Tx-Pref><CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Tx-Pref>
<SyncCap><SyncType>2</SyncType>
<SyncType>1</SyncType>
<SyncType>6</SyncType>
<SyncType>4</SyncType>
</SyncCap>
</DataStore>
</DevInf>
</Data>
</Item>
</Put>
<Final/></SyncBody>
</SyncML>
21:22:46 GMT +1:00 [DEBUG] - Connecting to horde.familiemuis.net:80
21:22:46 GMT +1:00 [DEBUG] - Requesting resource /rpc.php
21:23:22 GMT +1:00 [DEBUG] - Message sent
21:23:22 GMT +1:00 [DEBUG] - Data sent succesfully to server. Server responds OK
21:23:22 GMT +1:00 [DEBUG] - Header: HTTP/1.1 200 OK
Date: Wed, 05 Aug 2009 19:22:29 GMT
Server: Apache/2.2.8 (Fedora)
FFI-Control: Data
FFI-Mode: Content
X-Powered-By: PHP/5.2.4
Content-length: 228
Accept-Charset: UTF-8
Content-Type: text/xml


21:23:22 GMT +1:00 [DEBUG] - Reading response...
21:23:22 GMT +1:00 [DEBUG] - Content-length: 228
21:23:22 GMT +1:00 [DEBUG] - Response read:
<?xml version="1.0"?><disco:discovery xmlns:disco="http://schemas.xmlsoap.org/disco/" xmlns:scl="http://schemas.xmlsoap.org/disco/scl/">
<scl:contractRef ref="http://www.familiemuis.net/horde/rpc.php?wsdl" />
</disco:discovery>

21:23:22 GMT +1:00 [ERROR] - Error processing SyncHdr Status
21:23:22 GMT +1:00 [ERROR] - Error in preparing sync: Error reading status code of command 'SyncHdr'
21:23:22 GMT +1:00 [DEBUG] - ===========================================================
================   SYNCHRONIZATION REPORT   ===============
===========================================================
Last error code = 700
Last error msg  = Error reading status code of command 'SyncHdr'

----------|--------CLIENT---------|--------SERVER---------|
  Source  |  NEW  |  MOD  |  DEL  |  NEW  |  MOD  |  DEL  |
----------|-----------------------------------------------|
   contact|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|
----------|-----------------------------------------------|
     event|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|
----------|-----------------------------------------------|
      task|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|
----------|-----------------------------------------------|

contact:
----------
   Source State    = 0
   Last error code = 0
   Last error msg  = (null)
event:
----------
   Source State    = 0
   Last error code = 0
   Last error msg  = (null)
task:
----------
   Source State    = 0
   Last error code = 0
   Last error msg  = (null)


21:23:22 GMT +1:00 [INFO] - --------------------> End SyncML Synchronization <--------------------
21:23:22 GMT +1:00 [DEBUG] - Saving configuration settings...
21:23:22 GMT +1:00 [DEBUG] - Saving configuration...
21:23:22 GMT +1:00 [DEBUG] - Writing configuration settings to the management tree
21:23:22 GMT +1:00 [DEBUG] - Configuration saved.
21:23:26 GMT +1:00 [DEBUG] - Unset listeners


More information about the sync mailing list