Don’t notify for transient network errors #60
Replies: 2 comments 4 replies
-
+1 for this. I'd like to also ignore transient errors for temporarily unavailable server. For example, one of my subscribed calendar is on a server (which is out of my control) that reports HTTP 503 from time to time. |
Beta Was this translation helpful? Give feedback.
-
This error is detected, and has been discussed on #72 and kind of been solved on #83. We are just waiting if there's a more elegant solution, or a fix by Google.
The issue is that the information provided by Android is wrong. We are already telling the worker to run only when Internet is available: But there's some kind of bug in Android which provides a wrong state, or a network change occurs before having time to fetch the new data from the server. I agree that maybe the solution might be not showing the error notification all the time, but I think, and I believe that @rfc2822 thinks the same, the best option would be to really find a fix, and not have workarounds like this. However, it's something that can surely be discussed.
Such an specific use case, but maybe we can think about this... It surely can be done. |
Beta Was this translation helpful? Give feedback.
-
Related to #45 but not quite the same.
I semi-regularly get notifications from ICSx⁵ (version 2.0.2-gplay) that say:
If I then go into the app and trigger another synchronization, a spinner is shown for a while and then the error notification goes away. I suspect the error happens when mobile reception is bad and the app temporarily cannot access the internet. It seems to happen only when I’m not at home (where I have reliable wifi). I can reproduce the same error message with a manual trigger while in airplane mode.
It’d be nicer not to show a notification for such cases when the server is (probably) temporarily unreachable, as opposed to having gone away entirely. For example:
Beta Was this translation helpful? Give feedback.
All reactions