Goa daemon error

Contents

Contents

  1. Restarting the daemon(s)
  2. Getting logs
  3. Checking the D-Bus interface
  4. Credentials not working
  5. D-Bus Timeouts
  6. Empty dialog when adding an account in Settings
  7. Integration with Evolution
  8. Integration with GtkFileChooser and Nautilus

Restarting the daemon(s)

GNOME Online Accounts contains a D-Bus service and comes with two D-Bus daemons — goa-daemon and goa-identity-service. goa-daemon offers the application-facing interfaces, while goa-identity-service is a private daemon used by gnome-online-accounts itself to handle Kerberos credentials. Strictly speaking, daemons from different builds or versions should not be run together. They should always have the same version or be artifacts of the same build.

The easiest way to restart goa-daemon and goa-identity-service is to restart the GNOME session by logging out and then logging back in. On development systems the D-Bus session daemon might not know about the prefix in which you have installed gnome-online-accounts. In that case, you can restart the daemons manually:

$ /path/to/prefix/libexec/goa-identity-service &
$ /path/to/prefix/libexec/goa-daemon --replace &

Getting logs

Ensure that the G_MESSAGES_DEBUG environment variable is defined, and restart the daemons if needed (see above). It will make gnome-control-center, goa-daemon and goa-identity-service show some extra debug messages.

Run-time failures are always logged as WARNINGs and unexpected programming errors are logged as CRITICALs. Check your operating system’s logging facilities (eg., journalctl) to find them.

If you are having problems while adding an account or updating the credentials, then the gnome-control-center logs are the most relevant. Otherwise, if it is some background failure, then look at the daemons.

Checking the D-Bus interface

Since gnome-online-accounts offers a D-Bus interface, it is useful to see whether the methods are working as expected. Fortunately, the D-Bus interface is not very big, so we don’t run the risk of getting lost in the ocean.

The daemon runs as org.gnome.OnlineAccounts on the user or session bus. Each account is represented by a separate object under the /org/gnome/OnlineAccount/Accounts/ path and implements the org.gnome.OnlineAccounts.Account interface. Various properties on this interface will help you identify your accounts.

Using d-feet to access the D-Bus APIs

Credentials not working

Credentials like OAuth2 access tokens and passwords are stored in gnome-keyring. Therefore, if you are getting errors about missing or invalid credentials, check if your gnome-keyring is working properly. Your logs (see above) might already have something suspicious about it.

Use seahorse to look at the contents of your keyring. Searching for goa will show those entries that are related to your online accounts. Try to see if you can find a valid entry for your account.

Call the EnsureCredentials D-Bus method (see above) against the object representing your account. Normally, it is supposed to return an integer. Check if it is throwing an exception.

Depending on whether the account uses passwords or OAuth2 tokens, you might want to look at the org.gnome.OnlineAccounts.PasswordBased or org.gnome.OnlineAccounts.OAuth2Based interfaces.

D-Bus Timeouts

None of the D-Bus calls are expected to time out. They are either expected to succeed and return a value, or fail and throw an exception. Therefore, a timeout is a symptom of a bigger problem. They can be caused by goa-daemon crashes or deadlocks. If it is not a crash, then it is worth taking a few backtraces of the running goa-daemon process and checking for deadlocks.

Empty dialog when adding an account in Settings

Try running gnome-control-center as:

$ WEBKIT_DISABLE_COMPOSITING_MODE=1 gnome-control-center

If that works, then it is a bug in your operating system’s graphics stack. Here is some discussion on the matter. It usually happens on virtual machines running on Parallels and VirtualBox.

Integration with Evolution

You can look at the Evolution documentation on how to gather debug logs.

Integration with GtkFileChooser and Nautilus

Some online storage services are integrated with GtkFileChooser and Nautilus. If this is not working, check whether you have GVfs’ GOA volume monitor. It is a D-Bus daemon that uses org.gtk.vfs.GoaVolumeMonitor as the service name and the binary is called gvfs-goa-volume-monitor. If the binary is present, then check if it is running (with user privilege).

Use gvfs-mount -l to get a list of the drives, volumes and mounts seen by GVfs. On a functional system with a single Nextcloud account and hard disk, you would see something like this if the storage is not mounted:

$ gvfs-mount -l
Drive(0): ST320LT007-9ZV142
  Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
Volume(0): rishi@cloud.gnome.org
  Type: GProxyVolume (GProxyVolumeMonitorGoa)
$

When mounted, you would see something like:

$ gvfs-mount -l
Drive(0): ST320LT007-9ZV142
  Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
Volume(0): rishi@cloud.gnome.org
  Type: GProxyVolume (GProxyVolumeMonitorGoa)
  Mount(0): rishi@cloud.gnome.org -> davs://rishi@cloud.gnome.org/remote.php/webdav
    Type: GProxyShadowMount (GProxyVolumeMonitorGoa)
Mount(1): rishi on cloud.gnome.org -> davs://rishi@cloud.gnome.org/remote.php/webdav
  Type: GDaemonMount
$

The GVfs integration is hinged on the org.gnome.OnlineAccounts.Files interface. GVfs’ GOA volume monitor exposes all account objects implementing this interface as GVolumes that appear in the above output. You can mount and unmount volumes from the GTK+ UI or with gvfs-mount:

$ gvfs-mount google-drive://debarshi.ray@gmail.com/
$ gvfs-mount -u google-drive://debarshi.ray@gmail.com/

Mounting and any subsequent operations on the GVolume are performed by the respective GVfs backends that implement the service-specific protocol. For example, gvfsd-dav handles Nextcloud and gvfsd-google handles Google Drive. To check the GVfs backends, ensure that they are running in debug mode before mounting the volumes. The easiest way to do that is:

$ G_MESSAGES_DEBUG=all GVFS_DEBUG=1 /usr/libexec/gvfsd -r -d

Specific backends might have their own mechanisms for enabling revealing further backend-specific details. For example, GVFS_HTTP_DEBUG and LIBGDATA_DEBUG for the Nextcloud and Google Drive backends respectively.

For further details, you can look at the GVfs documentation.

Projects/GnomeOnlineAccounts/Debugging (last edited 2021-11-01 20:22:14 by DebarshiRay)

Created attachment 1162220 [details]
screencast

Description of problem:
Not first time I see message "Failed to authenticate: Failed to obtain an access token for 'mikhail.v.gavrilov':Failed to retrieve credentials from the keyring" then launch evolution.


I don't know why this occurred, but if I reboot machine this problem disappeared.

is it possible to come up something that  this problem did not arise again?


Comment 1


Milan Crha



2016-05-27 06:36:25 UTC

Thanks for a bug report. This error is reported by the gnome-online-accounts, possibly goa-daemon process, thus I'm moving it there. It can be that the libsecret failed to connect to the gnome-keyring for some reason and reports errors. The goa-daemon's console might show it. I see a similar issue from time to time also in the evolution, which uses libsecret too. If it's the same thing, then the root cause can be the libsecret itself.


Comment 2


Dawid Zamirski



2016-06-07 15:09:27 UTC

I can reproduce this by following the steps below:

1. On freshly booted system, start Evolution -> ok
2. Close Evolution
3. Logout (not reboot)
4. Login
5. Start Evolution -> Failed to retrieve credentials from keyring
6. Reboot
7. Start Evolution -> Ok

So this happens to me every time I logout and log back in to the system.


Comment 3


Milan Crha



2016-06-13 09:51:09 UTC

Thanks for the steps. I tried to reproduce this in a Fedora 24 environment and I get the same result. I was also notified about the seahorse-daemon crash right  after the second login (step 4 in your steps above), which can explain why it failed to retrieve credentials. I debugged it further and realized that the goa-daemon doesn't stop on logout, then the login uses the same process, which fails to work with an error:

> ** Message: Remote error from secret service:
> org.freedesktop.DBus.Error.ServiceUnknown: The name :1.10 was not provided
> by any .service files
>
> (goa-daemon.orig:1379): GoaBackend-WARNING **: secret_password_lookup_sync()
> failed: The name :1.10 was not provided by any .service files
> goa-daemon-Message: /org/gnome/OnlineAccounts/Accounts/account_1465808345_0:
> Setting AttentionNeeded to TRUE because EnsureCredentials() failed with: Failed
> to retrieve credentials from the keyring (goa-error-quark, 4)

Thus I'd say the problem is that the goa-daemon is not stopped on logout, as other services are, and it reuses a D-Bus connection which is not valid anymore.


Comment 4


Debarshi Ray



2016-06-13 17:04:40 UTC

This sounds like the bug about systemd user sessions not cleaning up daemons after logout. However, I don't have a bug number at hand, so I am unable to mark this is a duplicate.

(On Fedora 24, the D-Bus user session bus is setup by systemd --user.)


Comment 5


Milan Crha



2016-06-14 06:21:48 UTC

Aha, it can be it. I just noticed that neither the evolution-data-server background processes are stopped on logout.


Comment 6


Ivan Shapovalov



2016-06-16 13:38:30 UTC

(In reply to Debarshi Ray from comment #4)
> This sounds like the bug about systemd user sessions not cleaning up daemons
> after logout. However, I don't have a bug number at hand, so I am unable to
> mark this is a duplicate.
> 
> (On Fedora 24, the D-Bus user session bus is setup by systemd --user.)

I would like to note that not stopping `systemd --user` instance after user logout is a perfectly valid scenario, because:

1. there can be multiple overlapping logins of one user (`systemd --user` is stopped when last session terminates);
2. there can be lingering enabled for the user (`loginctl enable-linger`), which makes the user instance live forever.

That said, I do experience this bug every time on current Arch, with versions g-o-a 3.20.1, libsecret 0.18.5, e-d-s 3.20.3. The journal says things like this:

====
intelfx-laptop org.gnome.OnlineAccounts[980]: ** Message: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.9 was not provided by any .service files
intelfx-laptop org.gnome.OnlineAccounts[980]: (goa-daemon:1122): GoaBackend-WARNING **: secret_password_lookup_sync() failed: The name :1.9 was not provided by any .service files
====


Comment 7


Milan Crha



2016-06-17 05:35:13 UTC

(In reply to Ivan Shapovalov from comment #6)
> I would like to note that not stopping `systemd --user` instance after user
> logout is a perfectly valid scenario, because:

Well, it can be valid for `nohup` and similarly run processes, but not for GUI session related (D-Bus) processes, where some outlive other. The error suggests that the goa-daemon survives logout, while the libsecret service, whichever it is, does not, thus the D-Bus connection made by libsecret is invalidated.

Note that also means that the place to workaround this new behaviour is not goa-daemon, but libsecret library, if the new consensus would be that the new behaviour is correct. Still that "some background processes run at GUI login survive and some not" is suspicious.


Comment 8


Ivan Shapovalov



2016-06-17 06:16:44 UTC

The thing is that some processes are started by d-bus activation (as children of user `dbus-daemon` instance and consequently as children of `systemd --user`) in the `systemd --user` scope, and some processes are started as children of `gnome-session-binary` in the session scope.

The latter is always terminated on logout, the former — depends on configuration.

Does it make sense?


Comment 9


Ivan Shapovalov



2016-06-17 06:50:55 UTC

Also it could be that some services started by d-bus activation _do_ maintain a connection to X11 server or to some per-session instance, and other services do not do that.

Hence the former d-bus services will terminate by themselves when the session ends, and the latter will not. And this would not be systemd's or dbus-daemon's fault.


Comment 10


Milan Crha



2016-06-17 06:51:26 UTC

Aha, I see, it makes sense. Thanks. It means, from my point of view, that something doesn't work, like if the transitive dependency on the processes is not properly determined.

I'm not much deep in understanding of the login/logout phases, even less with the systemd, my rough idea, which is most likely wrong, is:

   - user logs in with GUI, like with lightdm, gdm and similar
      - (GUI) user session is started
      - auto-start processes are started, read from /etc/xdg/autostart/
        * these processes can start D-Bus services
        * they have a clear parent, the (GUI) user session
      - some of the D-Bus processes run other D-Bus processes, like
        the evolution processes can request goa-daemon and the goa-daemon
        can request gnome-keyring-daemon and so on
   - user logs out GUI, then everything what was "added" due to GUI run
     applications and daemons should also stop, unless configured to not do that

For me, the systemd --user session starts on login and ends on logout from the GUI, especially if I didn't login anywhere else (like a text console). It can be verified with the lightdm/gdm, that it doesn't ask me whether I want to power off or restart the machine, because other users are logged in, right? Without the prompt, no user systemd session is running, thus all background processes should be stopped, right?

If you mean that the configuration default changed from "stop unless said otherwise" to "keep running unless said otherwise", then it was quite unfortunate decision from the backward compatibility point of view.

In case of the evolution-data-server D-Bus services, there was a change for 3.20.x (Fedora 24), where within bug [1] were added systemd service files, like this one [2], which is installed at /usr/lib/systemd/user/evolution-addressbook-factory.service. It has many values in defaults, as you can see. Does it mean that without those files the evolution-data-server background processes would stop as expected?

[1] https://bugzilla.gnome.org/show_bug.cgi?id=755735
[2] https://git.gnome.org/browse/evolution-data-server/tree/services/evolution-addressbook-factory/evolution-addressbook-factory.service.in


Comment 11


Ivan Shapovalov



2016-06-17 07:21:08 UTC

(In reply to Milan Crha from comment #10)
> Aha, I see, it makes sense. Thanks. It means, from my point of view, that
> something doesn't work, like if the transitive dependency on the processes
> is not properly determined.
> 
> I'm not much deep in understanding of the login/logout phases, even less
> with the systemd, my rough idea, which is most likely wrong, is:
> 
>    - user logs in with GUI, like with lightdm, gdm and similar
>       - (GUI) user session is started
>       - auto-start processes are started, read from /etc/xdg/autostart/
>         * these processes can start D-Bus services
>         * they have a clear parent, the (GUI) user session
>       - some of the D-Bus processes run other D-Bus processes, like
>         the evolution processes can request goa-daemon and the goa-daemon
>         can request gnome-keyring-daemon and so on
>    - user logs out GUI, then everything what was "added" due to GUI run
>      applications and daemons should also stop, unless configured to not do
> that

It was so before session bus turned to user bus. See below.

> If you mean that the configuration default changed from "stop unless said
> otherwise" to "keep running unless said otherwise", then it was quite
> unfortunate decision from the backward compatibility point of view.

Even more than that. I'll try to explain. Initially (before systemd version ≈ 208) there was a separate d-bus bus for each user login, called "session bus". It was started by xinitrc.d scripts and terminated on logout, and it had a pretty obvious lifetime. It was bound to the session — each session had its own set of d-bus services, and they were automatically and implicitly terminated at logout.

Starting with somewhere at that point in time (maybe a bit later), the semantics completely changed: the "session bus" started by xinitrc.d scripts turned to the "user bus" started by `systemd --user`, which is now shared between all login sessions and has wider lifetime:
1) by default, from first login to last logout;
2) optionally, from bootup to shutdown (this is called "lingering" in logind speak).

So, in some terms, the configuration default has changed to "keep running", and I'm not even sure that there _exists_ a standard mechanism to "say otherwise". Moreover, the bus namespace is now shared between all login sessions.

> For me, the systemd --user session starts on login and ends on logout from
> the GUI, especially if I didn't login anywhere else (like a text console).
> It can be verified with the lightdm/gdm, that it doesn't ask me whether I
> want to power off or restart the machine, because other users are logged in,
> right? Without the prompt, no user systemd session is running, thus all
> background processes should be stopped, right?

Not necessarily so. If "lingering" is enabled for a user, then its `systemd --user` instance will keep running from bootup to shutdown.
 
> In case of the evolution-data-server D-Bus services, there was a change for
> 3.20.x (Fedora 24), where within bug [1] were added systemd service files,
> like this one [2], which is installed at
> /usr/lib/systemd/user/evolution-addressbook-factory.service. It has many
> values in defaults, as you can see. Does it mean that without those files
> the evolution-data-server background processes would stop as expected?

No, there is no session bus anymore. If one removes that .service file, it will simply lead to less fine-grained control from systemd side, with no changes in lifetime.


Comment 12


Milan Crha



2016-06-17 08:12:44 UTC

Hmm, okay, let's consider the most common workstation scenario (from my point of view), where is only one user using the machine and that the lingering is turned off by default, only advanced users can enable it, which is not in my case. Then the usual order would be:

   1) boot the machine
   2) gdm is run
   3) log into the gnome-shell from gdb
      - do something useful
      - log out from the gnome-shell
   4) back in gdm

There is exactly one login and exactly one logout.

I tried these steps on a Fedora 24 machine and I did also some other steps around, namely at step 2) and step 4), where I switched to a text console, logged in as a root, run `ps ax | egrep "evol|goa"` and logged out, thus the root is not logged anymore. Running the ps command in step 2) shows no background processes of either of the two. Running it at step 4) shows multiple processes of the both of them.

I'd expect, as the logout before step 4) is the last logout too, the systemd user session processes would be stopped. That's how I understood it from your clarifications too, also because I didn't turn on any lingering here, all is pretty much in default Fedora 24 setup, the systemd part for sure.


Comment 13


Ivan Shapovalov



2016-06-17 08:52:05 UTC

Ugh. I'm on Arch and cannot reproduce, both with KillUserProcesses=yes and no (in logind.conf). I'd expect that too.

On step 4, are there any leftover sessions (loginctl list-sessions) in "closing" state?


Comment 14


Milan Crha



2016-06-17 13:54:36 UTC

(In reply to Ivan Shapovalov from comment #13)
> On step 4, are there any leftover sessions (loginctl list-sessions) in
> "closing" state?

Aha, I tried both at steps 2):
  Session   UID User  Seat
       c1    42 gdm   seat0
        1     0 root  seat0

and at step 4):
  Session   UID User  Seat
        2  1000 mcrha seat0
       c1    42 gdm   seat0
        3     0 root  seat0

Thus you are right that there left the session with 'mcrha', which I just logged out of GNOME shell. The root's session number changes, because I logged in, run the command and then logged out the root in a text console.


Comment 15


Ivan Shapovalov



2016-06-17 15:24:31 UTC

Yeah. What you experience ought to be a separate bug: a session is not closed after logout due to certain leftover processes which fail to terminate. I don't remember the actual bug name or #, but it exists. You can see the offending process(-es) by `loginctl session-status <session id>` at step 4.

So, in fact there are two distinct bugs:
1. sessions not closing;
2. libsecret (IIUC) does not work with goa-daemon on per-user bus as opposed to per-session bus.

...where one of the bugs (1) also happens to be a common reproducer/trigger for the other bug (2). Another reproducer for (2) is to enable lingering mode in logind for the user account.


Comment 16


Ivan Shapovalov



2016-06-17 15:40:11 UTC

...and sorry, the "libsecret does not work with goa-daemon" part apparently is bullshit.

What I really see is that goa reports errors trying to connect to gnome-keyring-daemon, where the former is not terminated on logout and the latter _is_.

So, root cause seems to be this:
1. gnome-keyring-daemon is started by PAM, hence it is bound to the login session (!)
2. when session terminates, gnome-keyring-daemon does so as well
3. goa is on per-user bus, thus it _outlives gnome-keyring-daemon_ and fails to reconnect to the new instance of it.


Comment 17


Debarshi Ray



2016-07-28 13:13:16 UTC

*** Bug 1338761 has been marked as a duplicate of this bug. ***


Comment 18


Debarshi Ray



2016-08-23 14:41:23 UTC

*** Bug 1223117 has been marked as a duplicate of this bug. ***


Comment 19


Mikhail



2016-09-25 20:59:30 UTC

Still not fixed in Fedora 25


Comment 20


Phil Lembo



2016-10-14 21:08:24 UTC

Now failing in Fedora 24 after upgrade from 23, where this worked. This same desktop was upgraded over the two years from Fedora 21 to 22, then from 22 to 23. Wizard appears to work as expected, presenting dialogs for entering user account name, password and 2FA token (I am using Google Authenticator for tokens), and then requesting authorization. Only sign of a problem is the "credentials have expired" warning once returned to accounts list. Same result when attempting to set up Microsoft account.


Comment 21


Phil Lembo



2016-10-15 23:12:09 UTC

Works now. Got update later in the day on 10/14 to dbus and evolution-data packages. Had to reboot to get the Internet accounts applet to function. Was then able to successfully add both Google and Microsoft accounts with 2FA.


Comment 22


Mikhail



2016-10-25 19:11:13 UTC

Not fixed yet.

$ evolution --version
evolution 3.22.1
$ rpm -qa | grep evolution
evolution-help-3.22.1-2.fc25.noarch
evolution-data-server-3.22.1-1.fc25.x86_64
evolution-ews-3.22.1-1.fc25.x86_64
evolution-3.22.1-2.fc25.x86_64

For reproduction please login under Xorg session and then logoff and relogin under Wayland session. After it launch evolution you'll see this bug again.


Comment 24


Mikhail



2016-10-25 19:13:25 UTC

P.S. and google drive became unavailable in nautilus.


Comment 25


Debarshi Ray



2016-12-08 10:09:04 UTC

(In reply to Debarshi Ray from comment #4)
> This sounds like the bug about systemd user sessions not cleaning up daemons
> after logout. However, I don't have a bug number at hand, so I am unable to
> mark this is a duplicate.
> 
> (On Fedora 24, the D-Bus user session bus is setup by systemd --user.)

Another consequence of this is that if you log out/in, then goa-daemon cannot talk to gnome-keyring, which prevents all the accounts from working. The workaround is to reboot instead of log out/in.


Comment 26


Matěj Cepl



2016-12-08 15:32:04 UTC

*** Bug 1402670 has been marked as a duplicate of this bug. ***


Comment 27


Shaun Assam



2017-01-13 21:34:01 UTC

Another workaround that is working for me, and is less of a nuisance than rebooting, is to create a login application/script that executes the command 'goa-daemon --replace'.  I created a new file in ~/.config/autostart/ called goa-replace.desktop, and in a text-editor entered the following:

[Desktop Entry]
Name=GOA Replace
Exec=/usr/libexec/goa-daemon --replace
NoDisplay=true
Terminal=false
Type=Application


Since adding this file the credentials error no longer appears in Evolution, or when accessing my Google Drive from Nautilus.  I have tested this by performing login/logout ten times, rebooted the computer, and did login/logout another ten times.  I have not noticed any system quirks or other issues since applying this method.


Comment 28


Frank Crawford



2017-01-15 07:05:59 UTC

(In reply to Shaun Assam from comment #27)

Thanks for that workaround, it works for me and saves me having to go through a longer process when I log in.


Comment 29


Debarshi Ray



2017-01-31 09:53:16 UTC

*** Bug 1417806 has been marked as a duplicate of this bug. ***


Comment 30


Fedora Blocker Bugs Application



2017-02-08 15:14:44 UTC

Proposed as a Blocker for 26-final by Fedora user sgallagh using the blocker tracking app because:

 This may be a conditional violation of:
"Saving passwords to and retrieving passwords from the default keyring must work for all release-blocking desktops." from the Final criteria.


Comment 33


Michael Catanzaro



2017-02-13 20:58:45 UTC

I would imagine the issue affects everyone....

It makes user switching worthless, since e.g. Evolution doesn't work at all after a log out and relogin until next reboot.


Comment 34


Jean-Pierre Rupp



2017-02-17 14:12:32 UTC

Not only the goa-daemon process stays running after logout, but a bunch of other processes as well. Shouldn't every process linked with a user's session be terminated when a user's session ends?


Comment 36


Christian Stadelmann



2017-05-09 08:27:00 UTC

(In reply to Dawid Zamirski from comment #2)
> I can reproduce this by following the steps below:
> 
> 1. On freshly booted system, start Evolution -> ok
> 2. Close Evolution
> 3. Logout (not reboot)
> 4. Login
> 5. Start Evolution -> Failed to retrieve credentials from keyring
> 6. Reboot
> 7. Start Evolution -> Ok
> 
> So this happens to me every time I logout and log back in to the system.

(In reply to Michael Catanzaro from comment #33)
> I would imagine the issue affects everyone....
> 
> It makes user switching worthless, since e.g. Evolution doesn't work at all
> after a log out and relogin until next reboot.

It is not that easy, I can't always reproduce this bug, it only happens rarely when following the steps above. Also, I noticed that sometimes closing and restarting evolution is enough to work around this bug – which is contrary to the explanations above. I am not sure I might be running into a separate bug though.


Comment 37


Jan Kurik



2017-05-25 08:43:40 UTC

Removing this bug from the list of Prioritized bugs as it is already on list of blockers.


Comment 38


Adam Williamson



2017-06-14 18:36:35 UTC

Ping? We are now out of the Beta phase, and Final blockers need to be fixed. Is anyone working on this?


Comment 39


David Demelier



2017-06-15 12:58:58 UTC

I'm affected by this bug as well.


Comment 40


Paul W. Frields



2017-06-19 13:33:59 UTC

Based on Workstation WG meeting, assigning to halfline for the moment; cschaller will follow up.


Comment 43


Fedora Update System



2017-06-24 03:07:36 UTC

gnome-session-3.24.1-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Comment 44


Brian J. Murrell



2017-06-24 17:49:46 UTC

Before we close and forget about this bug, can we have a fix for Fedora 25 since that's still what is current and stable and the version this bug was actually opened for?


Comment 45


Andre Robatino



2017-06-24 18:26:05 UTC

Removed the F26 Final Blocker status since it was pushed to F26 stable. Hope I did this correctly.


Comment 46


Adam Williamson



2017-06-27 01:10:41 UTC

May as well drop the whiteboard field too, to avoid confusion. Thanks, Andre!


Comment 47


Debarshi Ray



2017-07-14 10:13:07 UTC

Reassigning to gnome-session, since that is where the patches are.


Comment 48


Mark Silence



2017-07-17 17:53:44 UTC

I still experience the behavior described in Bug 1338761, which is marked as a duplicate of this bug, in Fedora 26 with  gnome-session-3.24.1-2.fc26 installed. I find this in the log files, but the Credentials have expired message remains:

Jul 17 12:52:18 invention.inside.madasi.com gnome-keyring-daemon[1686]: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered


Comment 49


Nils Philippsen



2017-07-28 09:27:41 UTC

(In reply to Mark Silence from comment #48)
> I still experience the behavior described in Bug 1338761, ...

Same here.


Comment 50


Rob Riggs



2017-08-20 22:22:47 UTC

Please bump this to Fedora 26.  It still exists.

This has reached "most annoying defect of the decade" status for me.


Comment 51


Rob Riggs



2017-08-20 22:40:15 UTC

Also, https://bugzilla.redhat.com/show_bug.cgi?id=1417806 is marked as a duplicate of this defect, yet the steps to reproduce that defect is not the same as the one shown above for this one.  The only step needed to get "goa-daemon[xxx]: secret_password_lookup_sync() returned NULL" in the logs is to login.  It starts happening during initial login and continues forever.

Aug 19 12:29:16 emerald journal: secret_password_lookup_sync() returned NULL
Aug 19 12:29:16 emerald journal: /org/gnome/OnlineAccounts/Accounts/account_1377485001: Setting AttentionNeeded to TRUE because EnsureCredentials() failed with: No credentials found in the keyring (goa-error-quark, 4)
...
Aug 19 12:29:40 emerald journal: secret_password_lookup_sync() returned NULL

Either this bug is not the same and 1417806 was marked as a dupe of this one in error, or this defect still affects Fedora 26.


Comment 52


Christian Stadelmann



2017-08-21 09:44:55 UTC

(In reply to Christian Stadelmann from comment #36)
> (In reply to Dawid Zamirski from comment #2)
> > I can reproduce this by following the steps below:
> > 
> > 1. On freshly booted system, start Evolution -> ok
> > 2. Close Evolution
> > 3. Logout (not reboot)
> > 4. Login
> > 5. Start Evolution -> Failed to retrieve credentials from keyring
> > 6. Reboot
> > 7. Start Evolution -> Ok

I see this happen rarely on F26 too.


Comment 53


Jean-François Fortin Tam



2017-09-11 01:49:36 UTC

It happens to me all the time, sometimes once every few days, sometimes multiple times a day, and it's absolutely horrendous to have Evolution go AWOL on you and drop connections or refuse to (re)connect to anything. That's without even logging out, as I only suspend/resume and start/close Evolution. Fedora 26 feels horrendously unproductive for me just because of this. Seems to happen on one machine (super fast 6th-gen Intel laptop) much more than the other (2008 era) so I wouldn't be surprised if this was some race condition.


Comment 54


Fedora End Of Life



2017-11-16 19:00:55 UTC

This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.


Comment 56


Rob Riggs



2018-02-04 17:33:27 UTC

It is possible that removing an old ~/.config/goa-1.0/accounts.conf file has resolved the problem for me.


Comment 57


Rob Riggs



2018-02-10 02:17:38 UTC

Since removing the old accounts.conf file, the goa-daemon has been running and functioning normal.


Comment 58


Fedora End Of Life



2018-02-20 15:22:59 UTC

This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.


Comment 59


Garrett Mitchener



2019-01-14 20:38:47 UTC

I just ran into this again on Fedora 29. My X11 session crashed, and when I logged in again, I can't sign in to google through Gnome.


Comment 60


Milan Crha



2019-01-15 09:22:55 UTC

(In reply to Garrett Mitchener from comment #59)
> I just ran into this again on Fedora 29. My X11 session crashed, and when I
> logged in again, I can't sign in to google through Gnome.

Does the whole machine restart help? If not, what is the exact error message, please?


Comment 61


Christian Stadelmann



2019-01-16 19:32:34 UTC

(In reply to Milan Crha from comment #60)
> (In reply to Garrett Mitchener from comment #59)
> > I just ran into this again on Fedora 29. My X11 session crashed, and when I
> > logged in again, I can't sign in to google through Gnome.
> 
> Does the whole machine restart help? If not, what is the exact error
> message, please?

I have not seen this issue in a very long time, but when I did, restarting the computer always helped. So did logging in to a tty and killing all the processes by that user.


Comment 62


Garrett Mitchener



2019-01-16 21:34:04 UTC

I managed to restart goa-daemon manually, and it's all working now. I suspect restarting the whole machine also fixes the problem.

The trouble is that there's no error message anywhere that I can find. I go to Settings, Online Accounts, and see that my Google credentials have expired. So I click on the Google account, go through all the screens to enter my password, and get back to the Settings window, and it still shows that my credentials have expired. And if I click again, enter my password, etc., same result, credentials still expired. But I never get an error message.

What must have happened is that when X crashed, somehow goa-daemon didn't get restarted properly.

In looking through journalctl --user, I see a few lines like this:

gnome-keyring-daemon[880393]: asked to register item /org/freedesktop/secrets/collection/login/414, but it's already registered

and I don't really see anything else that looks relevant.


Comment 63


Ben Cotton



2019-05-02 19:23:36 UTC

This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


Comment 64


Ben Cotton



2019-05-02 19:43:29 UTC

This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


Comment 65


wintonian



2019-05-04 06:56:56 UTC

Just experienced the behaviour in #1338761 running Fedora 30

A restart does solve the issue.

In this case wayland crashed sending me back to GDM and the credentials expired error was then apparent for all online accounts.


Comment 66


Brian J. Murrell



2019-10-30 10:12:07 UTC

I got here by way of bug 1417806 which was closed as a duplicate of this.  I am getting:

Oct 30 06:09:11 pc.example.com goa-daemon[14638]: secret_password_lookup_sync() returned NULL

messages in my journal.

It's kind of surprising that this issue has been ongoing for over 3 years and still relevant and current.


Comment 67


Brian J. Murrell



2019-10-30 15:20:29 UTC

Even restarting goa-daemon doesn't seem to resolve it's constant complaining:

Oct 30 06:09:11 pc.example.com goa-daemon[14638]: secret_password_lookup_sync() returned NULL


Comment 68


Zbigniew Jędrzejewski-Szmek



2019-11-13 12:49:52 UTC

> goa-daemon[14638]: secret_password_lookup_sync() returned NULL

Yeah, my logs are full of that shit too. I opened #1753129 a while back.


Comment 69


Paul Jakma



2020-01-22 16:51:00 UTC

I use Mate and was constantly running into this issue. The solution for me has been to run:

/usr/libexec/goa-daemon --replace

If I do that, the problem is fixed.

I have added this command to the startup applications in Mate, via the Mate UI for this.


Comment 70


Brian J. Murrell



2020-01-22 16:54:30 UTC

This is not a "fix" (as in we can close this ticket), this is a hacky work-around at best.

The root issue still need to be fixed so that these kinds of hacks are not necessary.

That said, the Version: is 30.  I wonder if anyone is hitting this in Fedora 31.  If so, please come here and update the Version: to 31.


Comment 71


Debarshi Ray



2020-02-12 13:11:57 UTC

I think we are mixing up various unrelated problems into this one bug report.

This bug isn't really about goa-daemon per se. The GNOME Online Accounts D-Bus service offered by goa-daemon is only the thing that shows the worst symptoms. This bug is about D-Bus services running on the user or session bus not getting stopped once the user has logged out. Terminating the D-Bus services is the responsibility of the components in charge of defining the lifetime of the GNOME session. eg., gnome-session.

To verify that, log out of your GNOME session, then log in through the Linux console (ctrl+alt+f3 and such) and check if you have any left over processes (eg., ps aux | grep goa).

The errors from secret_password_lookup_sync() are a different issue, and not relevant to gnome-session. Let's use a different bug for it.


Comment 72


Debarshi Ray



2020-02-12 13:16:51 UTC

It's not clear to me why this bug got reopened between comment 44 and comment 45.

I am not the gnome-session maintainer, neither upstream nor downstream, so I cannot comment whether the fixes should have been backported to Fedora 25 or not. Either way, the issue no longer relevant because all currently supported Fedoras are fixed.

Closing.


Comment 73


Brian J. Murrell



2020-06-01 11:29:48 UTC

Can somebody with permission please reopen this and set the Version: to 32.  This still happens.

$ journalctl -S -24h | grep 'secret_password_lookup_sync() returned NULL' | wc -l
17401
$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	Fedora
Description:	Fedora release 32 (Thirty Two)
Release:	32
Codename:	ThirtyTwo


Comment 74


Milan Crha



2020-06-01 12:07:47 UTC

(In reply to Brian J. Murrell from comment #73)
> Can somebody with permission please reopen this and set the Version: to 32. 
> This still happens.
> 
> $ journalctl -S -24h | grep 'secret_password_lookup_sync() returned NULL' |
> wc -l
> 17401

It's not necessarily this bug, is it? Can you confirm that the goa-daemon process ID (the first column of `ps ax | grep goa-daemon`) did not change after you log out and then log in again? I know you mentioned this error in the log earlier, but, from my point of view, this bug is not about that error, it's about properly stopping services on user's logout.

There is even some (systemd?) option, which can influence this (close session or logout) and which probably wasn't set in the previous version(s) of Fedora. I noticed somewhere some note about it, I only do not recall where it was and what exactly it was. I'm sorry.


Comment 75


Michael Catanzaro



2020-06-01 13:19:31 UTC

Since Rishi resolved bug #1417806 as a duplicate of this issue, and the issue is still occurring, one bug or the other needs to be reopened.


Comment 76


Fedora Program Management




2021-04-29 16:49:59 UTC

This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


Comment 77


Ben Cotton



2021-05-25 17:14:14 UTC

Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Модератор: SLEDopit

Ответить

  • Версия для печати

Расширенный поиск

5 сообщений
• Страница 1 из 1

Аватара пользователя

kerogaz

Сообщения: 916
ОС: CentOS,FreeBSD 12.1,Arch

Что такое goa-daemon выжирающий 96 Gb ?

  • Цитата

Сообщение

kerogaz » 14.02.2019 09:27

Изображение

CentOS 7.6. Графическая оболочка MATE. Демон начал появляться сегодня. Нужен ли он вообще а если не очень нужен как от него избавиться поскольку очень уж много он берет?

Спасибо сказали:

Вернуться к началу

Аватара пользователя

kerogaz

Сообщения: 916
ОС: CentOS,FreeBSD 12.1,Arch

Re: Что такое goa-daemon выжирающий 96 Gb ?

  • Цитата

Сообщение

kerogaz » 14.02.2019 10:09

Я прочитал что goa-daemon появился лишь в Gnome 3.2 а у меня Mate (Gnome 2)

«
pacman -Qo /path/to/goa-daemon
you will find out that is from gnome-online-accounts. is a new feature from gnome 3.2 that handles online accounts and automatically configuring services like chat, calendar, documents and email.»

http://library.gnome.org/misc/release-notes/3.2/

Спасибо сказали:

Вернуться к началу

Аватара пользователя

kerogaz

Сообщения: 916
ОС: CentOS,FreeBSD 12.1,Arch

Re: Что такое goa-daemon выжирающий 96 Gb ?

  • Цитата

Сообщение

kerogaz » 14.02.2019 14:40

Вот нашел https://www.reddit.com/r/linuxquestions/comments/98wne6/gnome_process_taking_96g_of_virtual_memory/

Спасибо сказали:

Вернуться к началу

Аватара пользователя

Bizdelnick

Модератор
Сообщения: 19825
Статус: nulla salus bello
ОС: Debian GNU/Linux

Re: Что такое goa-daemon выжирающий 96 Gb ?

  • Цитата

Сообщение

Bizdelnick » 14.02.2019 15:46

Ну это ж виртуальная память. Он не выжирает, а только ротик разевает.

Пишите правильно:

в консоли
вку́пе (с чем-либо)
в общем
вообще
в течение (часа)
новичок
нюанс
по умолчанию
приемлемо
проблема
пробовать
трафик

Спасибо сказали:

Вернуться к началу

Аватара пользователя

s.xbatob

Сообщения: 1139
ОС: Fedora

Re: Что такое goa-daemon выжирающий 96 Gb ?

  • Цитата

Сообщение

s.xbatob » 15.02.2019 17:31

В любом случае — а он вообще для чего-то полезен?

Спасибо сказали:

Вернуться к началу

Ответить

  • Версия для печати

Показать:
Поле сортировки:
Порядок:


5 сообщений
• Страница 1 из 1

Вернуться в «Администрирование»

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

rsholmes

Level 2
Level 2
Posts: 55
Joined: Sat Jun 30, 2018 8:31 am

[SOLVED] Online Accounts, «expired» Google account cannot be resumed

In Online Accounts it says Google credentials have expired.

I tried signing back in, all seemed normal, but once done it still said credentials were expired.

I tried removing and reinstating the Google account, it still says expired.

I tried /usr/libexec/goa-daemon —replace and got:

Code: Select all

goa-daemon-Message: 22:30:55.852: goa-daemon version 3.44.0 starting

(goa-daemon:3890419): GoaBackend-WARNING **: 22:30:57.400: secret_password_lookup_sync() returned NULL
goa-daemon-Message: 22:30:57.400: /org/gnome/OnlineAccounts/Accounts/account_1662776901_0: Setting AttentionNeeded to TRUE because EnsureCredentials() failed with: No credentials found in the keyring (goa-error-quark, 4)

and the command does not terminate.

Code: Select all

$ inxi -Fxxxrz
System:
  Kernel: 5.15.0-46-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: Cinnamon 5.4.12 tk: GTK 3.24.33 wm: Mutter vt: 7
    dm: LightDM 1.30.0 Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: System76 product: Wild Dog Pro v: wilp14
    serial: <superuser required> Chassis: type: 3 v: wilp14
    serial: <superuser required>
  Mobo: Gigabyte model: Z370 HD3P-CF v: x.x serial: <superuser required>
    UEFI: American Megatrends v: F5 Z5 date: 12/15/2017
CPU:
  Info: 6-core model: Intel Core i5-8400 bits: 64 type: MCP
    smt: <unsupported> arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB
    L3: 9 MiB
  Speed (MHz): avg: 3800 min/max: 800/4000 cores: 1: 3800 2: 3800 3: 3800
    4: 3800 5: 3800 6: 3800 bogomips: 33599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630]
    vendor: Gigabyte CometLake-S driver: i915 v: kernel ports: active: HDMI-A-1
    empty: DP-1,HDMI-A-2,HDMI-A-3 bus-ID: 00:02.0 chip-ID: 8086:3e92
    class-ID: 0300
  Device-2: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-8.4:15 chip-ID: 046d:082d
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
    s-diag: 582mm (22.9")
  Monitor-1: HDMI-1 mapped: HDMI-A-1 model: Dell S2715H serial: <filter>
    res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2")
    diag: 686mm (27") modes: max: 1920x1080 min: 720x400
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a2f0
    class-ID: 0403
  Device-2: C-Media TONOR TC30 Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-8.3:16
    chip-ID: 0d8c:0134 class-ID: 0300 serial: <filter>
  Device-3: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-8.4:15 chip-ID: 046d:082d
    class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.15.0-46-generic running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.99.1 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Intel Wireless 8260 driver: N/A pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 08:00.0 chip-ID: 8086:24f3 class-ID: 0280
  Device-3: Ralink RT5572 Wireless Adapter type: USB driver: rt2800usb
    bus-ID: 1-11:27 chip-ID: 148f:5572 class-ID: 0000 serial: <filter>
  IF: wlx9cefd5fdd05e state: up mac: <filter>
  IF-ID-1: anbox0 state: down mac: <filter>
  IF-ID-2: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-14:9 chip-ID: 8087:0a2b class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.2 sub-v: 100 hci-v: 4.2 rev: 100
Drives:
  Local Storage: total: 2.27 TiB used: 937.71 GiB (40.3%)
  ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO M.2 500GB
    size: 465.76 GiB speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1B6Q
    scheme: GPT
  ID-2: /dev/sdb type: USB vendor: Western Digital
    model: WD My Passport 25E2 size: 1.82 TiB type: N/A serial: <filter>
    rev: 4005 scheme: MBR
Partition:
  ID-1: / size: 456.89 GiB used: 240.05 GiB (52.5%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 12 GiB used: 5.39 GiB (44.9%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 90.0 C mobo: 16.8 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 3628 apt: 3606 flatpak: 19 snap: 3
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/bit-team-stable-jammy.list
    1: deb http://ppa.launchpad.net/bit-team/stable/ubuntu jammy main
  No active apt repos in: /etc/apt/sources.list.d/celestia-bintray.list
  Active apt repos in: /etc/apt/sources.list.d/git-core-ppa-jammy.list
    1: deb http://ppa.launchpad.net/git-core/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/home:manuelschneid3r.list
    1: deb http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_22.04/ /
  Active apt repos in: /etc/apt/sources.list.d/kdenlive-kdenlive-stable-jammy.list
    1: deb http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/kicad-kicad-6_0-releases-jammy.list
    1: deb http://ppa.launchpad.net/kicad/kicad-6.0-releases/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vanessa main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 335 Uptime: 29d 5h 42m wakeups: 268 Memory: 7.64 GiB
  used: 4.99 GiB (65.3%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.2.0 alt: 11/9 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13

Last edited by rsholmes on Thu Feb 02, 2023 10:47 am, edited 3 times in total.

rpbrown1952

Level 1
Level 1
Posts: 13
Joined: Mon Jun 06, 2016 12:55 am
Location: Denmark, OR, USA

Re: Online Accounts, «expired» Google account cannot be resumed

Post

by rpbrown1952 » Sat Sep 17, 2022 6:01 pm

I’m having the exact same problem. I’ve tried removing and re-entering my account information several times, but always get the same «expired» message. I also went to «Passwords and Keys» and removed the entry:

{‘authorization_code’: <‘4/0ARtbsJp6RE3W3Kt4MHCqou4mwsn3I-CazmhBiujA9i28vIPGglQH-QzC5MJE6BuT6Ob9_Q’>, ‘access_token’: <‘ya29.a0Aa4xrXOVMLCDNpJOzBtj2gNiAkivYXC0ftS7IrnVld8dk8bx0DyahK3H6iSJ7Xtv4oY03uBQnJMpkQBLUWr4RUh_0FEMbdb3isbsvKEM44PnQViJElb2OBtxqzbpLrEMkUBRFdR0mUmg-eCSAIiuPL31ac0yaCgYKATASARISFQEjDvL9kbFP7vRIc8yuKpMHxhVnOw0163’>, ‘access_token_expires_at’: <int64 1663445946566349>, ‘refresh_token’: <‘1//06xkBkRD0YQRHCgYIARAAGAYSNwF-L9Ir4enKom790SymMak5YflA9AUteFhF_BWevWUpTmhwyFzZCQil8vAFvQXLrX7NLwrW21A’>}

and reentered my account information. That did not help either. I am able to login to my google account with no problem using both Firefox and Thunderbird.

Here is my system info:

Code: Select all

System:
  Kernel: 5.15.0-47-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: Cinnamon 5.4.12
    tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Dell product: Latitude E7450 v: N/A serial: <superuser required> Chassis:
    type: 9 serial: <superuser required>
  Mobo: Dell model: 06HN6G v: A00 serial: <superuser required> UEFI: Dell v: A24
    date: 04/11/2020
Battery:
  ID-1: BAT0 charge: 21.2 Wh (78.2%) condition: 27.1/47.7 Wh (56.8%) volts: 7.8 min: 7.4
    model: SMP DELL 909H538 serial: <filter> status: Discharging
CPU:
  Info: dual core model: Intel Core i7-5600U bits: 64 type: MT MCP arch: Broadwell rev: 4 cache:
    L1: 128 KiB L2: 512 KiB L3: 4 MiB
  Speed (MHz): avg: 3092 high: 3111 min/max: 500/3200 cores: 1: 3109 2: 3093 3: 3111 4: 3056
    bogomips: 20750
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915 v: kernel ports: active: eDP-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:1616
  Device-2: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-1.6:4
    chip-ID: 1bcf:2b8d
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting unloaded: fbdev,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: eDP-1 model: LG res: 1920x1080 dpi: 158 diag: 355mm (14")
  OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: Intel Broadwell-U Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:160c
  Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0
  Sound Server-1: ALSA v: k5.15.0-47-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I218-LM vendor: Dell driver: e1000e v: kernel port: f080
    bus-ID: 00:19.0 chip-ID: 8086:15a2
  IF: eno1 state: down mac: <filter>
  Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 02:00.0 chip-ID: 8086:095a
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-1.3:3
    chip-ID: 8087:0a2a
  Report: hciconfig ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
    sub-v: 1000
Drives:
  Local Storage: total: 931.51 GiB used: 225.1 GiB (24.2%)
  ID-1: /dev/sda vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 915.32 GiB used: 225.1 GiB (24.6%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 3 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
  Hub-2: 1-1:2 info: Intel Integrated Hub ports: 8 rev: 2.0 speed: 480 Mb/s chip-ID: 8087:8001
  Device-1: 1-1.3:3 info: Intel Bluetooth wireless interface type: Bluetooth driver: btusb
    rev: 2.0 speed: 12 Mb/s chip-ID: 8087:0a2a
  Device-2: 1-1.6:4 info: Sunplus Innovation Integrated_Webcam_HD type: Video driver: uvcvideo
    rev: 2.0 speed: 480 Mb/s chip-ID: 1bcf:2b8d
  Device-3: 1-1.7:5
    info: Broadcom BCM5880 Secure Applications Processor with fingerprint swipe sensor
    type: Smart Card driver: N/A rev: 1.1 speed: 12 Mb/s chip-ID: 0a5c:5804
  Hub-3: 2-0:1 info: Hi-speed hub with single TT ports: 11 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Hub-4: 3-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: 61.0 C mobo: 36.0 C sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: 2626 apt: 2613 flatpak: 13
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
    1: deb [arch=amd64] http: //dl.google.com/linux/earth/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirrors.ocf.berkeley.edu/linuxmint-packages vanessa main upstream import backport
    2: deb http: //ftp.usf.edu/pub/ubuntu jammy main restricted universe multiverse
    3: deb http: //ftp.usf.edu/pub/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //ftp.usf.edu/pub/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 231 Uptime: 5h 33m Memory: 15.5 GiB used: 2.16 GiB (13.9%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.2.0 alt: 11 Client: Unknown python3.10 client inxi: 3.3.13

BillyLinux

Level 1
Level 1
Posts: 49
Joined: Wed Sep 07, 2022 6:09 am

Re: Online Accounts, «expired» Google account cannot be resumed

Post

by BillyLinux » Wed Jan 11, 2023 12:52 pm

I was having the same problem in Vera.
I looked in «Password and Keys». For whatever reason there were 3 entries in there. I highlighted each one and deleted. I was then able to go through the on-line accounts process again, going through the Google 2FA process once more and all is fine. The LM calendar works a treat.

rsholmes

Level 2
Level 2
Posts: 55
Joined: Sat Jun 30, 2018 8:31 am

mikeflan

Level 13
Level 13
Posts: 4776
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

rsholmes

Level 2
Level 2
Posts: 55
Joined: Sat Jun 30, 2018 8:31 am

Re: Online Accounts, «expired» Google account cannot be resumed

Post

by rsholmes » Sun Jan 15, 2023 1:33 pm

Online Accounts is in Preferences:

Screenshot from 2023-01-15 12-04-39.png

Going there I found «Credentials have expired»:

Screenshot from 2023-01-15 12-05-12.png

When I first encountered this several months ago I tried clicking Sign In and it put me through the Google sign in process, but still showed «Credentials have expired» when I was done.

Today (now using LM21.1) I tried signing in again and when done it no longer showed «Credentials have expired». However my Google calendars were still not appearing in Calendar.

I went into Passwords and Keys and found, besides a whole bunch of very out of date Google Chrome passwords despite Chrome’s saying it knew of none, several «GOA google credentials» entries.

Screenshot from 2023-01-15 12-18-06.png

I deleted all these. Then Online Accounts was showing «Credentials have expired» again. I signed in again, «Credentials have expired» went away. I clicked on «Google Accounts» and disabled and then re-enabled Calendar. Then and only then did my Google calendars appear in Calendar.

I conclude that whatever the problem was before, it is now gone, so I am marking this Solved.

rsholmes

Level 2
Level 2
Posts: 55
Joined: Sat Jun 30, 2018 8:31 am

Re: Online Accounts, «expired» Google account cannot be resumed

Post

by rsholmes » Mon Jan 30, 2023 11:54 pm

I have removed the «solved» tag from the title because this problem has recurred. This time there was only one GOA google credentials entry in Passwords and Keys, and deleting that, and deleting and re-adding Google in Online Accounts, didn’t work; it still says «expired». As for disabling the «Use for» entries — they were all disabled when I finished signing in. So I’m back at square one.

gccwebhosting

Level 1
Level 1
Posts: 3
Joined: Thu Dec 15, 2022 5:33 am

Re: Online Accounts, «expired» Google account cannot be resumed

Post

by gccwebhosting » Thu Feb 02, 2023 9:45 am

An expired Google account means that the account has been inactive for a certain period of time and Google has deactivated it. If your Google account has been deactivated due to inactivity, it may not be possible to resume it, as Google’s policy is to periodically clean up inactive accounts to free up resources.
To avoid losing access to your Google account, it’s important to regularly log into your account and use it, or to set up account activity notifications to be alerted if your account becomes inactive.
If your Google account has been deactivated, you may be able to create a new account with a different email address. However, any data, such as emails, contacts, and files stored in your expired account, will be lost and cannot be recovered.
In conclusion, it’s best to regularly log into and use your online accounts to avoid having them become inactive and potentially being deactivated.

rsholmes

Level 2
Level 2
Posts: 55
Joined: Sat Jun 30, 2018 8:31 am

Re: Online Accounts, «expired» Google account cannot be resumed

Post

by rsholmes » Thu Feb 02, 2023 10:47 am

mfreeman wrote: ↑

Thu Feb 02, 2023 4:20 am


I haven’t tried it yet, but here’s a post that might give us a possible (albeit messy) workaround: viewtopic.php?t=306587

Thank you. I’ve implemented the killall startup command and so far, after a login cycle and a reboot cycle, account is still enabled. I will mark this solved (again).

Also, the bug report bug report I filed on the gnome-online-accounts gitlab four months ago… has not been responded to or acted upon in any way. On further examination it appears to be the same issue as #52, posted three years ago, which… has not been responded to or acted upon in any way.

mfreeman

Level 4
Level 4
Posts: 268
Joined: Thu Jan 21, 2010 3:11 am

Re: Online Accounts, «expired» Google account cannot be resumed

Post

by mfreeman » Thu Feb 02, 2023 11:48 am

gccwebhosting wrote: ↑

Thu Feb 02, 2023 9:45 am


An expired Google account means that the account has been inactive for a certain period of time and Google has deactivated it. If your Google account has been deactivated due to inactivity, it may not be possible to resume it, as Google’s policy is to periodically clean up inactive accounts to free up resources.
To avoid losing access to your Google account, it’s important to regularly log into your account and use it, or to set up account activity notifications to be alerted if your account becomes inactive.
If your Google account has been deactivated, you may be able to create a new account with a different email address. However, any data, such as emails, contacts, and files stored in your expired account, will be lost and cannot be recovered.
In conclusion, it’s best to regularly log into and use your online accounts to avoid having them become inactive and potentially being deactivated.

This is definitely *not* the case. Online Accounts *falsely reports* that your account has expired, but only after a login/logout. After a reboot, it is active again. The problem is, if I’ve read correctly, that goa-daemon is not being shutdown correctly at logout, while the keyring is. So Online Accounts gets discconnected from the keyring, can’t reconnect to the new keyring after login, and so can no longer confirm login info and reports an expired account. This happens with all accounts, all at once, not just Google. It happens with my Microsoft Exchange account as well. This is a bug issue, not a deactivated account issue.

gostal

Posts: 71
Joined: 2019/09/23 15:26:45

[solved] goa-daemon spams journal

For some time the systemd journal has been flooded with entries like this:

Code: Select all

goa-daemon[9273]: Unsupported account type (null) for ID account_1616788539_36321 (no provider)

There is a closed but unresolved bug on Red Hat mentioning the same problem:
https://bugzilla.redhat.com/show_bug.cgi?id=1722210
where it says that it helps temporarily to delete ~/.config/goa-1.0/accounts.conf so I did but only to find that the journal is flooded with:

Code: Select all

... telepathy-haze[21773]: Exiting

instead.

Now, it doesn’t seem to affect computer performance to any appreciable extent but if the journal is to be of any practical use in troubleshooting it’s no good if relevant lines are obscured by a flood of goa-daemon messages or similar.

Is there any remedy to this problem? I would be glad if there is.

Cheers,
gostal

Update: Rebooted yesterday 20h 40 m ago more or less. Since then the goa-daemon has spammed the journal no less than 2782997 times which is about 37 times/s on average. telepathy-haze has occurred about 2.3 times per minute. This is really annoying! I recently installed CentOS 7 on another machine and on that machine there is no ~/.config/goa-1.0/accounts.conf although goa-daemon is running also there. On this machine I got a new one during reboot and it is appended with a new entry about every 6 second. Here is a snip:

Code: Select all

[Account account_1621521272_167]
IsTemporary=true
SessionId=c0d08d49bce38749479f386f60a67026

[Account account_1621521888_290]
IsTemporary=true
SessionId=a096deb2be367ae90b712c1660a67034

[Account account_1621522338_380]
IsTemporary=true
SessionId=a096deb2be367ae90b712c1660a67034

[Account account_1621523708_654]
IsTemporary=true
SessionId=a096deb2be367ae90b712c1660a67034

[Account account_1621524958_904]
IsTemporary=true
SessionId=a096deb2be367ae90b712c1660a67034

...

At the moment the file is 313103 bytes and growing.

Please help!

Cheers,
gostal

Last edited by gostal on 2021/05/25 10:03:27, edited 1 time in total.

Desktop Dell T5810 Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz, 72 GB RAM, Radeon Pro WX 7100
CentOS 7.9.2009


gostal

Posts: 71
Joined: 2019/09/23 15:26:45

Re: goa-daemon spams journal

Post

by gostal » 2021/05/24 13:03:13

The number of goa-daemon-entries in the systemd journal is now (was rather) a staggering total of 3391766. ~/.config/goa-1.0/accounts.conf is now 1755112 bytes and growing ….. :( :evil: :!:

And I don’t even use gnome. It’s installed but I never use it.

Any idea what to do, anyone?

Desktop Dell T5810 Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz, 72 GB RAM, Radeon Pro WX 7100
CentOS 7.9.2009



gostal

Posts: 71
Joined: 2019/09/23 15:26:45

[solution] Re: goa-daemon spams journal

Post

by gostal » 2021/05/25 10:02:57

@pjsr2
Thank you!!! I had seen that page before but had not read it thoroughly. A bit further down there is this suggestion to modify the .service files like so:

Code: Select all

/usr/share/dbus-1/services/org.gnome.Identity.service

[D-BUS Service]
Name=org.gnome.Identity
Exec=/bin/false
 
and 
 
/usr/share/dbus-1/services/org.gnome.OnlineAccounts.service

[D-BUS Service]
Name=org.gnome.OnlineAccounts
Exec=/bin/false

reboot

Preventing the goa identity stuff from starting seemed like a good idea since I don’t use gnome anyway so I did this, logged out, logged in as root on tty2 and deleted ~/.config/goa-1.0/accounts.conf. During reboot ~/.config/goa-1.0/accounts.conf got recreated but its contents make much more sense now and there is no more spamming the systemd journal. :P

Desktop Dell T5810 Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz, 72 GB RAM, Radeon Pro WX 7100
CentOS 7.9.2009


Понравилась статья? Поделить с друзьями:
  • Go microsoft com fwlink linkid 866660 как исправить
  • Go microsoft com fwlink linkid 852747 как исправить
  • Glo ошибки индикация
  • Glo ошибка мигает
  • Glitchy error bar