Results 1 to 5 of 5

Thread: Funambol and ZimbraConnector

  1. #1
    Join Date
    Jun 2010
    Posts
    4
    Rep Power
    0

    Default Funambol and ZimbraConnector

    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

  2. #2
    Join Date
    Aug 2010
    Posts
    7
    Rep Power
    5

    Default

    Quote Originally Posted by ruyterb View Post
    Hi,


    [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)
    Well, looks you entered a wrong hostname or port number.
    Or maybe the firewall blocked access to the port....

  3. #3
    Join Date
    Jun 2010
    Posts
    4
    Rep Power
    0

    Default

    that was an easy answer :-)

    I did check the hostname and portnumber of course by opening a telnet session...

  4. #4
    Join Date
    Aug 2010
    Posts
    7
    Rep Power
    5

    Default

    Quote Originally Posted by ruyterb View Post
    that was an easy answer :-)

    I did check the hostname and portnumber of course by opening a telnet session...
    Well, the ConnectException is the root cause of the error.
    For some reason the PlainSocketImpl (standard java, nothing to do with Funambol or Zimbra) cannot create a connection. Usually this means host or port are wrong.
    However any other security settings (e.g. iptables, SELinux etc..) can create restrictions.

    I can only recommend you double check Modules->zimbra->FunambolZimbraConnector->*SyncSource->$name->Zimbra URL .

  5. #5
    Join Date
    Aug 2010
    Posts
    9
    Rep Power
    5

    Default

    helooo...
    i am sory, i am newbie
    how can i chek the hostname and portnumber??
    i got the same problem

    thanks

Similar Threads

  1. Zimbraconnector Funambol V8
    By Centro in forum Mobility
    Replies: 16
    Last Post: 03-15-2010, 06:40 AM
  2. funambol zimbraconnector and shared folders
    By gregor in forum Mobility
    Replies: 0
    Last Post: 02-25-2010, 03:26 PM
  3. Replies: 3
    Last Post: 05-18-2009, 05:51 PM
  4. Funambol ZimbraConnector
    By felipe.ramirez.schaub in forum Zimbra Mobile
    Replies: 0
    Last Post: 01-28-2009, 09:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •