Hello all,
as a postscript to my message on Friday - concerning sync issues with
EGW and Funambol - here’s what’s happening when I try to use the newest
version of eGWOsync (0.5.1) to sync contacts and calendar data from EGW
1.6.002 to Outlook 2003.
Some background: I’m running CentOS 5.3, newest PHP version available
from the CentOS-Testing repo (5.2.6), and using MySQL as a backend for
everything except accounts, which I’m storing in LDAP. I can use
GroupDAV to sync contacts data with Thunderbird and/or calendar data
with Lightning (after some initial issues, which were down to a
misconfiguration in the Apache vhost config file for my EGW instance).
I have xmlrpc and soap enabled in EGW. For testing purposes, I have set
the default firewall policy on this server to “accept all”.
On a Windows XP Pro client running Outlook 2003, I installed eGWOsync
0.5.1 from the .msi file hosted on Sourceforge (the plugin’s site at
hyber.dk appears to be down). I configured eGWOsync as follows:
Username: michael (a known-good username that has been used to
successfully sync EGW and other client apps such as Thunderbird, Kontact
and Lightning)
Host: http://192.168.118.15 (server is currently not
registered with internal DNS, so I am using the IP to connect - again,
this worked with Thunderbird), port 80
URI: /egroupware/xmlrpc.php
A test login from eGWOsync fails. Running a “sync all” from eGWOsync
with these settings gives the following in eGWOsync’s log file:
“2009/08/24 12:39:26 PM [Calendar / INFO]: Starting Calendar Sync Now!”
“2009/08/24 12:39:26 PM [Calendar / INFO]: Getting previous sync items
from database”
“2009/08/24 12:39:26 PM [Calendar / INFO]: Logging in…”
“2009/08/24 12:39:35 PM [Calendar / WARNING!]: Warning Returned from
eGWOSync eGroupware engine. Code/Message: 0 - Error in
Source/function: eGWSystemCtl/Login”
“2009/08/24 12:39:35 PM [Calendar / CRITICAL!!]: Error returned from
eGWOSync engine. Code/Message: 0 - System.NullReferenceException:
Object reference not set to an instance of an object.
at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object
clientObj, String methodName, Object[] parameters)
at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(String
MethodName, Object[] Parameters)
at eGW.Control.eGWSystemCtl.Login(eGWLoginInfo pstrctLogin, String
pstrHost)”
“2009/08/24 12:39:35 PM [Calendar / CRITICAL!!]: A Critical error has
happend, sync aborted! Turn up log level to debug for more information.”
“2009/08/24 12:39:35 PM [Calendar / DEBUG]: Error happend: Exception
of type System.Exception was thrown.”
"2009/08/24 12:39:35 PM [Calendar / INFO]: Saving new Sync database
now… "
“2009/08/24 12:39:35 PM [ToDo / INFO]: Starting Calendar Sync Now!”
“2009/08/24 12:39:35 PM [ToDo / INFO]: Getting previous sync items
from database”
“2009/08/24 12:39:35 PM [ToDo / INFO]: Logging in…”
“2009/08/24 12:39:44 PM [ToDo / WARNING!]: Warning Returned from
eGWOSync eGroupware engine. Code/Message: 0 - Error in
Source/function: eGWSystemCtl/Login”
“2009/08/24 12:39:44 PM [ToDo / CRITICAL!!]: Error returned from
eGWOSync engine. Code/Message: 0 - System.NullReferenceException:
Object reference not set to an instance of an object.
at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object
clientObj, String methodName, Object[] parameters)
at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(String
MethodName, Object[] Parameters)
at eGW.Control.eGWSystemCtl.Login(eGWLoginInfo pstrctLogin, String
pstrHost)”
“2009/08/24 12:39:44 PM [ToDo / CRITICAL!!]: A Critical error has
happend, sync aborted! Turn up log level to debug for more information.”
“2009/08/24 12:39:44 PM [ToDo / DEBUG]: Error happend: Exception of
type System.Exception was thrown.”
"2009/08/24 12:39:44 PM [ToDo / INFO]: Saving new Sync database now… "
“2009/08/24 12:39:44 PM [Note / INFO]: Starting Calendar Sync Now!”
“2009/08/24 12:39:44 PM [Note / INFO]: Getting previous sync items
from database”
“2009/08/24 12:39:44 PM [Note / INFO]: Logging in…”
“2009/08/24 12:39:53 PM [Note / WARNING!]: Warning Returned from
eGWOSync eGroupware engine. Code/Message: 0 - Error in
Source/function: eGWSystemCtl/Login”
“2009/08/24 12:39:53 PM [Note / CRITICAL!!]: Error returned from
eGWOSync engine. Code/Message: 0 - System.NullReferenceException:
Object reference not set to an instance of an object.
at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object
clientObj, String methodName, Object[] parameters)
at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(String
MethodName, Object[] Parameters)
at eGW.Control.eGWSystemCtl.Login(eGWLoginInfo pstrctLogin, String
pstrHost)”
“2009/08/24 12:39:53 PM [Note / CRITICAL!!]: A Critical error has
happend, sync aborted! Turn up log level to debug for more information.”
“2009/08/24 12:39:53 PM [Note / DEBUG]: Error happend: Exception of
type System.Exception was thrown.”
"2009/08/24 12:39:53 PM [Note / INFO]: Saving new Sync database now… "
Nothing is logged to Apache’s logs, either access_log or error_log, as a
result of this sync request.
I am not a coder - I don’t even impersonate coders in the pub - but
looking at that log file, it appears to me that there’s some bug with
the plugin’s code that’s throwing an error. And judging by Apache’s
logs, the sync request is not reaching the server at all.
Does anybody have suggestions as far as getting EGW to sync data with
Outlook - either via eGWOsync, or via Funambol - goes? It’s the one
function that I still need to get this server to perform.
Regards
Michael
–
Michael Liermann
Linux Engineer
4th Dimension Technology | South Africa
Office: +27 21 506 6260 | Cell: +27 72 214 6058 | Fax: +27 86 610 5792 | www.4dt.co.za