[sync] Synch failed "Blackberry with calendar of Horde"

Alexa Rodríguez avrodriguez at jusbaires.gov.ar
Fri Jun 20 21:23:12 UTC 2008


So far I followed the next steps which have enabled me to "In Theory"
synchronize data between the Calendar of Horde(Kronolith) and the phone
Blackberry, but the data isn't displayed in the phone.
Nor, I achieved synchronize events created on the phone in the Calendar
of Horde.:

 	a. Disable the module "deflate" in the Server Web Apache2
	
	b. I installed the most recent version the Client-Funambol.V 6.6.0 

	c. I followed the instructions the next link:
	http://www.nabble.com/-Tickets--6939--Re:-Funambol-Blackberry-SyncML-plugin-6.6-GA-fails-to-connect-td17871434.html
	to resolve the following error of Client-Funambol "Cannot the find the Response URI in Server Response"



From all this I have some questions: 

Why data are not synchronized?
Where the may be the problem?
Why The Client-Funambol tells me "full sync", even if I fail to see my
dates on the "calendar" of the phone?


Deputy the following data, which I consider relevant.
 So any help would be  appreciated!


When I synch, no PHP errors showed up in the PHP error log.


cat /tmp/horde.log | grep -i error

Jun 20 17:18:48 HORDE [error] [horde] Error in adding client entry due
to replace request: Unsupported Content-Type: text/x-s4j-sife [pid
12432 on line 263 of "/var/www/horde-framework/lib/SyncML/Sync.php"]
Jun 20 17:18:48 HORDE [error] [horde] Error in adding client entry due
to replace request: Unsupported Content-Type: text/x-s4j-sife [pid
12432 on line 263 of "/var/www/horde-framework/lib/SyncML/Sync.php"]
Jun 20 17:18:48 HORDE [error] [horde] Error in adding client entry due
to replace request: Unsupported Content-Type: text/x-s4j-sife [pid
12432 on line 263 of "/var/www/horde-framework/lib/SyncML/Sync.php"]


cat /tmp/horde3.log  | grep -i failure

Jun 20 17:18:51 HORDE [info] [horde] Successful sync of database
calendar. Failures: 3; changes from client (Add, Replace, Delete,
AddReplaces): 0, 0, 0, 0; changes from server (Add, Replace, Delete):
0, 0, 0 [pid 12522 on line 666 of
"/var/www/horde-framework/lib/SyncML/Sync.php"]


I see the same error in /tmp/sync/log.txt:

cat /sync/log.txt | grep -i error

ERR:    Error in adding client entry due to replace request:
Unsupported Content-Type: text/x-s4j-sife ERR:    Error in adding
client entry due to replace request: Unsupported Content-Type:
text/x-s4j-sife


I attached complete the folllowing file /tmp/sync/log.txt

DEBUG:  Backend of class SyncML_Backend_Horde created
DEBUG:  Started at 2008-06-20 17:09:19. Packet logged
in /tmp/sync/client_10.xml DEBUG:  New session created:
3aff4fa12211e324ae84f7586617295a 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-20 17:09:20. Packet logged in /tmp/sync/server_10.xml

DEBUG:  Backend of class SyncML_Backend_Horde created
DEBUG:  Started at 2008-06-20 17:09:24. Packet logged
in /tmp/sync/client_11.xml DEBUG:  Existing session continued:
3aff4fa12211e324ae84f7586617295a DEBUG:  Authenticated: yes; version:
1.2; message ID: 2; source URI: fbb-605925590; target URI:
http://myhorde/rpc.php; user: myuser; charset: UTF-8; wbxml: no
DEBUG:  Using default device class DEBUG: Handling <Replace> sent from
client DEBUG:  Using default device class DEBUG:  SQL Query by
SyncML_Backend_Horde::_getSuid(): SELECT syncml_suid FROM
horde_syncml_map WHERE syncml_syncpartner = ? AND syncml_db = ? AND
syncml_uid = ? AND syncml_cuid = ?, values: fbb-605925590, calendar,
myuser, 2016405933 DEBUG:  No map entry found for client id
2016405933 replacing on server ERR:    Error in adding client entry due
to replace request: Unsupported Content-Type: text/x-s4j-sife DEBUG:
Handling <Replace> sent from client DEBUG: Using default device class
DEBUG:  SQL Query by SyncML_Backend_Horde::_getSuid(): SELECT
syncml_suid FROM horde_syncml_map WHERE syncml_syncpartner = ? AND
syncml_db = ? AND syncml_uid = ? AND syncml_cuid = ?, values:
fbb-605925590, calendar, myuser, 2016405942 DEBUG:  No map entry
found for client id 2016405942 replacing on server ERR:    Error in
adding client entry due to replace request: Unsupported Content-Type:
text/x-s4j-sife DEBUG: Received <Final> from client. DEBUG:  Handle
<Final> for state Sync DEBUG:  Creating <Sync> output for server
changes in database calendar DEBUG:  Using default device class DEBUG:
Compiling server changes from 1969-12-31 21:00:00 to 2008-06-20
17:09:20 DEBUG:  Sending 0 server changes for client URI calendar
DEBUG:  Sending <Final> to client DEBUG:  Return message completed
DEBUG:  Finished at 2008-06-20 17:09:24. Packet logged
in /tmp/sync/server_11.xml

DEBUG:  Backend of class SyncML_Backend_Horde created
DEBUG:  Started at 2008-06-20 17:09:27. Packet logged
in /tmp/sync/client_12.xml DEBUG:  Existing session continued:
3aff4fa12211e324ae84f7586617295a DEBUG:  Authenticated: yes; version:
1.2; message ID: 3; source URI: fbb-605925590; target URI:
http://myhorde/rpc.php; user: myuser; charset: UTF-8; wbxml: no DEBUG:
Received <Final> from client. DEBUG: Handle <Final> for state Completed
DEBUG:  Sending <Final> to client 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:  SQL Query by
SyncML_Backend_Horde::writeSyncAnchors(): INSERT INTO
horde_syncml_anchors (syncml_clientanchor, syncml_serveranchor,
syncml_syncpartner, syncml_db, syncml_uid) VALUES (?, ?, ?, ?, ?),
values: 1213992553192, 1213992560, fbb-605925590, calendar, myuser
INFO:   Successful sync of database calendar. Failures: 2; changes from
client (Add, Replace, Delete, AddReplaces): 0, 0, 0, 0; changes from
server (Add, Replace, Delete): 0, 0, 0 DEBUG:  Finished at 2008-06-20
17:09:27. Packet logged in /tmp/sync/server_12.xml


Thanks in advance, Alexa



El Thu, 19 Jun 2008 10:51:51 +0200
Anders Tietze <hordesync at dk-tietze.dk> escribió:

> This look pretty much like the same problem that I have with my SE  
> w910i, which doesn't have been solved yet. Please referrer to the
> "Re: [sync] Sync fails with SE w910i" thread.
> 
> The problem seems to be the syncml 1.2 implementation in horde. From  
> the logfiles from my phone, it looks like horde understand the
> client, but the client doesn't like the answer from horde and
> therefore terminate the connection. I haven't had much time to spend
> on debugging the problem the last couple of months, so any help would
> be appreciated.
> 
> Best regards,
> Anders Tietze
> 
> Quoting Alexa Rodríguez <avrodriguez at jusbaires.gov.ar>:
> 
> >> 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
> >
> >
> >
> > --
> > sync mailing list - Join the hunt: http://horde.org/bounties/#sync
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: sync-unsubscribe at lists.horde.org
> >
> >
> 
> 
> 
> 


More information about the sync mailing list