Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

sync http endpoints unavailability should not pop up error messages to the front screen

  • /e/ version: 0.18
  • Device model(s): any

Summary

when cal/card/webdav sync endpoints are unavailable, Accountmanager pops the error message to the front screen.

The error message is hard for users to understand nor as with notifications easy to suppress. Unavailability is not "actionable" and not at all times relevant to the user.

The problem

Steps to reproduce

  1. make webdav sync endpoints unavailable in a sandbox

What is the current behavior?

  1. accountmanager will throw errors to the screen that are hard to interpret

What is the expected correct behavior?

  1. hide the error until a significant error counter or duration is reached

Technical informations

see the forum issues:

Solutions

Workaround

current sync interval are at 2 minutes for adressbook / calendar / tasks. With a longer interval span (30min) the likelihood of seeing availability problems is lessened.

Possible fixes

if unavailability is sustained for a longer time (1-2hrs), then maybe bubble up an notification with a helpful text ("x not synced for 1 hour"), possibly link to the status page of the service. Unavailability is not at all times relevant to the user.

The custom error page can be configured to be shown by the loadbalancer where /e/ has control or saved for the account at creation time. Exponential back-off mechanism can be used to not retry every 2 minutes to ease network load on errors.

Edited by tcecyk