New CardDAV setup fails with proxy autodetect.
Evolution > Preferences > Network Preferences: Method to detect online state: Default (networkmanager) Method: Manual Socks Proxy: x.x.x.x:xxxx
Evolution > Edit > Accounts > Add > Address Book > CardDAV Configure CardDAV as required. Find Address Books works
On server:
... "PROPFIND / HTTP/1.0" 405 ... "-" "Evolution/3.36.4"
... "PROPFIND /.well-known/carddav HTTP/1.0" 301 ... "-" "Evolution/3.36.4"
... "PROPFIND /remote.php/dav/ HTTP/1.0" 207 ... "-" "Evolution/3.36.4"
... "PROPFIND /remote.php/dav/principals/users/.../ HTTP/1.0" 207 ... "-" "Evolution/3.36.4"
... "PROPFIND /remote.php/dav/addressbooks/users/.../ HTTP/1.0" 207 ... "-" "Evolution/3.36.4"
Force a sync on the Evolution Address Book Evolution > Contacts > CardDAV > Contacts > Right-Click > Refresh
After a delay (maybe 30 seconds), evolution gives the following error. Additionally, there are no new records in the CardDAV acess log, this indicates that Evolution did NOT communicate with the server
Unable to open address book “Contacts”
This address book cannot be opened. This either means that an incorrect URI was entered, or the server is unreachable.
Force the proxy configuration to be always assumed online Evolution > Preferences > Network Preferences: Method to detect online state: Always Online
Evolution > Contacts > CardDAV > Contacts > Right-Click > Refresh Works correctly and the following records are seen in the access log of the CardDAV server
... "OPTIONS /remote.php/dav/addressbooks/users/.../contacts/ HTTP/1.0" 200 ... "-" "Evolution/3.36.4"
... "PROPFIND /remote.php/dav/addressbooks/users/.../contacts/ HTTP/1.0" 207 ... "-" "Evolution/3.36.4"
... "PROPFIND /remote.php/dav/addressbooks/users/.../contacts/HTTP/1.0" 207 ... "-" "Evolution/3.36.4"
... "PROPFIND /remote.php/dav/addressbooks/users/.../contacts/ HTTP/1.0" 207 ... "-" "Evolution/3.36.4"
... "PROPFIND /remote.php/dav/addressbooks/users/.../contacts/ HTTP/1.0" 207 ... "-" "Evolution/3.36.4"
... "REPORT /remote.php/dav/addressbooks/users/.../contacts/ HTTP/1.0" 207 ... "-" "Evolution/3.36.4"
After the first connect, the proxy settings can be returned to automatic detection.
Evolution > Preferences > Network Preferences: Method to detect online state: Default (networkmanager)
Close evolution, reboot, and force a resync
Evolution > Contacts > CardDAV > Contacts > Right-Click > Refresh
Everything works correctly.
So there is definitely a problem with gnome evolution or the evolution data server specifically during the first of a CardDAV account. I am adding this in addition to the two issues below, because it doesn't make sens that the "Find Address Books" and re-synchronizations work with proxy auto-detect, but ONLY the FIRST sync of an address book does not work with proxy autodetect and that it be a general issue with glib. If it was, all steps of the CardDAV would fail on proxy autodetect. #237 (closed) glib#1320