Connection errors should not increase the penalty count
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
account-polld (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When the device is not connected to the internet, polling a GMail account fails with "dial tcp: lookup www.googleapis.com: no such host". In that case, the penalty count of that account should not be increased in my opinion as that's mostly only a temporary problem.
For me this error often appears directly after boot before an internet connection could be established. Five minutes later, when trying to poll the account again, it won't do so because the penalty count is set to 1. Therefore, it takes a total of 10 minutes until the server is polled for the first time, which is far too long in my opinion.
Log file (the interval doesn't fit the 5 minute timeframe because I manually triggered the poll):
2014/10/21 10:03:58 Received Poll()
2014/10/21 10:03:58 Starting poll for account 3
2014/10/21 10:03:58 Starting poll for account 2
2014/10/21 10:03:58 Polling account 3
2014/10/21 10:03:58 Polling account 2
2014/10/21 10:03:58 Error while polling 3: Get https:/
2014/10/21 10:03:58 Poll for account 3 has failed: Get https:/
2014/10/21 10:03:58 Ending poll for account 3
2014/10/21 10:03:58 Error while polling 2: Get https:/
2014/10/21 10:03:58 Poll for account 2 has failed: Get https:/
2014/10/21 10:03:58 Ending poll for account 2
2014/10/21 10:04:07 Received Poll()
2014/10/21 10:04:07 Leaving poll for account 3 as penalty count is 1
2014/10/21 10:04:07 Leaving poll for account 2 as penalty count is 1
description: | updated |
summary: |
- account-polld fails with "dial tcp: lookup www.googleapis.com: no such - host" + Connection errors should not increase the penalty count |
Ok, this really turns out to appear due to a missing internet connection. I'll rephrase the bug.