After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771818 - Can't sign in to accounts. Online accounts says that credentials have expired
Can't sign in to accounts. Online accounts says that credentials have expired
Status: RESOLVED OBSOLETE
Product: gnome-keyring
Classification: Core
Component: general
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-09-22 09:21 UTC by Petr Schindler
Modified: 2021-06-18 10:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of control center with expired credentials (48.73 KB, image/png)
2016-09-22 09:22 UTC, Petr Schindler
Details
output of journal -b 0 -a (328.37 KB, text/plain)
2016-09-22 09:24 UTC, Petr Schindler
Details

Description Petr Schindler 2016-09-22 09:21:42 UTC
On some boots of my Fedora 25 Workstation my online accounts doesn't get signed in (Google and imap/smtp accounts). It says that "credentials have expired". But when I use the sign in button and then I sign in to the account nothing changes, so I can't use the accounts (for example mails).

This problem persists through the whole session (or boot, I'm not sure). I have to restart (sometimes few times in the row) and it starts to work.

Versions:
gnome-shell-3.21.92-1.fc25.x86_64
control-center-3.20.1-1.fc25.x86_64

I'll attach the screenshot and journal.
Comment 1 Petr Schindler 2016-09-22 09:22:56 UTC
Created attachment 336063 [details]
Screenshot of control center with expired credentials
Comment 2 Petr Schindler 2016-09-22 09:24:23 UTC
Created attachment 336064 [details]
output of journal -b 0 -a
Comment 3 Bastien Nocera 2016-09-22 10:37:37 UTC
It's yet another problem with gnome-keyring not registering itself soon enough.
Comment 4 Debarshi Ray 2016-09-22 11:26:41 UTC
(In reply to Bastien Nocera from comment #3)
> It's yet another problem with gnome-keyring not registering itself soon
> enough.

Correct. The following log entries point towards this:
  pschindl goa-daemon[2451]: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.18 was not provided by any .service files
  pschindl goa-daemon[2451]: secret_password_lookup_sync() failed: The name :1.18 was not provided by any .service files
  pschindl goa-daemon[2451]: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.18 was not provided by any .service files
  pschindl goa-daemon[2451]: secret_password_lookup_sync() failed: The name :1.18 was not provided by any .service files
  pschindl goa-daemon[2451]: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.18 was not provided by any .service files
  pschindl goa-daemon[2451]: secret_password_lookup_sync() failed: The name :1.18 was not provided by any .service files
Comment 5 Debarshi Ray 2016-09-22 11:27:43 UTC
Tentatively re-assigning to gnome-keyring.
Comment 6 nathanael 2016-10-13 17:06:41 UTC
Is there a temporary workaround? Could we kill GOA and let it re-spawn? Or...?
Comment 7 Audrey Toskin 2017-01-26 21:27:20 UTC
I've been experiencing this on GNOME 3.22 on Fedora 25 (64-bit) as well.

I'd also appreciate a workaround, if anyone can think of one, while we figure out how to actually fix the problem.
Comment 8 krinkodot22 2017-02-26 23:12:29 UTC
I have experienced this problem as well, also on Gnome 3.22 & Fedora 25. For me, it only happens whenever I log out & log back in, or when waking up from hibernation (but not when waking up from sleep).
Comment 9 Matthew Cline 2018-08-26 03:17:55 UTC
For the problem of it happening after logging out and back in again, I solved it by, upon the X server ending, killing all of the user session daemons that might be causing the problem.  Specifically, since I'm using SDDM, I edited /etc/sddm/Xstop to run the following command:

killall -9 -u user dbus-daemon gnome-keyring-daemon evolution-source-registry \
    evolution-calendar-factory-subprocess evolution-addressbook-factory \
    evolution-addressbook-factory-subprocess at-spi2-registryd \
    at-spi-bus-launcher

I haven't narrowed down exactly which of the lingering processes is causing the problem.
Comment 10 André Klapper 2021-06-18 10:41:13 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/

Thank you for your understanding and your help.