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

ArcGIS Server token request error handling with retry #31

Open
gassc opened this issue Sep 9, 2020 · 0 comments
Open

ArcGIS Server token request error handling with retry #31

gassc opened this issue Sep 9, 2020 · 0 comments

Comments

@gassc
Copy link
Member

gassc commented Sep 9, 2020

Currently, if the application can't get a token from the ArcGIS Server endpoint (on ROK Tech), we only show a message to the effect of "couldn't get the token, sorry". It doesn't attempt to retry the request.
image

Since the problem is fairly rare, a short term solution is in cfe8ef7, which advises the end-user to refresh the browser window. This almost always works.

The real solution of course is to attempt to retry acquiring that token using a randomized and exponential back-off and retry approach.

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

1 participant