Dav5x doesn't connect to synology calendar anymore :(



  • My android phone doesn’t reach my synology NAS anymore.
    Seems to come from synology calendar beacause if I try to reach the calDAV account of the calendar (given by the calendar menu) in my web browser, it asks me the name of contact and the password indicating “synology calendar” but returns again the window asking me the account and password without reaching the calendar.
    Some of you would have a solution? Do I need to add something to the given CalDAV link which is in the form: https://<name>.fr2.quickconnect.to/caldav/<account_name>/
    I tried with …fr…, with the same address added with /home
    Thanks for your incoming help


  • developer

    Hello,

    @Gepp35 said in Dav5x doesn't connect to synology calendar anymore 😞:

    Seems to come from synology calendar beacause if I try to reach the calDAV account of the calendar (given by the calendar menu) in my web browser, it asks me the name of contact and the password indicating “synology calendar” but returns again the window asking me the account and password without reaching the calendar.

    In this case, the username/password seems to be incorrect. Maybe the account is locked because of too many tries? Can you change the password in the Synology admin interface and try again with the new password?



  • still doesn’t work. Login and password are correct. When entering the caldav address given by calendar on my firefox desktop PC, return “GET requests on collections are only supported for calendars.”
    I checked the permission on android.

    SYSTEM INFORMATION
    Android version: 9 (ONEPLUS A3003_28_190731)
    Device: OnePlus ONEPLUS A3003 (OnePlus3T)

    Davx5-info.txt
    — BEGIN DEBUG INFO —

    LOGS:
    2019-09-20 19:01:11 3118 [ui.setup.DavResourceFinder] Finding initial carddav service configuration
    2019-09-20 19:01:11 3118 [ui.setup.DavResourceFinder] Checking user-given URL: https://<quickid>.fr2.quickconnect.to/caldav/<account_name>
    2019-09-20 19:01:11 3118 [HttpClient] --> PROPFIND https://<quickid>.fr2.quickconnect.to/caldav/<account_name>
    2019-09-20 19:01:11 3118 [HttpClient] Content-Type: application/xml; charset=utf-8
    2019-09-20 19:01:11 3118 [HttpClient] Content-Length: 290
    2019-09-20 19:01:11 3118 [HttpClient] Depth: 0
    2019-09-20 19:01:11 3118 [HttpClient]
    2019-09-20 19:01:11 3118 [HttpClient] <?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><resourcetype /><displayname /><CARD:addressbook-description /><CARD:addressbook-home-set /><current-user-principal /></prop></propfind>
    2019-09-20 19:01:11 3118 [HttpClient] --> END PROPFIND (290-byte body)
    2019-09-20 19:01:11 3118 [HttpClient] <-- 404 https://<quickid>.fr2.quickconnect.to/caldav/<account_name> (284ms)
    2019-09-20 19:01:11 3118 [HttpClient] content-type: text/plain
    2019-09-20 19:01:11 3118 [HttpClient] date: Fri, 20 Sep 2019 17:01:11 GMT
    2019-09-20 19:01:11 3118 [HttpClient] content-length: 18
    2019-09-20 19:01:11 3118 [HttpClient]
    2019-09-20 19:01:11 3118 [HttpClient] 404 page not found
    2019-09-20 19:01:11 3118 [HttpClient] <-- END HTTP (18-byte body)
    2019-09-20 19:01:11 3118 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
    EXCEPTION at.bitfire.dav4jvm.exception.NotFoundException: HTTP 404
    at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:356)
    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.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.kt:180)
    at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:115)
    at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:73)
    at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$DetectConfigurationModel$detectConfiguration$2.invoke(DetectConfigurationFragment.kt:83)
    at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$DetectConfigurationModel$detectConfiguration$2.invoke(DetectConfigurationFragment.kt:62)
    at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)


  • developer

    https://<quickid>.fr2.quickconnect.to/caldav/<account_name>

    You didn’t enter a port. You will probably have to use the port of your CalDAV server, i.e. https://<quickid>.fr2.quickconnect.to:<port number>/caldav/<account_name>



  • @rfc2822 thanks for your return and your help. How can I know which port is used? where I can find this information in the synology menu? Can I configure the port if needed?


  • developer

    @Coincoin35 said in Dav5x doesn't connect to synology calendar anymore 😞:

    @rfc2822 thanks for your return and your help. How can I know which port is used? where I can find this information in the synology menu? Can I configure the port if needed?

    I don’t know; I’m not a Synology expert. Maybe someone else in the Synology forums can provide better help.

    On our Synology device, you can see the URL with protocol and port like shown in the video on https://www.davx5.com/tested-with/synology, at 1:42. What does it show on your Synology?



  • @rfc2822 I’m trying to get help on Synology community but it seems to be empty there :’(
    I will get back here to explain if I find a solution.
    best



  • @Coincoin35 The CalDAV port is the same as your HTTPS port. Unless you changed that via Control Panel, the Synology default is 5001



  • @Telos said in Dav5x doesn't connect to synology calendar anymore 😞:

    @Coincoin35 The CalDAV port is the same as your HTTPS port. Unless you changed that via Control Panel, the Synology default is 5001

    You can check and set the CalDAV settings at the WebDAV server settings of a Synology NAS. You may also want to check the settings of the reverse proxy in order to detect any mappings affecting CalDAV access.



  • So here was the solution for me coming from synology assistance (Malek was super nice to help me):
    1/ On the NAS, in control panel, “external access”, tab DDNS : create a synology address… it will be something like that: <name>.synology.me
    2/ On the NAS, Set a fixed ip address on the local network to the nas : to do that, go to control panel/network/tab:network interface and modify the LAN line “manual ip config” the line IP address with the number you want (for me 192.168.1.24)
    3/ on your box, open ports 5001 (connect to it through its local address and modify its NAT configuration. open a port for your nas in TCP port 5001
    so here, the nas is accessible fro the outside on its caldav
    4/ on the android DAV5X, open it, add a account, select URL and there add put the URL: https://<name>.synology.me:5001/caldav/<your_id>/aiioyb/
    and enter your <your_id> and your password (the one to connect to your nas, at the id session).


Log in to reply
 

Similar topics