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

UI loses state after being idle for a while #502

Closed
amygdala opened this issue Dec 8, 2018 · 7 comments
Closed

UI loses state after being idle for a while #502

amygdala opened this issue Dec 8, 2018 · 7 comments

Comments

@amygdala
Copy link
Contributor

amygdala commented Dec 8, 2018

I've noticed that when I return to the Pipelines UI after it sitting idle in a tab for a while, it seems to lose its state, in the sense that clicking on something (e.g. clicking on an experiment, or clicking on a run to clone it), will give some kind of 'not found' error. I get this a lot, so it should be fairly easy to repro. (can add screenshots from next time I see it if that would be helpful).
Reloading the page fixes things.

@yebrahim
Copy link
Contributor

yebrahim commented Dec 8, 2018

I'm assuming you're running behind IAP? Does reloading redirect you to Google OAuth screen?

@yebrahim
Copy link
Contributor

yebrahim commented Dec 8, 2018

/area front-end

@amygdala
Copy link
Contributor Author

amygdala commented Dec 8, 2018

I am not 100% sure if I've only seen it behind IAP, but could be.
No, reloading just re-renders the page.
That's a good thought though -- it might well be IAP-related.

@yebrahim
Copy link
Contributor

yebrahim commented Dec 8, 2018

Cool, is it ok to close this and re-open if it repo's without IAP then?

@amygdala
Copy link
Contributor Author

amygdala commented Dec 8, 2018

Sure... though, if that is the source of the problem, I think the displayed error will be confusing to users (it doesn't look like an auth error), and we might think about how we could make it a bit friendlier.

@yebrahim
Copy link
Contributor

yebrahim commented Dec 8, 2018

That's true, although there's no way for the UI to distinguish between IAP issues and other sources of connection loss with the backend, but we can at least make the error a little better, something like "Could not connect to the backend. Try refreshing the page."

Let's close this one to keep it tracking potential IAP issues, and I'll open a different issue to track making the disconnected message more friendly.

@amygdala
Copy link
Contributor Author

amygdala commented Dec 8, 2018

SGTM -- closing it. Let's also keep an ear out for reports of this happening outside the IAP setup, in case we've misdiagnosed.

@amygdala amygdala closed this as completed Dec 8, 2018
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this issue Oct 22, 2023
HumairAK pushed a commit to red-hat-data-services/data-science-pipelines that referenced this issue Mar 11, 2024
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