Hi,

I am having some trouble in getting Funambol to work. At the moment of syncing there is an authentication error. I have checked username and password; the access to the soap service and all looks fine.

Perhaps anybody has a solution for this? I could not find anything after searching for hours so I will give this a try...

This is a part of the ds-server dump:

[2010-08-24 12:24:08,738] [funambol.zimbra] [DEBUG] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal] Context's username: john
[2010-08-24 12:24:08,738] [funambol.zimbra] [DEBUG] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal] Context sync mode: 201
[2010-08-24 12:24:08,738] [funambol.zimbra] [DEBUG] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal] Context conflict resolution: 1
[2010-08-24 12:24:08,738] [funambol.zimbra] [DEBUG] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal] Context query: null
[2010-08-24 12:24:08,738] [funambol.zimbra] [DEBUG] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal] Context filter clause: null
[2010-08-24 12:24:08,738] [funambol.zimbra] [DEBUG] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal] Device's Id: fbb-123456789
[2010-08-24 12:24:08,738] [funambol.zimbra] [DEBUG] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal] Device's charset: UTF-8
[2010-08-24 12:24:08,738] [funambol.zimbra] [DEBUG] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal] Device's timezone: sun.util.calendar.ZoneInfo[id="Europe/Brussels",offset=3600000,dstSavings=3600000,useDay light=true,transitions=184,lastRule=java.util.Simp leTimeZone[id=Europe/Brussels,offset=3600000,dstSavings=3600000,useDayl ight=true,startYear=0,startMode=2,startMonth=2,sta rtDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode =2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]]
[2010-08-24 12:24:08,743] [funambol.zimbra.soap] [DEBUG] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal]
<?xml version='1.0'?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<session/>
<userAgent name='ZimbraFunambol Connector'
version='0.6.02'/>
</context>
</soap:Header>
<soap:Body>
<AuthRequest xmlns="urn:zimbraAccount">
<account xmlns=""
by='name'>john</account>
<password xmlns="">********************</password>
</AuthRequest>
</soap:Body>
</soap:Envelope>

[2010-08-24 12:24:08,744] [funambol.zimbra] [ERROR] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal] I/O Error
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java :163)
at sun.net.http://www.http.HttpClient.openServe...lient.java:394)
at sun.net.http://www.http.HttpClient.openServe...lient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java :233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.http://www.protocol.http.HttpURLConn...ction.java:860)
at sun.net.http://www.protocol.http.HttpURLConn...ction.java:801)
at sun.net.http://www.protocol.http.HttpURLConn...ction.java:726)
at sun.net.http://www.protocol.http.HttpURLConn...ction.java:904)
at ru.korusconsulting.connector.base.ZimbraPort.sendR equest(ZimbraPort.java:624)
at ru.korusconsulting.connector.base.ZimbraPort.reque stAutorization(ZimbraPort.java:140)
at ru.korusconsulting.connector.funambol.ZimbraSyncSo urce.commonSync(ZimbraSyncSource.java:121)
at ru.korusconsulting.connector.funambol.CalendarSync Source.commonSync(CalendarSyncSource.java:63)
at ru.korusconsulting.connector.funambol.ZimbraSyncSo urce.beginSync(ZimbraSyncSource.java:102)
at ru.korusconsulting.connector.funambol.CalendarSync Source.beginSync(CalendarSyncSource.java:45)
at com.funambol.server.engine.Sync4jEngine.sync(Sync4 jEngine.java:610)
at com.funambol.server.session.SyncSessionHandler.pro cessModifications(SyncSessionHandler.java:1655)
at com.funambol.server.session.SyncSessionHandler.pro cessSyncMessage(SyncSessionHandler.java:1499)
at com.funambol.server.session.SyncSessionHandler.pro cessInitSyncMapMessage(SyncSessionHandler.java:960 )
at com.funambol.server.session.SyncSessionHandler.pro cessMessage(SyncSessionHandler.java:527)
at com.funambol.server.engine.SyncAdapter.processInpu tMessage(SyncAdapter.java:533)
at com.funambol.server.engine.SyncAdapter.processXMLM essage(SyncAdapter.java:254)
at com.funambol.transport.http.server.LocalSyncHolder .processXMLMessage(LocalSyncHolder.java:97)
at com.funambol.transport.http.server.Sync4jServlet.d oPost(Sync4jServlet.java:400)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.funambol.transport.http.server.LogContextFilte r.doFilter(LogContextFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.funambol.transport.http.server.SyncResponseTim eFilter.doFilter(SyncResponseTimeFilter.java:153)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
[2010-08-24 12:24:08,745] [funambol.engine] [ERROR] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [cal] Error starting the sync
com.funambol.framework.engine.source.SyncSourceExc eption: Access denied, check userName and Password
at ru.korusconsulting.connector.funambol.ZimbraSyncSo urce.commonSync(ZimbraSyncSource.java:124)
at ru.korusconsulting.connector.funambol.CalendarSync Source.commonSync(CalendarSyncSource.java:63)
at ru.korusconsulting.connector.funambol.ZimbraSyncSo urce.beginSync(ZimbraSyncSource.java:102)
at ru.korusconsulting.connector.funambol.CalendarSync Source.beginSync(CalendarSyncSource.java:45)
at com.funambol.server.engine.Sync4jEngine.sync(Sync4 jEngine.java:610)
at com.funambol.server.session.SyncSessionHandler.pro cessModifications(SyncSessionHandler.java:1655)
at com.funambol.server.session.SyncSessionHandler.pro cessSyncMessage(SyncSessionHandler.java:1499)
at com.funambol.server.session.SyncSessionHandler.pro cessInitSyncMapMessage(SyncSessionHandler.java:960 )
at com.funambol.server.session.SyncSessionHandler.pro cessMessage(SyncSessionHandler.java:527)
at com.funambol.server.engine.SyncAdapter.processInpu tMessage(SyncAdapter.java:533)
at com.funambol.server.engine.SyncAdapter.processXMLM essage(SyncAdapter.java:254)
at com.funambol.transport.http.server.LocalSyncHolder .processXMLMessage(LocalSyncHolder.java:97)
at com.funambol.transport.http.server.Sync4jServlet.d oPost(Sync4jServlet.java:400)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.funambol.transport.http.server.LogContextFilte r.doFilter(LogContextFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.funambol.transport.http.server.SyncResponseTim eFilter.doFilter(SyncResponseTimeFilter.java:153)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
[2010-08-24 12:24:08,745] [funambol.handler] [INFO] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [] moving to state: STATE_ERROR [All datastores are in error]
[2010-08-24 12:24:08,745] [funambol.engine] [TRACE] [D6288687A75B42DD72178FCD1B3996C3] [190.180.170.160] [fbb-123456789] [john] [] Closing synchronization process