[Evolution-users] ews - failed to update GAL
Milan Crha
mcrha at redhat.com
Tue Apr 22 16:29:56 UTC 2025
On Tue, 2025-04-22 at 16:45 +0200, Torsten Krah via evolution-users
wrote:
> I already removed the cache twice before reporting it, did not help,
> it will end with "Not modified" eventually again (using http/1) but
> still there are no entries in the offline cached GAL shown.
Hi,
the synchronization tag is stored in the cache.db file in the
~/.cache/evolution/addressbooks/<gal-uid>/ , thus dropping the
directory will re-load the information. It also depends on the output
of the OAB URL. The code looks for "Full" and "Diff" types, where the
"Full" is required to download the GAL to the local machine. The file
is not deleted, thus one of the subfolders of the
~/.cache/evolution/addressbooks/ should have there a GAL, named
similarly as in the GUI. I have there 'Global Address List-3.oab' file,
thus you can search for *.oab files in the cache.
As you can build with patches, maybe I can provide a test patch with
more targeted debugging to figure out what failed.
> why http/1 vs http/2 does behave so differently
The option to force HTTP/1 for the EWS connections was added because
some servers did not work well with enabled HTTP/2. I do not recall
many details about that though, I'm sorry.
> why would the authentication fail just for the GAL caching backend
The GAL/OAB (offline address book) uses a different address (URL). For
example on the office365.com one can access the Mail part with no
problem, but the OAB requires special scope in the OAuth2, which is not
easy to get (at least was not easy the last time I tried). The
Microsoft Graph API (named as "Microsoft 365" in Evolution) removed the
concept of the GAL completely. They offer only a split form of the
organization contacts, groups, existing users,... which is a mess and a
pita, in compare to the GAL, which had everything in a single place.
Bye,
Milan
More information about the evolution-users
mailing list