DAVdroid and ip format urls

0

Hello everybody!

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 "/juha.m@anyg.fi/neo/://10.0.2.2/juha.m@anyg.fi/neo/" when it should be "/juha.m@anyg.fi/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?

regards
Juha

0

Hello,

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.

Temporal relations are not necessarily causal relations.

0

Here is zip package containing debug info & log files.

https://drive.google.com/file/d/0B6J0kYZp9lsjcTY1cnhicHM2akk/view?usp=sharing

0

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://neocaldav.anygraaf.fi/juha.martikainen@anygraaf.fi/neo/. This case did not write debug info files. This server has authentication.
Log is here:
https://drive.google.com/open?id=0BzffordQWkUDRVZEbzdFdHdyMVU

0

Hello!
Could someone look my case?

0

@juham Hello,

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 /juha.m@anyg.fi/neo/://10.0.2.2/juha.m@anyg.fi/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/

Temporal relations are not necessarily causal relations.

Log in to reply

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.