[sync] Synch failed "Blackberry with calendar of Horde"
Alexa Rodríguez
avrodriguez at jusbaires.gov.ar
Tue Jun 17 22:08:55 UTC 2008
> You already posted the main log file. But you should also provide
> the other sync log files. See also
> http://wiki.horde.org/SyncMLProblemReport
>
> Jan.
>
1. I use the version 3.2.1 of Horde and "lib/SyncML/Backend/Sql.php, v 1.6.2.2 /2008/04/08"
2. No PHP errors showed up in the PHP error log
3. These are the files that were generated in trying to make the synch:
:/tmp/sync# ls
client_10.xml devinf.txt log.txt packetnum.txt server_10.xml
log.txt
DEBUG: Backend of class SyncML_Backend_Horde created
DEBUG: Started at 2008-06-17 18:34:15. Packet logged
in /tmp/sync/client_10.xml DEBUG: New session created:
4c7e2a694b6201983515ef4e00e098ae DEBUG: Checking authentication for
user myuser DEBUG: Authenticated: yes; version: 1.2; message ID: 1;
source URI: fbb-605925590; target URI: http://myhorde/rpc.php; user:
myuser; charset: UTF-8; wbxml: no DEBUG: SQL Query by
SyncML_Backend_Horde::readSyncAnchors(): SELECT syncml_clientanchor,
syncml_serveranchor FROM horde_syncml_anchors WHERE syncml_syncpartner
= ? AND syncml_db = ? AND syncml_uid = ?, values: fbb-605925590,
calendar, myuser DEBUG: No info about previous syncs found for
device fbb-605925590 and database calendar DEBUG: Creating SyncML_Sync
object for database calendar; sync type 201 DEBUG: Received <Final>
from client. DEBUG: Handle <Final> for state Init DEBUG: Sending
<Final> to client DEBUG: Return message completed DEBUG: Finished at
2008-06-17 18:34:16. Packet logged in /tmp/sync/server_10.xml
server_10.xml
<?xml version="1.0" encoding="UTF-8"?><SyncML xmlns="syncml:syncml1.2"><SyncHdr><VerDTD>1.2</VerDTD><VerProto>SyncML/1.2</VerProto><SessionID>1213738443324</SessionID><MsgID>1</MsgID><Target><LocURI>fbb-605925590</LocURI><LocName>myuser</LocName></Target><Source><LocURI>http://myhorde/rpc.php</LocURI></Source><Meta><MaxMsgSize
xmlns="syncml:metinf">1000000</MaxMsgSize><MaxObjSize
xmlns="syncml:metinf">31000</MaxObjSize></Meta></SyncHdr><SyncBody><Status><CmdID>1</CmdID><MsgRef>1</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><TargetRef>http://myhorde/rpc.php</TargetRef><SourceRef>fbb-605925590</SourceRef><Data>212</Data></Status><Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>1</CmdRef><Cmd>Alert</Cmd><TargetRef>calendar</TargetRef><SourceRef>calendar</SourceRef><Data>508</Data><Item><Data><Anchor
xmlns="syncml:metinf"><Next>1213738443220</Next></Anchor></Data></Item></Status><Alert><CmdID>3</CmdID><Data>201</Data><Item><Target><LocURI>calendar</LocURI></Target><Source><LocURI>calendar</LocURI></Source><Meta><Anchor
xmlns="syncml:metinf"><Last>0</Last><Next>1213738456</Next></Anchor><MaxObjSize
xmlns="syncml:metinf">31000</MaxObjSize></Meta></Item></Alert><Status><CmdID>4</CmdID><MsgRef>1</MsgRef><CmdRef>2</CmdRef><Cmd>Put</Cmd><SourceRef>./devinf12</SourceRef><Data>200</Data></Status><Final></Final></SyncBody></SyncML>myserver:
client_10.xml
<SyncML>
<SyncHdr>
<VerDTD>1.2</VerDTD>
<VerProto>SyncML/1.2</VerProto>
<SessionID>1213738443324</SessionID>
<MsgID>1</MsgID>
<Target><LocURI>http://myhorde/rpc.php</LocURI></Target>
<Source><LocURI>fbb-605925590</LocURI></Source>
<Cred>
<Meta><Type xmlns="syncml:metinf">syncml:auth-basic</Type>
<Format xmlns="syncml:metinf">b64</Format>
</Meta>
<Data>YXZyb2RyaWd1ZXo6YWxla2EtYXZyb2RyaWd1ZXo=</Data></Cred>
<Meta><MaxMsgSize>32768</MaxMsgSize></Meta>
</SyncHdr>
<SyncBody>
<Alert>
<CmdID>1</CmdID>
<Data>200</Data>
<Item>
<Target><LocURI>calendar</LocURI>
</Target>
<Source><LocURI>calendar</LocURI></Source>
<Meta>
<Anchor xmlns="syncml:metinf">
<Next>1213738443220</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>Research In Motion</Man>
<Mod>8100</Mod>
<OEM></OEM>
<FwV></FwV>
<SwV>6.6.0</SwV>
<HwV>2.2.0.39</HwV>
<DevID>fbb-605925590</DevID>
<DevTyp>phone</DevTyp>
<UTC/>
<DataStore>
<SourceRef>calendar</SourceRef>
<Rx-Pref>
<CTType>text/x-s4j-sife</CTType>
<VerCT></VerCT>
</Rx-Pref>
<Tx-Pref>
<CTType>text/x-s4j-sife</CTType>
<VerCT></VerCT>
</Tx-Pref>
<SyncCap>
<SyncType>1</SyncType>
<SyncType>2</SyncType>
<SyncType>7</SyncType>
</SyncCap>
</DataStore>
</DevInf>
</Data>
</Item>
</Put>
<Final/></SyncBody>
</SyncML>
devinf.txt
SyncML_DeviceInfo::__set_state(array(
'VerDTD' => '1.2',
'Man' => 'Research In Motion',
'Mod' => '8100',
'OEM' => '',
'FwV' => '',
'SwV' => '6.6.0',
'HwV' => '2.2.0.39',
'DevID' => 'fbb-605925590',
'DevTyp' => 'phone',
'DataStores' =>
array (
0 =>
SyncML_DataStore::__set_state(array(
'SourceRef' => 'calendar',
'DisplayName' => NULL,
'MaxGUIDSize' => NULL,
'Rx_Pref' =>
array (
'text/x-s4j-sife' => '',
),
'Rx' =>
array (
),
'Tx_Pref' =>
array (
'text/x-s4j-sife' => '',
),
'Tx' =>
array (
),
'DSMem' => NULL,
'SyncCap' =>
array (
1 => true,
2 => true,
7 => true,
),
)),
),
'CTCaps' => NULL,
'Exts' => NULL,
'UTC' => true,
'SupportLargeObjs' => NULL,
'SupportNumberOfChanges' => NULL,
packetnum.txt
11
More information about the sync
mailing list