RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1260401 - Google email account not working in longer running sessions (goa-daemon restart fixes things)
Summary: Google email account not working in longer running sessions (goa-daemon resta...
Keywords:
Status: CLOSED DUPLICATE of bug 1395728
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-online-accounts
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Debarshi Ray
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: gnome-online-accounts-rebase
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-06 12:25 UTC by David Jaša
Modified: 2017-03-10 20:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-10 20:22:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 751524 0 None None None 2016-11-15 12:31:21 UTC

Description David Jaša 2015-09-06 12:25:07 UTC
Description of problem:
I usually just suspend the laptop and resume it in different location. Sometimes, google account in evolution doesn't come up again. Executing /usr/libexec/goa-daemon --replace fixes things, restart of evolution* processes does not (thus assigning to g-o-a)

Version-Release number of selected component (if applicable):
gnome-online-accounts-3.14.4-2.el7.x86_64
evolution-3.12.11-15.el7.x86_64
evolution-data-server-3.12.11-23.el7.x86_64

How reproducible:
frequent (but takes time or network changes to hit the bug)

Steps to Reproduce:
1. configure google account in gnome-online-accounts
2. use the desktop in different locations
3.

Actual results:
at some point of time (or network location change), google email account won't come up again (showing red mark at the status icon in Evolution tree view)

Expected results:
google account works seamlessly

Additional info:
what are the debug variables for goa-daemon?

Comment 1 David Jaša 2015-10-01 19:15:38 UTC
So I managed to hit the bug. When the bug happens, goa prints for google accounts this:

(goa-daemon:21913): GoaBackend-DEBUG: Retrieved keyring credentials for id: account_1438345019_2
(goa-daemon:21913): GoaBackend-DEBUG: Refreshing locally cached credentials (expires in -8462 seconds, force_refresh=0)
(goa-daemon:21913): GoaBackend-DEBUG: Retrieved keyring credentials for id: account_1431960086_3
(goa-daemon:21913): GoaBackend-DEBUG: Refreshing locally cached credentials (expires in -10202 seconds, force_refresh=0)


FWIW, most creds refreshes look like this:
(goa-daemon:21913): GoaBackend-DEBUG: Retrieved keyring credentials for id: account_1438345019_2
(goa-daemon:21913): GoaBackend-DEBUG: Returning locally cached credentials (expires in 3090 seconds)
(goa-daemon:21913): GoaBackend-DEBUG: Retrieved keyring credentials for id: account_1431960086_3
(goa-daemon:21913): GoaBackend-DEBUG: Returning locally cached credentials (expires in 1350 seconds)

And these with force refreshes also work:
(goa-daemon:21913): GoaBackend-DEBUG: Retrieved keyring credentials for id: account_1438345019_2
(goa-daemon:21913): GoaBackend-DEBUG: Refreshing locally cached credentials (expires in -8462 seconds, force_refresh=0)
(goa-daemon:21913): GoaBackend-DEBUG: Retrieved keyring credentials for id: account_1431960086_3
(goa-daemon:21913): GoaBackend-DEBUG: Refreshing locally cached credentials (expires in -10202 seconds, force_refresh=0)


So some kind of integer overflow?

Comment 2 Andrew Dingman 2015-12-15 20:47:36 UTC
I see the same behavior on Fedora 23.

Comment 3 Andrew Dingman 2015-12-15 20:56:20 UTC
I think this may be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1259434

Comment 4 Andrew Dingman 2015-12-15 21:16:56 UTC
Upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=759515

Comment 6 David Jaša 2016-11-14 18:47:36 UTC
It's been fixed for a year already upstream, could we have a backport for 7.4, please?

Comment 7 Debarshi Ray 2016-11-15 12:35:45 UTC
(In reply to David Jaša from comment #6)
> It's been fixed for a year already upstream, could we have a backport for
> 7.4, please?

Sure. It will be fixed as part of bug 1386953.

Comment 8 Debarshi Ray 2017-03-10 20:22:49 UTC
> what are the debug variables for goa-daemon?

This is now in place:
https://wiki.gnome.org/Projects/GnomeOnlineAccounts/Debugging

(In reply to David Jaša from comment #1)
> So I managed to hit the bug. When the bug happens, goa prints for google
> accounts this:
> 
> (goa-daemon:21913): GoaBackend-DEBUG: Retrieved keyring credentials for id:
> account_1438345019_2
> (goa-daemon:21913): GoaBackend-DEBUG: Refreshing locally cached credentials
> (expires in -8462 seconds, force_refresh=0)
> (goa-daemon:21913): GoaBackend-DEBUG: Retrieved keyring credentials for id:
> account_1431960086_3
> (goa-daemon:21913): GoaBackend-DEBUG: Refreshing locally cached credentials
> (expires in -10202 seconds, force_refresh=0)

These negative time intervals are definitely useful information! Thanks, David.

(In reply to Andrew Dingman from comment #3)
> I think this may be a duplicate of
> https://bugzilla.redhat.com/show_bug.cgi?id=1259434

(In reply to Andrew Dingman from comment #4)
> Upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=759515

(In reply to David Jaša from comment #6)
> It's been fixed for a year already upstream, could we have a backport for
> 7.4, please?

If that's indeed the case, then this is a duplicate of 1395728.

If it isn't, then please file another bug, and look for things like negative intervals in the logs.

*** This bug has been marked as a duplicate of bug 1395728 ***


Note You need to log in before you can comment on or make changes to this bug.