New Release 1.5.1 CardDAV time out to Synology, but Release 1.5.0.3 was ok



  • The new Release does not find the CardDAV server at my Synology. But the previous release 1.5.0.3 was fine. Where can I get the previous APK file? Please help!


  • developer

    Can you please provide the exception details / debug info?



  • I uninstalled the correct working DAVDroid 1.5.0.3 release, then installed new the OpenTask app and then also the new release 1.5.1 of DAVDroid again. But I have trouble now with the CardDAV configuration (https://serveraddress:8443/addressbooks/users/Franz/addressbook/) I got the error message "Es konnte weder ein CalDAV- noch ein CardDAV-Dienst gefunden werden".

    The configuration of DAVDroid 1.5.1 with the Synology CalDAV server to does still work (https://serveraddress:5001/caldav.php/Franz/home/).

    2017-04-26 23:09:42 1104 [HttpClient$1] <-- HTTP FAILED: java.net.SocketTimeoutException: connect timed out
    2017-04-26 23:09:42 1104 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
    EXCEPTION java.net.SocketTimeoutException: connect timed out
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:334)
    	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:196)
    	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356)
    	at java.net.Socket.connect(Socket.java:586)
    	at okhttp3.internal.platform.AndroidPlatform.connectSocket(AndroidPlatform.java:63)
    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:221)
    	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:147)
    	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:192)
    	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:121)
    	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:100)
    	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:211)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185)
    	at okhttp3.RealCall.execute(RealCall.java:69)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:276)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.java:179)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:119)
    	at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:90)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
    	at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
    	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:302)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
    	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
    	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
    	at java.lang.Thread.run(Thread.java:761)
    

  • developer

    Thanks. Are you sure that this is not a networking problem? Sounds like a firewalling problem or something like that. Also, 1.5.1 didn't change anything related to connections, if it worked with 1.5.0.3.



  • It could not be a networking problem, because the CalDAV configuration and synchronisation does work. The problem is only by CardDAV with the new Release 1.5.1. And I have tested the http (8008) and the https (8443) port of the CardDAV synology server. My CardBook (AddIn) integration in Thunderbird is also still working too.
    How can I get / download the previous davdroid.apk of release 1.5.0.3?


  • developer

    Where did you get DAVdroid from? Play Store?



  • Yes, I bought the app DAVdroid at Google Play Store about two weeks ago.



  • Many thanks for your fast help. The problem was the firewall of the synology diskstation.
    The last update of the CardDAV server package, a few days ago, has disabled both ports in the firewall configuration!

    Synology -> Security -> Firewall

    My calendar and contacts are now correctly synchronized with DAVdroid again.