[sync] Sync Error

Han Spruyt han.spruyt at ijsselgroep.nl
Sun Oct 29 06:50:08 PST 2006


Hi,

I have a somewhat similar problem at the moment with the sync4j client.
It used to work earlier.
All Horde and apps is cvs of 15:17 today.
This is the client log:

2006-10-29 15:29:55:000 - # SyncClient API Native Log
15:29:55:000 [INFO] - Initializing
15:29:56:000 [INFO] - Preparing sync...
15:29:56:000 [DEBUG] - initialization-message:
15:29:56:000 [DEBUG] - <?xml version="1.0" encoding="UTF-8"?><SyncML>
<SyncHdr>
<VerDTD>1.1</VerDTD>
<VerProto>SyncML/1.1</VerProto>
<SessionID>1</SessionID>
<MsgID>1</MsgID>
<Target><LocURI>https://myserver.nl:443</LocURI></Target>
<Source><LocURI>sc-pim-ppc</LocURI></Source>
<Cred>
<Meta><Format xmlns='syncml:metinf'>b64</Format><Type  
xmlns='syncml:metinf'>syncml:auth-basic</Type></Meta>
<Data>aHNwcnV5dDpEb2dmMDBk</Data>
</Cred>
</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">
<Last>29775469</Last>
<Next>29817702</Next>
</Anchor></Meta>
</Item>
</Alert>

<Final/>
</SyncBody>
</SyncML>
15:29:56:000 [DEBUG] - Establish connection: test internet connection  
status...
15:29:56:000 [DEBUG] - Not connected: try to connect...
15:29:56:000 [DEBUG] - Try to establish connection...
15:29:56:000 [DEBUG] - Start internet connection process...
15:29:58:000 [DEBUG] - Internet connection succesfully completed.
15:29:58:000 [DEBUG] - Connecting to myserver.nl:443
15:29:58:000 [DEBUG] - InternetConnect success!!
15:29:58:000 [DEBUG] - Requesting resource /Nieuw/horde/rpc.php
15:29:58:000 [DEBUG] - HttpOpenRequest success!!
15:29:58:000 [DEBUG] - InternetWriteFile success...
15:29:59:000 [DEBUG] - Message sent
15:35:01:000 [ERROR] - HTTP request error: -1
15:35:01:000 [ERROR] - Error code: 2003
error message: HTTP request error: -1
15:35:01:000 [INFO] - Sync ended.

On the server side nothing in horde log on DEBUG, no files created in  
/tmp/sync.

I do not have curl installed on this machine.
Anything else I can check?

cheers,

Han Spruyt.


Quoting Karsten Fourmont <fourmont at gmx.de>:

> Hi,
>
> strange. What do you see when you type
>
> ---%<----
> curl -H "Content-Type: application/vnd.syncml+xml" -d  
> "<Syncml><SyncHdr></SyncHdr></SyncML>"
> http://domain.info/horde/rpc.php
> ---%<----
> As one line, entered on the command line.
>
> There's been an error in the Sync4j class a few days ago. Please  
> make sure you have a cvs snapshot of at least Oct 26th.
>
> Cheers,
>  Karsten
>
> Markus Braun wrote:
>> okay.
>>
>> here are some more informations.
>>
>> I have installed the old funambol version 3.0.7. Here i can  
>> synchronize with notes and tasks.
>>
>> With the other the programm aborted.
>>
>> With the new version 3.0.15, i cant synchronize with notes and tasks yet.
>>
>> By installing the new framework i get this errors:
>>
>> Installing RDO:
>> warning: horde/Horde_RDO requires PHP (version >= 5.1.4), installed  
>> version is 4.3.10-16
>> install ok: channel://pear.horde.org/Horde_RDO-0.1.1
>>
>> Installing Rampage:
>> warning: horde/Horde_Rampage requires PHP (version >= 5.0),  
>> installed version is 4.3.10-16
>> install ok: channel://pear.horde.org/Horde_Rampage-0.1.1
>>
>> Installing Share:
>> warning: horde/Horde_Share requires package "horde/Horde_Identity"
>> install ok: channel://pear.horde.org/Horde_Share-0.0.3
>>
>> When i try to synchronize i get this error.log from the funambol plugin:
>>
>> 2006-10-26 20:37:26:703 - # Funambol Outlook Plug-in v. 3.0.15
>>
>> 20:37:26:703 [INFO] - Starting synchronization...
>> 20:37:27:921 [INFO] - **********  NOTES SYNC  ************
>> 20:37:27:921 [INFO] - Synchronization URL: http://domain.info/horde/rpc.php
>> 20:37:27:937 [INFO] - Preparing synchronization of note...
>> 20:37:28:140 [ERROR] - Error processing SyncHdr Status
>> 20:37:28:312 [ERROR] - Server Failure: server returned error code -1
>> 20:37:28:312 [ERROR] - Error in syncing: Server Failure: server  
>> returned error code -1
>> 20:37:28:312 [INFO] - Notes sync completed with errors
>> 20:37:28:312 [INFO] - **********  TASKS SYNC  ************
>> 20:37:28:312 [INFO] - Synchronization URL: http://domain.info/horde/rpc.php
>> 20:37:28:312 [INFO] - Preparing synchronization of task...
>> 20:37:28:437 [ERROR] - Error processing SyncHdr Status
>> 20:37:28:796 [ERROR] - Server Failure: server returned error code -1
>> 20:37:28:796 [ERROR] - Error in syncing: Server Failure: server  
>> returned error code -1
>> 20:37:28:796 [INFO] - Tasks sync completed with errors
>> 20:37:28:828 [INFO] - Logged off from Outlook
>>
>> On the server, i found only one entry in the apache2 log:
>>
>>
>> 88.217.3.30 - - [26/Oct/2006:20:36:56 +0200] "POST /horde/rpc.php  
>> HTTP/1.1" 200 - "-" "Funambol Outlook Plug-in 3.0.15"
>>
>> But it its something different to the old version:
>>
>> 88.217.3.30 - - [26/Oct/2006:20:17:55 +0200] "POST /horde/rpc.php  
>> HTTP/1.1" 200 2483 "-" "Funambol Outlook Plug-in 3.0.7"
>>
>> in the tmp/sync are no logs at the moment. He aborted earlierer.
>>
>> So it must be different between the both funambol versions.
>>
>> At the moment i havent more information.
>>
>> Nothing in the php log.
>>
>> I hope this helps more.
>>
>> marcus
>>
>>> From: Karsten Fourmont <fourmont at gmx.de>
>>> To: sync at lists.horde.org
>>> Subject: Re: [sync] Sync Error
>>> Date: Thu, 26 Oct 2006 17:02:24 +0200
>>>
>>> there's ongoing development to improve the replication with Outlook.
>>> Thus the current cvs may become a bit unstable from time time to time.
>>>
>>> When testing, please active php error logging in php.ini:
>>> error_log = /tmp/phperrors.log
>>> (or whereever you want the log)
>>> and check if a sync attempt produces anything in there.
>>>
>>> Just reporting "sync issnt running anymore" doesn't really help   
>>> finding the issue ;-)
>>>
>>> Cheers,
>>> Karsten
>>>
>>>
>>> Quoting Markus Braun <charmed21muc at hotmail.com>:
>>>
>>>> Hello,
>>>>
>>>> what is happen that the sync issnt running anymore?
>>>>
>>>> Also he dont writes something in the tmp/sync folder?
>>>>
>>>> HE has the chmod 666 .
>>>>
>>>> Please can somebody help me?
>>>>
>>>> thanks
>>>> marcus
>>>>>> please do another update and try again.
>>>>>> And use the latest "Outlook v3.0 Stable" version of Sync4J from
>>>>>> http://www.funambol.com/opensource/
>>>>>
>>>>> by installing the framework i get this errors:
>>>>>
>>>>>
>>>>> Installing Auth:
>>>>> pear/Horde_Auth can optionally use PHP extension "pam_auth"
>>>>> pear/Horde_Auth can optionally use PHP extension "sasl"
>>>>> 2
>>>>>
>>>>> Installing DataTree:
>>>>> 2
>>>>> ERROR: Adding package pear.php.net/Horde_DataTree to registry failed
>>>>>
>>>>>
>>>>> Installing Editor:
>>>>> install ok: channel://pear.php.net/Horde_Editor-0.0.1
>>>>>
>>>>>
>>>>> Installing File_CSV:
>>>>> 2
>>>>> ERROR: Adding package pear.php.net/File_CSV to registry failed
>>>>>
>>>>>
>>>>> Installing File_PDF:
>>>>> pear/File_PDF can optionally use package "pear/HTTP_Download"
>>>>> 2
>>>>> ERROR: Adding package pear.php.net/File_PDF to registry failed
>>>>>
>>>>>
>>>>> Installing Form:
>>>>> install ok: channel://pear.php.net/Horde_Form-0.0.1
>>>>>
>>>>> Installing Group:
>>>>> warning: pear/Horde_Group requires package "pear/Horde_DataTree"
>>>>> warning: pear/Horde_Group requires package "pear/Horde_Auth"
>>>>> install ok: channel://pear.php.net/Horde_Group-0.0.1
>>>>>
>>>>>
>>>>> Installing MIME:
>>>>> pear/Horde_MIME can optionally use package "pear/Horde_Auth"
>>>>> install ok: channel://pear.php.net/Horde_MIME-0.0.1
>>>>>
>>>>>
>>>>> Installing Identity:
>>>>> warning: pear/Horde_Identity requires package "pear/Horde_Auth"
>>>>> install ok: channel://pear.php.net/Horde_Identity-0.0.1
>>>>>
>>>>>
>>>>> Installing Perms:
>>>>> pear/Horde_Perms can optionally use package "pear/Horde_DataTree"
>>>>> install ok: channel://pear.php.net/Horde_Perms-0.0.1
>>>>>
>>>>>
>>>>> Installing Prefs:
>>>>> 2
>>>>> ERROR: Adding package pear.php.net/Horde_Prefs to registry failed
>>>>>
>>>>>
>>>>> Installing RDO:
>>>>> warning: pear/RDO requires PHP (version >= 5.0, version <=  
>>>>> 6.0.0),  installed version is 4.3.10-16
>>>>> install ok: channel://pear.php.net/RDO-0.1.0
>>>>>
>>>>>
>>>>> Installing RPC:
>>>>> warning: pear/Horde_RPC requires package "pear/SOAP" (version >= 0.8RC3)
>>>>> install ok: channel://pear.php.net/Horde_RPC-0.0.1
>>>>>
>>>>>
>>>>> Installing Rampage:
>>>>> warning: pear/Horde_Rampage requires PHP (version >= 5.0,  
>>>>> version  <= 6.0.0), installed version is 4.3.10-16
>>>>> install ok: channel://pear.php.net/Horde_Rampage-0.1.0
>>>>>
>>>>> Installing SessionHandler:
>>>>> 2
>>>>> ERROR: Adding package pear.php.net/Horde_SessionHandler to  
>>>>> registry failed
>>>>>
>>>>> Installing Token:
>>>>> 2
>>>>> ERROR: Adding package pear.php.net/Horde_Token to registry failed
>>>>>
>>>>>
>>>>> Installing Tree:
>>>>> install ok: channel://pear.php.net/Horde_Tree-0.0.1
>>>>>
>>>>>
>>>>> Installing Util:
>>>>> install ok: channel://pear.php.net/Horde_Util-0.0.1
>>>>>
>>>>>
>>>>> Installing VC:
>>>>> 2
>>>>> ERROR: Adding package pear.php.net/VC to registry failed
>>>>>
>>>>>
>>>>> Installing VFS:
>>>>> 2
>>>>> ERROR: Adding package pear.php.net/VFS to registry failed
>>>>>
>>>>>
>>>>> Installing VFS_ISOWriter:
>>>>> warning: pear/VFS_ISOWriter requires package "pear/VFS"
>>>>> install ok: channel://pear.php.net/VFS_ISOWriter-0.0.1
>>>>>
>>>>>
>>>>> Installing XML_SVG:
>>>>> 2
>>>>> ERROR: Adding package pear.php.net/XML_SVG to registry failed
>>>>>
>>>>> _________________________________________________________________
>>>>> Haben Spinnen Ohren? Finden Sie es heraus – mit dem MSN Suche   
>>>>> Superquiz via  http://www.msn-superquiz.de  Jetzt mitmachen und   
>>>>> gewinnen!
>>>>>
>>>>> -- 
>>>>> 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
>>>>
>>>> _________________________________________________________________
>>>> Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche  
>>>> Toolbar  mit Windows-Desktopsuche liefert in sekundenschnelle  
>>>> Ergebnisse.  Jetzt neu! http://desktop.msn.de/ Jetzt gratis  
>>>> downloaden!
>>>>
>>>> -- 
>>>> 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
>>>
>>>
>>>
>>> -- 
>>> 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
>>
>> _________________________________________________________________
>> Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie  
>> gleichzeitig im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu!  
>> http://desktop.msn.de/ Jetzt gratis downloaden!
>>
>
> -- 
> 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