No reauthentication when an account fails to authenticate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
account-polld (Ubuntu) |
Fix Released
|
Undecided
|
Niklas Wenzel | ||
account-polld (Ubuntu RTM) |
New
|
Undecided
|
Unassigned |
Bug Description
When an account fails to authenticate once, it needs to try to login again afterwards. However, the old error permanently prevents it from trying again.
As this happens very often to me on startup, I am almost never shown notifications.
Excerpt from the logs:
2014/10/19 17:23:15 Received Poll()
2014/10/19 17:23:15 Leaving poll for account 3 as penaly count is 1
2014/10/19 17:23:15 Starting poll for account 4
2014/10/19 17:23:15 Polling account 4
2014/10/19 17:23:15 Account 4 failed to authenticate: GDBus.Error:
2014/10/19 17:23:45 Poll for account 4 has timed out out after 30s
2014/10/19 17:23:45 Ending poll for account 4
2014/10/19 17:28:50 Received Poll()
2014/10/19 17:28:50 Starting poll for account 3
2014/10/19 17:28:50 Leaving poll for account 4 as penaly count is 1
2014/10/19 17:28:50 Polling account 3
2014/10/19 17:28:50 Account 3 failed to authenticate: GDBus.Error:
2014/10/19 17:29:20 Poll for account 3 has timed out out after 30s
2014/10/19 17:29:20 Ending poll for account 3
2014/10/19 17:34:25 Received Poll()
2014/10/19 17:34:25 Leaving poll for account 3 as penaly count is 1
2014/10/19 17:34:25 Starting poll for account 4
2014/10/19 17:34:25 Polling account 4
2014/10/19 17:34:25 Account 4 failed to authenticate: GDBus.Error:
2014/10/19 17:34:55 Poll for account 4 has timed out out after 30s
2014/10/19 17:34:55 Ending poll for account 4
2014/10/19 17:40:00 Received Poll()
2014/10/19 17:40:00 Starting poll for account 3
2014/10/19 17:40:00 Leaving poll for account 4 as penaly count is 1
2014/10/19 17:40:00 Polling account 3
2014/10/19 17:40:00 Account 3 failed to authenticate: GDBus.Error:
2014/10/19 17:40:30 Poll for account 3 has timed out out after 30s
2014/10/19 17:40:30 Ending poll for account 3
Related branches
- John Lenton (community): Approve
- Niklas Wenzel (community): Approve
-
Diff: 55 lines (+21/-6)2 files modifiedcmd/account-polld/account_manager.go (+1/-0)
cmd/account-polld/main.go (+20/-6)
Changed in account-polld (Ubuntu): | |
assignee: | nobody → Niklas Wenzel (nikwen) |
Changed in account-polld (Ubuntu): | |
status: | New → In Progress |
Changed in account-polld (Ubuntu): | |
status: | In Progress → Fix Released |