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).
DAVx5 with Synology
I have a SYNOLOGY DS218 play.
DAVx5 worked very well when I was under LineageOS 15.1, i.e. Android 8.1.
Since my time on LineageOS 16, Android 9, I have been having problems.
I have 2 accounts to synchronize. When I set up my A account, I only have access to CardDav and no more CalDav. I can no longer also synchronize my B account.
Strangely, when I reset DAVx5, I can configure my account B but no longer my account A. And I still don’t have access to my calendar. However, I followed the instructions here https://www.davx5.com/tested-with/synology/.
I get a message when I try to configure my 2nd account “No access possible CaldDAV or CardDAV.”
Here is the detailed message davx5-info.txt
If you have any ideas, I’m a buyer
I see you used https://192.168.0.46:8443/addressbooks/users/violainegeorges/addressbook as URL
Maybe try without the appended “addressbook”. This should only be used for pretty old servers. But I think your DMS should have gotten updates.
Also there is an “unauthorized exception”. So the connection is working but you’re not allowed to access it with the given credentials.
Maybe this information helps…
Thank you for your answer.
In the meantime, I have reset my SYNOLOGY and it works
What I don’t understand is that the CalDAV and CardDAV packages were up to date and synchronized with another phone with the format http(s)://example.com:port/addressbooks/users/YOUR_USERNAME/addressbook.
In short, the important thing is that it works.
Have a good day.