<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><div>Am 14.01.2014 um 15:32 schrieb Patrick Ohly:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Tue, 2014-01-14 at 14:25 +0100, Helge Kraak wrote:<br><blockquote type="cite">When I apply as third command (no addressbook at the end of the<br></blockquote><blockquote type="cite">command)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">syncevolution --configure SSLVerifyServer=False<br></blockquote><blockquote type="cite">--template SyncEvolution_Client --sync-property<br></blockquote><blockquote type="cite">remoteDeviceId=ST23K3J5I4JX username=admin<br></blockquote><blockquote type="cite">password=admin --source-property addressbook/uri=addressbook<br></blockquote><blockquote type="cite"> sync=two-way Palm-TH55@webdav <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">the command <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">syncevolution --print-config -q @webdav addressbook<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">RETURNS:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">"[addressbook]<br></blockquote><blockquote type="cite">backend = CardDAV<br></blockquote><blockquote type="cite">database =<br></blockquote><blockquote type="cite"><a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/</a><br></blockquote><blockquote type="cite"># databaseFormat = <br></blockquote><blockquote type="cite">databaseUser = admin<br></blockquote><blockquote type="cite">databasePassword = admin"<br></blockquote><br>When you show the config of addressbook for the Palm-TH55 peer, is the<br>"sync" property set? In other words, what do you get from:<br>syncevolution --print-config -q Palm-TH55@webdav addressbook<br></div></blockquote><div><br></div><div><div><i>[addressbook]</i></div><div><i>sync = disabled</i></div><div><i>uri = addressbook</i></div><div><i>backend = CardDAV</i></div><div><i># syncFormat = </i></div><div><i># forceSyncFormat = 0</i></div><div><i>database = <a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/</a></i></div><div><i># databaseFormat = </i></div><div><i>databaseUser = admin</i></div><div><i>databasePassword = admin</i></div></div><div><br></div><div>I then edited /.config/syncevolution/webdav/peers/palm-th55/sources/addressbook/config.ini so that this command now gives</div><div><div><br></div><div><i>[addressbook]sync = two-way</i></div><div><i>uri = addressbook</i></div><div><i>backend = CardDAV</i></div><div><i># syncFormat = </i></div><div><i># forceSyncFormat = 0</i></div><div><i>database = <a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/</a></i></div><div><i># databaseFormat = </i></div><div><i>databaseUser = admin</i></div><div><i>databasePassword = admin</i></div><div><br></div><div>When I now initiate a sync I get:</div><div><br></div><div><div><i>[INFO] syncevo-dbus-server: /org/syncevolution/Server: matched deviceID PN70M9J5V7JX against config palm-th55@webdav (/root/.config/syncevolution/webdav/peers/palm-th55)</i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: calendar: inactive</i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: memo: inactive</i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: todo: inactive</i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: addressbook: starting first time sync, two-way (peer is client)</i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: creating complete data backup of source addressbook before sync (enabled with dumpData and needed for printChanges)</i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: Local data changes to be applied during synchronization:</i></div><div><i><br></i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: *** addressbook ***</i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: Comparison was impossible.</i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: </i></div><div><i><br></i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: addressbook: started</i></div><div><i>[INFO] sync: /org/syncevolution/Session/15596840391389733215: adding "Jasmin Heinrich"</i></div><div><i>[ERROR] sync: /org/syncevolution/Session/15596840391389733215: error code from SyncEvolution operation not allowed (remote, status 405): PUT: bad HTTP status: <status 1.1, code 405, class 4, Method Not Allowed></i></div></div></div><br><blockquote type="cite"><div><br><blockquote type="cite">When I try your combined command (I have to<br></blockquote><blockquote type="cite">include SSLVerifyServer=False again to make it work)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">syncevolution --configure SSLVerifyServer=False \<br></blockquote><blockquote type="cite"> --template SyncEvolution_Client \<br></blockquote><blockquote type="cite"> remoteDeviceId=PN70M9J5V7JX username=admin password=admin \<br></blockquote><blockquote type="cite"> sync=two-way \<br></blockquote><blockquote type="cite"> databaseUser=admin \<br></blockquote><blockquote type="cite"> databasePassword=admin \<br></blockquote><blockquote type="cite"> backend=carddav \<br></blockquote><blockquote type="cite"> database=<a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/</a> \<br></blockquote><blockquote type="cite"> Palm-TH55@webdav addressbook<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">IT RETURNS<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">"[INFO] addressbook: looking for databases...<br></blockquote><blockquote type="cite">[INFO] addressbook: no database to synchronize<br></blockquote><blockquote type="cite">[ERROR] addressbook: no database to synchronize"<br></blockquote><br>I can't reproduce the problem here, using SyncEvolution 1.3.99.6 plus<br>(probably irrelevant) patches.<br><br>Which version of SyncEvolution are you using?<br></div></blockquote><div><br></div><div>Same version like you without patches.</div><br><blockquote type="cite"><div><br>I can reproduce that the last step, adding a peer, will try to verify<br>databases again. But that works for me:<br><br>$ ./syncevolution --configure --daemon=no databaseUser=test databasePassword=testing calendar/database=<a href="http://localhost:8009/caldav.php/test/Test_davical_caldav_1/">http://localhost:8009/caldav.php/test/Test_davical_caldav_1/</a> todo/database=<a href="http://localhost:8009/caldav.php/test/Test_davical_caldav_1/">http://localhost:8009/caldav.php/test/Test_davical_caldav_1/</a> addressbook/database=<a href="http://localhost:8009/caldav.php/test/Test_davical_carddav_1/">http://localhost:8009/caldav.php/test/Test_davical_carddav_1/</a> calendar/backend=caldav todo/backend=caldavtodo addressbook/backend=carddav @webdav addressbook calendar todo<br>[INFO] addressbook: looking for databases...<br>[INFO] addressbook: okay<br>[INFO] calendar: looking for databases...<br>[INFO] calendar: okay<br>[INFO] todo: looking for databases...<br>[INFO] todo: okay<br>$ ./syncevolution --daemon=no --configure --template SyncEvolution_Client sync=two-way remoteDeviceId=PN70M9J5V7JX username=admin password=admin foo@webdav addressbook<br>[INFO] addressbook: looking for databases...<br>[INFO] addressbook: okay<br><br>So perhaps SSLVerifyServer simply doesn't get picked up in your case<br>where it is needed.<br><br>Can you try this:<br><br>SYNCEVOLUTION_DEBUG=1 syncevolution --configure SSLVerifyServer=False \<br> --template SyncEvolution_Client \<br> remoteDeviceId=PN70M9J5V7JX username=admin password=admin \<br> loglevel=4 \<br> sync=two-way \<br> databaseUser=admin \<br> databasePassword=admin \<br> backend=carddav \<br> database=<a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/</a> \<br> Palm-TH55@webdav addressbook<br><br>It should show more information about the "[INFO] addressbook: no<br>database to synchronize" problem.<br><br>-- <br>Best Regards, Patrick Ohly<br><br>The content of this message is my personal opinion only and although<br>I am an employee of Intel, the statements I make here in no way<br>represent Intel's position on the issue, nor am I authorized to speak<br>on behalf of Intel on this matter.<br><br><br></div></blockquote></div><div><br></div><div>The output of your suggested command above is (beneath I inserted the debugging output which I get for the split command version of yours with which I had come up before):</div><div><br></div><div><div>root@srv:~/.config# SYNCEVOLUTION_DEBUG=1 syncevolution --configure SSLVerifyServer=False --template SyncEvolution_Client remoteDeviceId=PN70M9J5V7JX username=admin password=admin loglevel=4 sync=two-way databaseUser=admin databasePassword=admin backend=carddav database=<a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/</a> Palm-TH55@webdav addressbook[INFO 00:00:00] addressbook: looking for databases...</div><div>[DEBUG 00:00:00] checking password property 'databasePassword' in source 'addressbook' of config 'palm-th55@webdav' with user identity 'admin'</div><div>[DEBUG 00:00:00] using username 'admin' from source config for WebDAV, password was set</div><div>[DEBUG 00:00:00] using plain username/password for admin</div><div>[DEBUG 00:00:00] addressbook: timout 300s, retry 5s => resending allowed</div><div>HTTP session to <a href="https://localhost:443">https://localhost:443</a> begins.</div><div>[DEBUG 00:00:00] client cert is missing</div><div>[DEBUG 00:00:00] testing /sabredav/addressbookserver.php/addressbooks/admin/</div><div>[DEBUG 00:00:00] debugging: read all WebDAV properties of /sabredav/addressbookserver.php/addressbooks/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials unverified, no deadline</div><div>ah_create, for WWW-Authenticate</div><div>Running pre_send hooks</div><div>Sending request headers:</div><div>PROPFIND /sabredav/addressbookserver.php/addressbooks/admin/ HTTP/1.1</div><div>Keep-Alive: </div><div>Connection: TE, Keep-Alive</div><div>TE: trailers</div><div>Host: localhost</div><div>Depth: 0</div><div>Content-Length: 84</div><div>Content-Type: application/xml</div><div><br></div><div>Sending request-line and headers:</div><div>Doing DNS lookup on localhost...</div><div>req: Connecting to ::1:443</div><div>[DEBUG 00:00:00] <a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/:">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/:</a> SSL verification problem: hostname mismatch, untrusted certificate</div><div>[DEBUG 00:00:00] ignoring bad certificate</div><div>Sending request body:</div><div>Body block (84 bytes):</div><div>[<?xml version="1.0" encoding="utf-8"?></div><div><propfind xmlns="DAV:"><allprop/></propfind></div><div>]</div><div>Request sent; retry is 0.</div><div>[status-line] < HTTP/1.1 401 Unauthorized</div><div>[hdr] Date: Tue, 14 Jan 2014 21:12:49 GMT</div><div>Header Name: [date], Value: [Tue, 14 Jan 2014 21:12:49 GMT]</div><div>[hdr] Server: Apache</div><div>Header Name: [server], Value: [Apache]</div><div>[hdr] WWW-Authenticate: Digest realm="SabreDAV",qop="auth",nonce="52d5a852013e4",opaque="df58bdff8cf60599c939187d0b5c54de"</div><div>Header Name: [www-authenticate], Value: [Digest realm="SabreDAV",qop="auth",nonce="52d5a852013e4",opaque="df58bdff8cf60599c939187d0b5c54de"]</div><div>[hdr] Content-Length: 292</div><div>Header Name: [content-length], Value: [292]</div><div>[hdr] Keep-Alive: timeout=5, max=100</div><div>Header Name: [keep-alive], Value: [timeout=5, max=100]</div><div>[hdr] Connection: Keep-Alive</div><div>Header Name: [connection], Value: [Keep-Alive]</div><div>[hdr] Content-Type: application/xml; charset=utf-8</div><div>Header Name: [content-type], Value: [application/xml; charset=utf-8]</div><div>[hdr] </div><div>End of headers.</div><div>Running post_headers hooks</div><div>Reading 292 bytes of response body.</div><div>Got 292 bytes.</div><div>Read block (292 bytes):</div><div>[<?xml version="1.0" encoding="utf-8"?></div><div><d:error xmlns:d="DAV:" xmlns:s="<a href="http://sabredav.org/ns">http://sabredav.org/ns</a>"></div><div> <s:exception>Sabre\DAV\Exception\NotAuthenticated</s:exception></div><div> <s:message>No digest authentication headers were found</s:message></div><div> <s:sabredav-version>1.8.6</s:sabredav-version></div><div></d:error></div><div>]</div><div>Running post_send hooks</div><div>ah_post_send (#0), code is 401 (want 401), WWW-Authenticate is Digest realm="SabreDAV",qop="auth",nonce="52d5a852013e4",opaque="df58bdff8cf60599c939187d0b5c54de"</div><div>auth: Got challenge (code 401).</div><div>auth: Got 'Digest' challenge.</div><div>auth: Trying Digest challenge...</div><div>[DEBUG 00:00:00] retry request with credentials</div><div>auth: Got qop, using 2617-style.</div><div>auth: H(A1) is [87fd274b7b6c01e48d7c2f965da8ddf7]</div><div>auth: Accepting digest challenge.</div><div>auth: Accepted Digest challenge.</div><div>Running pre_send hooks</div><div>auth: Sending 'Digest' response.</div><div>auth: H(A2): a21fa4f74b0a105f86364fa6154d8206</div><div>Sending request headers:</div><div>PROPFIND /sabredav/addressbookserver.php/addressbooks/admin/ HTTP/1.1</div><div>Keep-Alive: </div><div>Connection: TE, Keep-Alive</div><div>TE: trailers</div><div>Host: localhost</div><div>Depth: 0</div><div>Content-Length: 84</div><div>Content-Type: application/xml</div><div>Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</div><div><br></div><div>Sending request-line and headers:</div><div>Sending request body:</div><div>Body block (84 bytes):</div><div>[<?xml version="1.0" encoding="utf-8"?></div><div><propfind xmlns="DAV:"><allprop/></propfind></div><div>]</div><div>Request sent; retry is 1.</div><div>[status-line] < HTTP/1.1 207 Multi-Status</div><div>[hdr] Date: Tue, 14 Jan 2014 21:12:50 GMT</div><div>Header Name: [date], Value: [Tue, 14 Jan 2014 21:12:50 GMT]</div><div>[hdr] Server: Apache</div><div>Header Name: [server], Value: [Apache]</div><div>[hdr] Vary: Brief,Prefer</div><div>Header Name: [vary], Value: [Brief,Prefer]</div><div>[hdr] DAV: 1, 3, extended-mkcol, addressbook, access-control, calendarserver-principal-property-search</div><div>Header Name: [dav], Value: [1, 3, extended-mkcol, addressbook, access-control, calendarserver-principal-property-search]</div><div>[hdr] Content-Length: 382</div><div>Header Name: [content-length], Value: [382]</div><div>[hdr] Keep-Alive: timeout=5, max=99</div><div>Header Name: [keep-alive], Value: [timeout=5, max=99]</div><div>[hdr] Connection: Keep-Alive</div><div>Header Name: [connection], Value: [Keep-Alive]</div><div>[hdr] Content-Type: application/xml; charset=utf-8</div><div>Header Name: [content-type], Value: [application/xml; charset=utf-8]</div><div>[hdr] </div><div>End of headers.</div><div>Running post_headers hooks</div><div>Reading 382 bytes of response body.</div><div>Got 382 bytes.</div><div>Read block (382 bytes):</div><div>[<?xml version="1.0" encoding="utf-8"?></div><div><d:multistatus xmlns:d="DAV:" xmlns:s="<a href="http://sabredav.org/ns">http://sabredav.org/ns</a>" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/sabredav/addressbookserver.php/addressbooks/admin/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus></div><div>]</div><div>Running post_send hooks</div><div>ah_post_send (#1), code is 207 (want 401), WWW-Authenticate is (none)</div><div>Request ends, status 207 class 2xx, error line:</div><div>207 Multi-Status</div><div>[DEBUG 00:00:00] credentials accepted</div><div>Running destroy hooks.</div><div>Request ends.</div><div>[DEBUG 00:00:00] read relevant properties of /sabredav/addressbookserver.php/addressbooks/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials okay, deadline in 299.9s</div><div>ah_create, for WWW-Authenticate</div><div>Running pre_send hooks</div><div>auth: Sending 'Digest' response.</div><div>auth: H(A2): a21fa4f74b0a105f86364fa6154d8206</div><div>[DEBUG 00:00:00] forced sending credentials</div><div>Sending request headers:</div><div>PROPFIND /sabredav/addressbookserver.php/addressbooks/admin/ HTTP/1.1</div><div>Connection: TE</div><div>TE: trailers</div><div>Host: localhost</div><div>Depth: 0</div><div>Content-Length: 628</div><div>Content-Type: application/xml</div><div>Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</div><div><br></div><div>Sending request-line and headers:</div><div>Sending request body:</div><div>Body block (628 bytes):</div><div>[<?xml version="1.0" encoding="utf-8"?></div><div><propfind xmlns="DAV:"><prop></div><div><alternate-URI-set xmlns="DAV:"/></div><div><principal-URL xmlns="DAV:"/></div><div><current-user-principal xmlns="DAV:"/></div><div><group-member-set xmlns="DAV:"/></div><div><group-membership xmlns="DAV:"/></div><div><displayname xmlns="DAV:"/></div><div><resourcetype xmlns="DAV:"/></div><div><addressbook-home-set xmlns="urn:ietf:params:xml:ns:carddav"/></div><div><principal-address xmlns="urn:ietf:params:xml:ns:carddav"/></div><div><addressbook-description xmlns="urn:ietf:params:xml:ns:carddav"/></div><div><supported-address-data xmlns="urn:ietf:params:xml:ns:carddav"/></div><div><max-resource-size xmlns="urn:ietf:params:xml:ns:carddav"/></div><div></prop></propfind></div><div>]</div><div>Request sent; retry is 1.</div><div>[status-line] < HTTP/1.1 207 Multi-Status</div><div>[hdr] Date: Tue, 14 Jan 2014 21:12:50 GMT</div><div>Header Name: [date], Value: [Tue, 14 Jan 2014 21:12:50 GMT]</div><div>[hdr] Server: Apache</div><div>Header Name: [server], Value: [Apache]</div><div>[hdr] Vary: Brief,Prefer</div><div>Header Name: [vary], Value: [Brief,Prefer]</div><div>[hdr] DAV: 1, 3, extended-mkcol, addressbook, access-control, calendarserver-principal-property-search</div><div>Header Name: [dav], Value: [1, 3, extended-mkcol, addressbook, access-control, calendarserver-principal-property-search]</div><div>[hdr] Content-Length: 823</div><div>Header Name: [content-length], Value: [823]</div><div>[hdr] Content-Type: application/xml; charset=utf-8</div><div>Header Name: [content-type], Value: [application/xml; charset=utf-8]</div><div>[hdr] </div><div>End of headers.</div><div>Running post_headers hooks</div><div>Reading 823 bytes of response body.</div><div>Got 823 bytes.</div><div>Read block (823 bytes):</div><div>[<?xml version="1.0" encoding="utf-8"?></div><div><d:multistatus xmlns:d="DAV:" xmlns:s="<a href="http://sabredav.org/ns">http://sabredav.org/ns</a>" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/sabredav/addressbookserver.php/addressbooks/admin/</d:href><d:propstat><d:prop><d:current-user-principal><d:href>/sabredav/addressbookserver.php/principals/admin/</d:href></d:current-user-principal><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:alternate-URI-set/><d:principal-URL/><d:group-member-set/><d:group-membership/><d:displayname/><card:addressbook-home-set/><card:principal-address/><card:addressbook-description/><card:supported-address-data/><card:max-resource-size/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus></div><div>]</div><div>Running post_send hooks</div><div>ah_post_send (#0), code is 207 (want 401), WWW-Authenticate is (none)</div><div>Request ends, status 207 class 2xx, error line:</div><div>207 Multi-Status</div><div>[DEBUG 00:00:00] credentials accepted</div><div>Running destroy hooks.</div><div>Request ends.</div><div>[DEBUG 00:00:00] follow current-user-prinicipal to /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] testing /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] debugging: read all WebDAV properties of /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials okay, no deadline</div><div>ah_create, for WWW-Authenticate</div><div>Running pre_send hooks</div><div>auth: Sending 'Digest' response.</div><div>auth: H(A2): e802051c2a3c9c0bc6064e32d800a784</div><div>Sending request headers:</div><div>PROPFIND /sabredav/addressbookserver.php/principals/admin/ HTTP/1.1</div><div>Connection: TE</div><div>TE: trailers</div><div>Host: localhost</div><div>Depth: 0</div><div>Content-Length: 84</div><div>Content-Type: application/xml</div><div>Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</div><div><br></div><div>Sending request-line and headers:</div><div>Sending request body:</div><div>Body block (84 bytes):</div><div>[<?xml version="1.0" encoding="utf-8"?></div><div><propfind xmlns="DAV:"><allprop/></propfind></div><div>]</div><div>Request sent; retry is 1.</div><div>[status-line] < HTTP/1.1 207 Multi-Status</div><div>[hdr] Date: Tue, 14 Jan 2014 21:12:50 GMT</div><div>Header Name: [date], Value: [Tue, 14 Jan 2014 21:12:50 GMT]</div><div>[hdr] Server: Apache</div><div>Header Name: [server], Value: [Apache]</div><div>[hdr] Vary: Brief,Prefer</div><div>Header Name: [vary], Value: [Brief,Prefer]</div><div>[hdr] DAV: 1, 3, extended-mkcol, addressbook, access-control, calendarserver-principal-property-search</div><div>Header Name: [dav], Value: [1, 3, extended-mkcol, addressbook, access-control, calendarserver-principal-property-search]</div><div>[hdr] Content-Length: 447</div><div>Header Name: [content-length], Value: [447]</div><div>[hdr] Content-Type: application/xml; charset=utf-8</div><div>Header Name: [content-type], Value: [application/xml; charset=utf-8]</div><div>[hdr] </div><div>End of headers.</div><div>Running post_headers hooks</div><div>Reading 447 bytes of response body.</div><div>Got 447 bytes.</div><div>Read block (447 bytes):</div><div>[<?xml version="1.0" encoding="utf-8"?></div><div><d:multistatus xmlns:d="DAV:" xmlns:s="<a href="http://sabredav.org/ns">http://sabredav.org/ns</a>" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/sabredav/addressbookserver.php/principals/admin/</d:href><d:propstat><d:prop><d:getlastmodified>Tue, 14 Jan 2014 21:12:50 GMT</d:getlastmodified><d:resourcetype><d:principal/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus></div><div>]</div><div>Running post_send hooks</div><div>ah_post_send (#0), code is 207 (want 401), WWW-Authenticate is (none)</div><div>Request ends, status 207 class 2xx, error line:</div><div>207 Multi-Status</div><div>Running destroy hooks.</div><div>Request ends.</div><div>[DEBUG 00:00:00] read relevant properties of /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials okay, deadline in 299.8s</div><div>ah_create, for WWW-Authenticate</div><div>Running pre_send hooks</div><div>auth: Sending 'Digest' response.</div><div>auth: H(A2): e802051c2a3c9c0bc6064e32d800a784</div><div>[DEBUG 00:00:00] forced sending credentials</div><div>Sending request headers:</div><div>PROPFIND /sabredav/addressbookserver.php/principals/admin/ HTTP/1.1</div><div>Connection: TE</div><div>TE: trailers</div><div>Host: localhost</div><div>Depth: 0</div><div>Content-Length: 628</div><div>Content-Type: application/xml</div><div>Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</div><div><br></div><div>Sending request-line and headers:</div><div>Sending request body:</div><div>Body block (628 bytes):</div><div>[<?xml version="1.0" encoding="utf-8"?></div><div><propfind xmlns="DAV:"><prop></div><div><alternate-URI-set xmlns="DAV:"/></div><div><principal-URL xmlns="DAV:"/></div><div><current-user-principal xmlns="DAV:"/></div><div><group-member-set xmlns="DAV:"/></div><div><group-membership xmlns="DAV:"/></div><div><displayname xmlns="DAV:"/></div><div><resourcetype xmlns="DAV:"/></div><div><addressbook-home-set xmlns="urn:ietf:params:xml:ns:carddav"/></div><div><principal-address xmlns="urn:ietf:params:xml:ns:carddav"/></div><div><addressbook-description xmlns="urn:ietf:params:xml:ns:carddav"/></div><div><supported-address-data xmlns="urn:ietf:params:xml:ns:carddav"/></div><div><max-resource-size xmlns="urn:ietf:params:xml:ns:carddav"/></div><div></prop></propfind></div><div>]</div><div>Request sent; retry is 1.</div><div>[status-line] < HTTP/1.1 207 Multi-Status</div><div>[hdr] Date: Tue, 14 Jan 2014 21:12:50 GMT</div><div>Header Name: [date], Value: [Tue, 14 Jan 2014 21:12:50 GMT]</div><div>[hdr] Server: Apache</div><div>Header Name: [server], Value: [Apache]</div><div>[hdr] Vary: Brief,Prefer</div><div>Header Name: [vary], Value: [Brief,Prefer]</div><div>[hdr] DAV: 1, 3, extended-mkcol, addressbook, access-control, calendarserver-principal-property-search</div><div>Header Name: [dav], Value: [1, 3, extended-mkcol, addressbook, access-control, calendarserver-principal-property-search]</div><div>[hdr] Content-Length: 1120</div><div>Header Name: [content-length], Value: [1120]</div><div>[hdr] Content-Type: application/xml; charset=utf-8</div><div>Header Name: [content-type], Value: [application/xml; charset=utf-8]</div><div>[hdr] </div><div>End of headers.</div><div>Running post_headers hooks</div><div>Reading 1120 bytes of response body.</div><div>Got 1120 bytes.</div><div>Read block (1120 bytes):</div><div>[<?xml version="1.0" encoding="utf-8"?></div><div><d:multistatus xmlns:d="DAV:" xmlns:s="<a href="http://sabredav.org/ns">http://sabredav.org/ns</a>" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/sabredav/addressbookserver.php/principals/admin/</d:href><d:propstat><d:prop><card:addressbook-home-set><d:href>/sabredav/addressbookserver.php/addressbooks/admin/</d:href></card:addressbook-home-set><d:alternate-URI-set><d:href>/sabredav/addressbookserver.php/mailto:admin@example.org</d:href></d:alternate-URI-set><d:principal-URL><d:href>/sabredav/addressbookserver.php/principals/admin/</d:href></d:principal-URL><d:group-member-set/><d:group-membership/><d:displayname>Administrator</d:displayname><d:current-user-principal><d:href>/sabredav/addressbookserver.php/principals/admin/</d:href></d:current-user-principal><d:resourcetype><d:principal/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><card:principal-address/><card:addressbook-description/><card:supported-address-data/><card:max-resource-size/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus></div><div>]</div><div>Running post_send hooks</div><div>ah_post_send (#0), code is 207 (want 401), WWW-Authenticate is (none)</div><div>Request ends, status 207 class 2xx, error line:</div><div>207 Multi-Status</div><div>[DEBUG 00:00:00] credentials accepted</div><div>Running destroy hooks.</div><div>Request ends.</div><div>[INFO 00:00:00] addressbook: no database to synchronize</div><div>[ERROR 00:00:00] addressbook: no database to synchronize</div><div>sess: Destroying session.</div></div><div><br></div><div>Your suggested command above results in a "no configuration found for deviceID" like before when I initiate a sync afterwards (no surprise of course as you just added the debugging options).</div><div><br></div><div><b>################</b></div><div><b>################</b></div><div><br></div><div>Using these two commands like in my previous mail (split version of your combined command version)</div><div><br></div><div>syncevolution --configure databaseUser=admin "databasePassword=admin" addressbook/backend=carddav addressbook/database=<a href="https://localhost:443/sabredav/addressbookserver.php/">https://localhost:443/sabredav/addressbookserver.php/</a>addressbooks/admin/ @webdav addressbook</div><div><br></div><div>and</div><div><br></div><div></div><div>SYNCEVOLUTION_DEBUG=1 syncevolution --configure SSLVerifyServer=False --template SyncEvolution_Client --sync-property remoteDeviceId=PN70M9J5V7JX username=admin password=admin --source-property addressbook/uri=addressbook sync=two-way Palm-TH55@webdav addressbook</div><div><br></div><div>the debugging output looks like this:</div><div><br></div><div><div>root@srv:~/.config# SYNCEVOLUTION_DEBUG=1 syncevolution --configure SSLVerifyServer=False --template SyncEvolution_Client --sync-property remoteDeviceId=PN70M9J5V7JX username=admin password=admin --source-property addressbook/uri=addressbook sync=two-way Palm-TH55@webdav addressbook</div><div>[INFO 00:00:00] addressbook: looking for databases...</div><div>[DEBUG 00:00:00] checking password property 'databasePassword' in source 'addressbook' of config 'palm-th55@webdav' with user identity 'admin'</div><div>[DEBUG 00:00:00] using username 'admin' from source config for WebDAV, password was set</div><div>[DEBUG 00:00:00] using plain username/password for admin</div><div>[DEBUG 00:00:00] addressbook: timout 300s, retry 5s => resending allowed</div><div>[DEBUG 00:00:00] client cert is missing</div><div>[DEBUG 00:00:00] testing /sabredav/addressbookserver.php/addressbooks/admin/</div><div>[DEBUG 00:00:00] debugging: read all WebDAV properties of /sabredav/addressbookserver.php/addressbooks/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials unverified, no deadline</div><div>[DEBUG 00:00:00] <a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/:">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/:</a> SSL verification problem: hostname mismatch, untrusted certificate</div><div>[DEBUG 00:00:00] ignoring bad certificate</div><div>[DEBUG 00:00:00] retry request with credentials</div><div>[DEBUG 00:00:00] credentials accepted</div><div>[DEBUG 00:00:00] read relevant properties of /sabredav/addressbookserver.php/addressbooks/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials okay, deadline in 299.9s</div><div>[DEBUG 00:00:00] forced sending credentials</div><div>[DEBUG 00:00:00] credentials accepted</div><div>[DEBUG 00:00:00] follow current-user-prinicipal to /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] testing /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] debugging: read all WebDAV properties of /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials okay, no deadline</div><div>[DEBUG 00:00:00] read relevant properties of /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials okay, deadline in 299.8s</div><div>[DEBUG 00:00:00] forced sending credentials</div><div>[DEBUG 00:00:00] credentials accepted</div><div>[INFO 00:00:00] addressbook: no database to synchronize</div><div>[ERROR 00:00:00] addressbook: no database to synchronize</div></div><div><br></div><div><br></div><div>When initiate a sync I also get the "no configuration found for deviceID" error as stated in my previous mail.</div><div><br></div><div><b>#####################</b></div><div><div><b>#####################</b></div></div><div><br></div><div><br></div><div>Last but not least I also tried the same two commands again but without "addressbook" at the end of the second command (as I also already did before in my previous mail)</div><div><br></div><div><div>syncevolution --configure databaseUser=admin "databasePassword=admin" addressbook/backend=carddav addressbook/database=<a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/</a> @webdav addressbook</div><div><br></div><div>and</div><div><br></div><div></div><div>SYNCEVOLUTION_DEBUG=1 syncevolution --configure SSLVerifyServer=False --template SyncEvolution_Client --sync-property remoteDeviceId=PN70M9J5V7JX username=admin password=admin --source-property addressbook/uri=addressbook sync=two-way Palm-TH55@webdav</div><div><br></div><div>the debugging output looks like this:</div></div><div><br></div><div><div>root@srv:~/.config# SYNCEVOLUTION_DEBUG=1 syncevolution --configure SSLVerifyServer=False --template SyncEvolution_Client --sync-property remoteDeviceId=PN70M9J5V7JX username=admin password=admin --source-property addressbook/uri=addressbook sync=two-way Palm-TH55@webdav</div><div>[INFO 00:00:00] addressbook: looking for databases...</div><div>[DEBUG 00:00:00] checking password property 'databasePassword' in source 'addressbook' of config 'palm-th55@webdav' with user identity 'admin'</div><div>[DEBUG 00:00:00] using username 'admin' from source config for WebDAV, password was set</div><div>[DEBUG 00:00:00] using plain username/password for admin</div><div>[DEBUG 00:00:00] addressbook: timout 300s, retry 5s => resending allowed</div><div>[DEBUG 00:00:00] client cert is missing</div><div>[DEBUG 00:00:00] testing /sabredav/addressbookserver.php/addressbooks/admin/</div><div>[DEBUG 00:00:00] debugging: read all WebDAV properties of /sabredav/addressbookserver.php/addressbooks/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials unverified, no deadline</div><div>[DEBUG 00:00:00] <a href="https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/:">https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/:</a> SSL verification problem: hostname mismatch, untrusted certificate</div><div>[DEBUG 00:00:00] ignoring bad certificate</div><div>[DEBUG 00:00:00] retry request with credentials</div><div>[DEBUG 00:00:00] credentials accepted</div><div>[DEBUG 00:00:00] read relevant properties of /sabredav/addressbookserver.php/addressbooks/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials okay, deadline in 299.7s</div><div>[DEBUG 00:00:00] forced sending credentials</div><div>[DEBUG 00:00:00] credentials accepted</div><div>[DEBUG 00:00:00] follow current-user-prinicipal to /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] testing /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] debugging: read all WebDAV properties of /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials okay, no deadline</div><div>[DEBUG 00:00:00] read relevant properties of /sabredav/addressbookserver.php/principals/admin/</div><div>[DEBUG 00:00:00] starting PROPFIND, credentials okay, deadline in 299.7s</div><div>[DEBUG 00:00:00] forced sending credentials</div><div>[DEBUG 00:00:00] credentials accepted</div><div>[INFO 00:00:00] addressbook: no database to synchronize</div><div>[INFO 00:00:00] calendar: looking for databases...</div><div>[DEBUG 00:00:00] checking password property 'databasePassword' in source 'calendar' of config 'palm-th55@webdav' with user identity ''</div><div>[DEBUG 00:00:00] using username 'admin' from source context for WebDAV, password was set</div><div>[DEBUG 00:00:00] using plain username/password for admin</div><div>[DEBUG 00:00:00] calendar: timout 300s, retry 5s => resending allowed</div><div>[DEBUG 00:00:00] exception thrown at /data/runtests/work/sources/syncevolution/src/syncevo/SyncContext.cpp:2113</div><div>[DEBUG 00:00:00] error code from SyncEvolution authorization failed (remote, status 401): calendar: syncURL not configured and username admin does not contain a domain</div><div>[INFO 00:00:00] calendar: backend failed: error code from SyncEvolution authorization failed (remote, status 401): calendar: syncURL not configured and username admin does not contain a domain</div><div>[INFO 00:00:00] memo: looking for databases...</div><div>[DEBUG 00:00:00] checking password property 'databasePassword' in source 'memo' of config 'palm-th55@webdav' with user identity ''</div><div>[DEBUG 00:00:00] using username 'admin' from source context for WebDAV, password was set</div><div>[DEBUG 00:00:00] using plain username/password for admin</div><div>[DEBUG 00:00:00] memo: timout 300s, retry 5s => resending allowed</div><div>[DEBUG 00:00:00] exception thrown at /data/runtests/work/sources/syncevolution/src/syncevo/SyncContext.cpp:2113</div><div>[DEBUG 00:00:00] error code from SyncEvolution authorization failed (remote, status 401): memo: syncURL not configured and username admin does not contain a domain</div><div>[INFO 00:00:00] memo: backend failed: error code from SyncEvolution authorization failed (remote, status 401): memo: syncURL not configured and username admin does not contain a domain</div><div>[INFO 00:00:00] todo: looking for databases...</div><div>[DEBUG 00:00:00] checking password property 'databasePassword' in source 'todo' of config 'palm-th55@webdav' with user identity ''</div><div>[DEBUG 00:00:00] using username 'admin' from source context for WebDAV, password was set</div><div>[DEBUG 00:00:00] using plain username/password for admin</div><div>[DEBUG 00:00:00] todo: timout 300s, retry 5s => resending allowed</div><div>[DEBUG 00:00:00] exception thrown at /data/runtests/work/sources/syncevolution/src/syncevo/SyncContext.cpp:2113</div><div>[DEBUG 00:00:00] error code from SyncEvolution authorization failed (remote, status 401): todo: syncURL not configured and username admin does not contain a domain</div><div>[INFO 00:00:00] todo: backend failed: error code from SyncEvolution authorization failed (remote, status 401): todo: syncURL not configured and username admin does not contain a domain</div><div>[DEBUG 00:00:00] possibly saving password property 'password' in config 'palm-th55@webdav' with user identity 'admin'</div><div>[DEBUG 00:00:00] saving password in keyring with key user=admin server=PN70M9J5V7JX</div><div>[DEBUG 00:00:00] not using GNOME keyring</div><div>[DEBUG 00:00:00] possibly saving password property 'databasePassword' in source 'addressbook' of config 'palm-th55@webdav' with user identity 'admin'</div><div>[DEBUG 00:00:00] saving password in keyring with key user=admin object=@webdav addressbook backend</div><div>[DEBUG 00:00:00] not using GNOME keyring</div></div><div><br></div><div><br></div><div><div>When initiate a sync now I get "First ERROR encountered: error code from SyncEvolution fatal error (local, status 10500): no sources active, check configuration". This is also the expected same error message as in my previously described attempt with the same commands.</div></div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>