If you have a problem with DAVx⁵, please:
Try the latest DAVx⁵ version. Use the latest version of your server software, if applicable.
Read the Configuration, FAQ and manual pages carefully. The most common issues are explained there.
Try the forum search – most questions have already been answered.
Have a look at the debug info/error details/logs. You can often get an idea what’s the problem yourself.
Search the the Web for the problem, maybe ask friends who are willing to help.
Make sure that it’s not a server or networking problem. Search the FAQ/forums/bug tracker of your server software, too. Many supposed DAVx⁵ bugs are server or networking problems.
See also: FAQ: How to debug DAVx⁵-related problems
When posting, please provide as much information as you can:
Go to DAVx⁵ / Settings (left navigation drawer in the main screen) / Debug info. Send these information to yourself (using the “Share” action, for instance by email). Paste the info to fpaste.org or a similar service and provide a link. It contains the most important information about your device and configuration.
Describe exactly what you were doing (steps to reproduce), what you tried to achieve and what your problem is. Imagine someone else who wants to reproduce the problem to find a solution and provide all necessary information.
Give information about your environment: what is your server software (including version), what are your calendar URLs, do other clients work, etc.
If possible, try to explain what you already have tried to solve your problem.
If you get “No CalDAV/CardDAV service found” when you try to add an account:
Tap “View logs”. Send those logs to yourself (using the “Share” action, for instance by email).
Paste the logs to fpaste.org or a similar service and provide a link (feel free to let it expire in a month).
If you get an error notification while synchronizing:
Tap the notification. A debug info activity will appear.
Send the debug info to yourself (using the “Share” action, for instance by email).
Paste the debug info (≠ logs) to fpaste.org or a similar service and provide a link (feel free to let it expire in a month). Short debug output can be inserted in the text, but please quote with ``` (at the beginning and the end).
If additional logs are required to diagnose the problem, continue below.
Your problem doesn’t cause a notification or you need verbose logs?
DAVx⁵ / Settings (left navigation drawer in the main screen) / Enable “Verbose logging”. A permanent notification tells you that logging is now active.
Do whatever causes your problem (e.g. “Refresh calendars”, or initiate a sync).
Use the notification to share the log. You may have to expand the notification to see the “Share” action.
Send the logs to yourself (for instance by by email, or with Share with HTTP).
Remove private data from the logs, if applicable.
Paste the logs to fpaste.org or a similar service and provide a link (feel free to let it expire in a month). Short parts of the logs can be inserted in the text, but please quote with ``` (at the beginning and the end).
If your problem has been solved, it would be kind to let other people (who were willing to help you) know the actual solution.
notify on invalid tasks/vCard objects (events will follow)
add app setting for notification channels: Notification settings (only Android 8+)
use default time-zone to store floating DATE-TIMEs
exceptions of recurring events: use main event’s DTSTART time zone for RECURRENCE-ID
minor improvements and bug fixes
When you tap a notification about invalid iCalendar/vCard objects, you can see more information, including the URL of the invalid object. You can hide all “Sync warnings” in the app notification settings (Android 8+ only, because this depends on notification channels), but we recommend to care about these messages, because it means that some events/tasks could not be synchronized.
Thanks, it’s also the issue I was having. Instead of giving internet access to uid 1000, I just did “settings put global captive_portal_mode 0” (recent android)
Agreed it would be useful to add this in the FAQ
@devvv4ever Thanks a lot for the suggestion mate, I have gone ahead and instructed my customer to follow those steps after I was informed today that the issue persists. We were able to clear data and cache from the Calendar Storage App. I will report my findings in the next days. In case the issue persists, I will send you guys the logs again. (I did send a first set of logs via email already which were captured, nonetheless I will obtain fresh logs if issue persist)
Highly appreciate the troubleshooting efforts, regards.
I can’t reproduce the problem. I’m using DAVx⁵ + Nextcloud 15 every day and I dont have these problems, nor are there other reports about such problems at the moment.
Please provide exact steps to reproduce so that I can have a look. Without being able to reproduce a problem, I can’t say anything about it. Also, please provide Web server and CalDAV/CardDAV server logs taken while the problem occurs, DAVx⁵ debug info (DAVx⁵ / Settings / Debug info) and verbose DAVx⁵ logs etc as described in [READ BEFORE POSTING] What’s required to diagnose a problem.
I’m running the CardDAV server locally, with no internet access, on a Synology NAS. The phone and account have no trouble connecting, no error syncing. It all worked seamlessly on Android 7, but just stopped working on Android 8. I have deleted the app and reinstalled (apk from f-droid) multiple times. I also have reset the contacts app many times as well. Attaching the debug file, since the verbose logging doesn’t work for me (used to work also). The phone is a CAT S41. For now, the only app to work was “ContactSync”, but as the full version is paid, it is not a long term solution.
As resetting the Synology wasn’t a possible solution, re-install the app worked for me.
Works also by using application settings and reverse proxy:
Contacts - reverse proxy:
Calendar - application settings:
@poiNt3D said in Failed sync = empty contacts:
I use DavX as my main address book . But i’m having serious problems: it’s getting emptyed every time when a sync fails.
This should not happen. There must be some severe problem.
Sometimes DNS not resolves the first try, bad cell tower coverage, server is down - failed sync, and empty contact list.
Wouldn’t it be good to have some sort of buffer, and when it does the sync, perform a checksum check to ensure contacs were downloaded before deleting existing ones?
DAVx⁵ will only delete local contacts after receiving a full list of remote contacts, and when contacts have been deleted there.
DAVx⁵ won’t delete contacts on failed syncs.
Please provide steps to reproduce, Web server and CalDAV/CardDAV server logs taken while the problem occurs, DAVdroid debug info (DAVdroid / Settings / Debug info) and verbose DAVdroid logs etc as described in [READ BEFORE POSTING] What’s required to diagnose a problem.
Everything is working perfectly now. The address you get to give DAVX is this : “https://www/folder whereowncloud is located/remote.php/dav/calendars/userid/calendar name/”
Now, you get to synchronize the name of the account in order to make the related calendar app display the calendar.
Thank you for your answer.
I don’t know, but I disabled the address book in DAVx5, made a sync, then re-enabled the address book and finally a sync, now i can add contacts…
I have no explanation, to be continued …
Hello, I bring this up cause I think it would be a nice feature to have full SOCKS and TOR support for each user since OkHttp supports it. Although I have to admit that adding such a feature may won’t affect much non advanced users.
@rfc2822 I don’t think it there is a mechanism to set these variables globally and force an application to use it except for using a VPN which is a totally different thing.
For the time I fixed it just by adding this line
.proxy(Proxy(Proxy.Type.SOCKS, InetSocketAddress("127.0.0.1", 9050)))
to the OkHttpClient.Builder but this solution affects all the users and it only works if you provide the base URL (TOR doesn’t support UDP yet).