CalDAV/CardDAV client disregards the server port
Hello,
I am testing a bit the CalDAV/CardDAV behaviour with a Baikal server in my network.
Baikal runs in an Apache VHost on port 81 (http://server.ip.addr:81)
On port 80 there's another vhost, with other things running
Despite CALDav server running on http://server.ip.addr:81, server side logs show me that it is poking in the vhost bound at port 80. That is, disregards the port in the address. Obviously, it fails to retrieve anything usefull.
The CALDav server is reacheable on port 81 and behaves ok (Calendar in Thunderbird on a linux machine synced just fine)
I restarted msyncd with debug enabled ( as suggested by @chris.adams in various places here) - but can't spot anything about the actual address in the logs on jolla.
I could not find any similar report here - anyone else have this problem?
Jolla C running SF 2.0.5.6
May you check with sqlite3 that your CalDAV account parameters are properly stored ? The account DB is in
.config/libaccounts-glib/accounts.db
.sqlite3 .config/libaccounts-glib/accounts.db
.select * from Accounts;
), first column is id.select * from Settings where account = 39;
(assuming your account id is 39.Check that the server_address field is correct (one example is 'http://192.168.1.34:5232' for instance). If it's correct, well the bug is somewhere else…
Damien Caliste ( 2017-03-13 14:32:27 +0300 )editThe CardDAV acconut user is 'test1'. There is only one CardDAV account, id = 83. The CardDAV server (baikal) runs in a vhost at srv.home.dmn (local lan), port 81.
So the server is ok, port 81 included.
Now, when attempting to sync, it seems it connects at port 80, which serves different vhost - disregarding thus the account setup. Removing and recreating the account, reboot, etc - won't change anything.
rtr2001 ( 2017-10-14 00:50:36 +0300 )editfor information, I have added another account (predictably, test2) - no change.
rtr2001 ( 2017-10-15 01:09:07 +0300 )editmoved baikal on port 80, it works - sort of: not all contacts are saved, only most recent. I'd like to upload all
rtr2001 ( 2017-10-15 01:46:40 +0300 )edit