IPv6 literals should work with DAVx⁵ 2.4. Can you confirm that?
Crash when adding account after setting up SRV+TXT records
-
Creating accounts worked without issue before the SRV RRs for caldavs and carddavs I created for my own domain propagated. From the logs I can see that davdroid can resolve them but crashes immediately after. Well, it never gets to caldavs as it crashes after detecting carddavs.
I can recreate the crash very easily by doing the following:
Enter settings -> Add account -> DAVdroid -> URL and username
Enter my domain saldek.de/ (https selected) and credentials (test : test).
Submit. Crash.
Doesn’t matter whether pre-auth is enabled or not. If you wish, you can try yourself. I’ll keep the test account accessible for some time.Full logcat attached from “create account” to davdroid crashing.
https://gist.github.com/Emerentius/ede512c6fab63082957fModel: Samsung Galaxy S3 international (GT-I9300)
Android 4.4.4, CyanogenMod 11 M11 (11-2014008-SNAPSHOT-M11-i9300)
DAVdroid, version 0.6.7.1 (F-Droid), up to date as of postingMay be related to https://github.com/bitfireAT/davdroid/issues/380. I can see a fatal exception happening every time after resolving caldavs / carddavs srv records in that issue’s logs. Not certain though, so I’m creating this issue.
-
The issue is related to the TXT record and only occurs when a TXT record is present.
- The issue should be fixed with the next commit.
- The TXT record of
saldek.de
seems to be wrong:
$ host -t TXT _carddavs._tcp.saldek.de _carddavs._tcp.saldek.de descriptive text "/owncloud/remote.php/carddav/"
It should be
path=/owncloud/remote.php/carddav/
. However, that’s not related to the DAVdroid bug.Until the next DAVdroid version is available, you may remove the TXT records and go with well-known paths (301 .well-known redirection).