So my Sdcard failed and barfed my backups so I reset the rom (Superman 2.5) and decided to start all over again. I’ve hit the same issues I had with Davdroid and nextcloud I have before only this time rebooting no longer seems to help.
So I am determined to nail what is actually going on here.
So here are the logs first from the server
And here are the logcat logs
Now, ostensibly it fails on a HTTP 401 Error, which is an authentication error?
Trouble is other davclients can connect fine using the same credentials.
So you can see in the server logs that at the same time I am trying to get Davdroid to connect I am able to, with the same credentials, login using cadaver , a Linux command line dav client. As well as other desktop dav clients both for me (androiduser) and other users.
So what is going on?
Incidentally also seems this affects all nextcloud apps including their own client. Only it does not give 401 it just times out saying server takes too long to respond.
So this must be an issue with my phone so how do I go about debugging this and nailing this problem once and for all.
What is weird is same rom, same phone before I rebooted and it was all fixed. Weird, very weird.
Nextcloud v 12.0
Rom: Superman 2.5.0
Phone Samsung S7 SM-G930FD
Kernel Version: 3.18.50
Davdroid 1.6.2 (ose & gplay version)
EDIT: I also managed to nab the in app log once too. Usually it is just sitting there and never times out but this one time it came back saying no dav services could be found.