Your server sends an invalid redirect:
Considering that my setup was normally working, upgrading to 9.0.2 resolved the issue which was due to upgrade to PHP-7.0.6 - see this link.
Thank you for your response. 😉
I am developing my own caldav server and trying to get it work with DAVdroid. I am running my own caldav server on my Windows machine as localhost. I have Bluestacks Android emulator running on same machine where I have DAVdroid app connecting my server. To reach localhost from emulator I need to configure DAVdroid server “Base url” in ip format and it is 10.0.2.2
My problem is that DAVdroid seems not to handle ip format urls. When I look from my server’s log(HTTP header Request Line) I see that DAVDroid is trying to use url in format “/firstname.lastname@example.org/neo/://email@example.com/neo/” when it should be “/firstname.lastname@example.org/neo/”. Same thing happens when I configure port number in url “10.0.2.2:80”. Can someone tell my if I am making something wrong?
Please provide steps to reproduce (including DAVdroid debug info and verbose DAVdroid logs etc as described in [READ BEFORE POSTING] What’s required to diagnose a problem. These logs contain what DAVdroid receives from the server and how it generates its requests.
Here is zip package containing debug info & log files.
Here I have another DAVdroid log of case where DAVdroid could not make connection to my own server. In this case I used reqular Android tablet and server url is https://email@example.com/neo/. This case did not write debug info files. This server has authentication.
Log is here:
Could someone look my case?
Are you sure that this is a client problem? I guess there was a problem at resource detection, maybe an invalid server response. This is why DAVdroid uses
/firstname.lastname@example.org/neo/://email@example.com/neo/. The logs you have sent do not explain how this resource has been detected.
If you have found a specific problem in DAVdroid, please let us know the exact problem, if possible with exact steps to reproduce and verbose logs of this specific problem.
Maybe it also helps to have a look at the DAVdroid source code: https://www.davdroid.com/source/