Couldn't find CaldDAV or CardDAV service. But works on Thunderbird.



  • Cannot log in from my Android devices, I went through Nextcloud application that filled up the URL for me.
    Here is the log :
    https://paste.fedoraproject.org/paste/41qYunH5tAcBfJ~nzVZVQA

    With thunderbird I put the address of the calendar and of the contact book directly and I had no trouble to make it work, I got the feeling it would work if I could do the same with DAVx and write down the final addresses.
    Is there a way to change DAVx settings from a file ? Where are stored the settings on Android ? Can I change them directly ?
    Any other solution ?


  • developer

    2019-04-19 20:27:49 3 [ui.setup.DavResourceFinder] Couldn’t detect services on https://nextcloud.****.ovh/remote.php/dav/principals/users/arthur/
    EXCEPTION java.io.EOFException
    at okio.RealBufferedSource.require(RealBufferedSource.kt:55)
    at okio.GzipSource.consumeHeader(GzipSource.kt:104)
    at okio.GzipSource.read(GzipSource.kt:62)

    Looks like a connectivity problem. Firewall? Server logs? URL accessible in Android browser?



  • hi guys,
    I’ve similar problem.
    My webhosted Nextcloud v15.0.7 works perfectly.
    I’ve install contact v3.1.1 and calendar v1.6.4 apps. DAV connection works perfectly with Windows 10 (like an Apple .me services).

    But, DAVx⁵ doesn’t works.
    I always have this message “La detection du service a échoué : Impossible d’actualiser la liste de collection” (The detection of the service failed: Impossible to update the collection list).

    --- BEGIN DEBUG INFO ---
    Account name: christopher@domain.com
    
    HTTP REQUEST:
    Request{method=PROPFIND, url=https://nextcloud.domain.com/remote.php/dav/principals/groups/admin/, tags={}}
    <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><CARD:addressbook-home-set /><group-membership /></prop></propfind>
    
    HTTP RESPONSE:
    Response{protocol=http/1.1, code=503, message=Service Unavailable, url=https://nextcloud.domain.com/remote.php/dav/principals/groups/admin/}
    
    
    
    EXCEPTION:
    at.bitfire.dav4jvm.exception.ServiceUnavailableException: HTTP 503 Service Unavailable
    	at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:362)
    	at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:338)
    	at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:432)
    	at at.bitfire.dav4jvm.DavResource.propfind(DavResource.kt:325)
    	at at.bitfire.davdroid.DavService$refreshCollections$1$2.invoke(DavService.kt:230)
    	at at.bitfire.davdroid.DavService$refreshCollections$1$2.invoke(DavService.kt:266)
    	at at.bitfire.davdroid.DavService$refreshCollections$1$2.invoke$default(DavService.kt:193)
    	at at.bitfire.davdroid.DavService.refreshCollections(DavService.kt:306)
    	at at.bitfire.davdroid.DavService.access$refreshCollections(DavService.kt:44)
    	at at.bitfire.davdroid.DavService$onStartCommand$$inlined$let$lambda$1.invoke(DavService.kt:71)
    	at at.bitfire.davdroid.DavService$onStartCommand$$inlined$let$lambda$1.invoke(DavService.kt:44)
    	at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)
    
    SOFTWARE INFORMATION
    * at.bitfire.davdroid 2.4.0.1-ose (280) from com.google.android.packageinstaller
    * com.android.providers.contacts 9 (28)
    * com.android.providers.calendar 9 (28)
    * com.google.android.contacts 3.5.7.243634183 (2209035) from com.android.vending
    * com.google.android.calendar 6.0.30-242657554-release (2016172014) from com.android.vending
    * com.trtf.blue 1.9.5.35 (14763) from com.android.vending
    
    CONNECTIVITY (at the moment)
    Active connection: mobile, CONNECTED
    
    CONFIGURATION
    Power saving disabled: yes
    android.permission.READ_CONTACTS: granted
    android.permission.WRITE_CONTACTS: granted
    android.permission.READ_CALENDAR: granted
    android.permission.WRITE_CALENDAR: granted
    org.dmfs.permission.READ_TASKS: denied
    org.dmfs.permission.WRITE_TASKS: denied
    android.permission.ACCESS_COARSE_LOCATION: granted
    System-wide synchronization: automatically
    Account: christopher@domain.com
      Address book sync. interval: 240 min
      Calendar     sync. interval: 240 min
      OpenTasks    sync. interval: —
      WiFi only: false
      [CardDAV] Contact group method: CATEGORIES
      [CalDAV] Time range (past days): 90
               Manage calendar colors: true
               Use event colors: false
    
    SQLITE DUMP
    android_metadata
    	|  locale |
    	|  fr_FR |
    ----------
    services
    	|  _id | accountName | service | principal |
    	|  1 | christopher@domain.com | carddav | https://nextcloud.domain.com/remote.php/dav/principals/users/christopher/ |
    	|  2 | christopher@domain.com | caldav | https://nextcloud.domain.com/remote.php/dav/principals/users/christopher/ |
    ----------
    sqlite_sequence
    	|  name | seq |
    	|  services | 2 |
    ----------
    homesets
    	|  _id | serviceID | url |
    ----------
    collections
    	|  _id | serviceID | type | url | privWriteContent | privUnbind | forceReadOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | source | sync |
    ----------
    
    SYSTEM INFORMATION
    Android version: 9 (ONEPLUS A5000_23_190222)
    Device: OnePlus ONEPLUS A5000 (OnePlus5)
    
    --- END DEBUG INFO ---
    

    I don’t understand why i’ve a 503 error !
    Someone have an idea ?


  • developer

    @lafrite 503 is a server error. Please contact Nextcloud support.



  • @rfc2822 said in Couldn't find CaldDAV or CardDAV service. But works on Thunderbird.:

    https://nextcloud.****.ovh/remote.php/dav/principals/users/arthur/

    Firewall has being deactivated, on server logs I do have this entry :
    [Fri Apr 19 07:22:07 2019] [error] [client --.–.--.–] [host nextcloud.____.ovh] AH01630: client denied by server configuration: /homez.270/ljv/Nextcloud/config
    But I’m not sure wether this is related to my connexion attempt with DAVx, timestamp doesn’t seem to fit, and anyway other services are working fine, my nextcloud application works great, the only issues I have is with the browser client ( icons missing with https ) and DAVx.

    The URL https://nextcloud.****.ovh/remote.php/dav/principals/users/arthur/ is accessible in a browser, and here is the answer :
    “This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.”

    I’ve got some issues with Nextcloud on this server anyway going through https, and it seems some other people have had the same issues with OVH shared hosting. I don’t expect this problem to be solved anytime soon. But what tickles me is that things are working perfectly fine with Thunderbird with Cardbook plugin installed. With the address : https://nextcloud..ovh/remote.php/dav/addressbooks/users/arthur/contacts/ for the addressbook and https://nextcloud..ovh/remote.php/dav/calendars/arthur/personal/ for the calendar.
    So I was thinking that if I could access DAVx settings and setup directly those addresses that should work, isn’t it ?



  • I just installed aCalDAV from F-droid.
    With this calendar synchronization works perfectly.
    Like Mozilla Thunderbird and unlike DAVx5 it requires the address of the actual calendar https://nextcloud._____.ovh/remote.php/dav/calendars/arthur/personal/.
    In this case the synchronization is made without trouble.

    I believe DAVx5 lacks a solution where one could just setup the addresses of the calendar and address book directly.

    I mean, it is great to have an automatic and easy setup process, but have something like “advanced options” or something would in my case be a saver.
    I will try to find an alternative to DAVx5 to synchronize addressbooks in the meanwhile.

    Thanks anyway, I’ll keep watching the updates, because DAVx5 is a great software. I’ll come back to it.



  • Thanks for the follow-up, keep us updated. Good luck!



  • Confirm the regression too.
    got I9300 with replicant 6.0 0003

    Long time ago, add account to davdroid installed from f-droid. Following upgrade from f-droid repository and work well with latest version of Davx5.

    But have to reinstall os, reinstall Davx5, and cant register new account with the same stack of error when trying this url: https://domain.tld/baikal/html/dav.php
    And when trying https://domain.tld/baikal/html/dav.php/calendars/user/work/, Davx5 print crash popup.

    Install an old davdroid apk and work well. Work well with Thunderbird too for calendar and Inverse SOGo Connector for address book. Not a server side problem.

    Thanks a lot for this software ! Happy to use it daily.


Log in to reply
 

Similar topics