Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Retries for Network Connection Errors on Browser #681

Open
ajtran opened this issue Oct 9, 2018 · 2 comments
Open

Support Retries for Network Connection Errors on Browser #681

ajtran opened this issue Oct 9, 2018 · 2 comments

Comments

@ajtran
Copy link
Contributor

ajtran commented Oct 9, 2018

It seems like this is already supported for server side. It would be nice to have this supported on the browser as well.

@tomaszn
Copy link

tomaszn commented Oct 9, 2018

This feature would be very useful for "Hybrid Mobile Applications" which work also offline.
It was already suggested in #316 a year ago.

@rokob
Copy link
Contributor

rokob commented Mar 4, 2019

We actually already retry in certain situations because the underlying queue mechanism is shared across server/browser. However, we don't attempt to write to durable storage in the face of a persistent issue nor do we do any kind of backoff. The fix here would most likely to be adding exponential backoff and upping the number of retries. A later fix might be to write to something offline like local storage and sending it later, but I doubt the actual usefulness of those errors. It would be help for the PWA situation, but I think there are quite a few other things we would need to address as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants