Evolution error «Account doesn't support prompt for credentials» for GOA accounts
Recently, Evolution has begun sporadically give the error message «Account doesn't support prompt for credentials» for all accounts configured through GOA. This does not happen for accounts configured directly in Evolution.
When the bug hits, Evolution stops being able to access the accounts, so I cannot check mail, open messages, and so on (perhaps except for messages that are cached from earlier). Restarting Evolution does not help either, the message re-appears immediately.
To work around the problem, the GOA service can be restarted, for example with
systemctl --user restart dbus-:1.1-org.gnome.OnlineAccounts@0.service or with
pkill goa-daemon (as it will automatically respawn).
There is nothing of interest in
journalctl --user -u dbus-:1.1-org.gnome.OnlineAccounts@0.service when the issue occurs.
I do not know exactly what triggers the bug, but I suspect it might happen after a while, e.g., a period of inactivity, after a suspend/resume cycle, being disconnected from the network, or something along those lines. I tend to find my laptop in the buggy state after having been away from it for a while; I cannot remember the bug having hit while I was actively using Evolution.
Edit: I first believed the problem started happening following an upgrade of GOA from version 3.38.1 → 3.38.2, but I have seen the problem with 3.38.1 as well, so there must be some other recent change/upgrade that has caused it. I will keep trying to find the root cause.