-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Prefect nightly task regularly times out waiting for dashboard to say it's reloading #1261
Comments
I took a closer look at this. When you manually tell the dashboard server to reload (i.e., visit So I'm less confident that extending the timeout will solve our issue here. There is probably a bug in the way that we are verifying the reload's success. Currently, prefect opens a browser and navigates to I think making a simple web request will be less complicated and work more reliably since we won't need to rely on a browser automation library, so I'll try that. This is what we do to reload the cache on the server. |
Actually, according to #1028, we need to run a browser. There is very little detail in the bug. But apparently they tried using my approach in the previous comment first, but it didn't work. So I will continue investigating the existing solution. |
It doesn't seem to be timing out anymore, probably thanks to #1379. But Prefect still says the reloading is failing, probably because it can't find the reloading message in the page content. I checked the lightsail logs, and the report server is indeed being reloaded, so I'm going to add a print statement to the Prefect task to see what content it's getting from the reload page. |
It timed out again for last night's run. We might need to add a call to |
Hey @edwinjue Just added you as a replacement for Nich! Can you help us update this issue? Please update:
Thanks! |
Overview
See prior context here. This isn't high priority now that we are aware of this bug, but we'd like to have confidence in our error reporting (i.e., if our logs indicate an error, it's actually an error).
Here is where the dashboard handles a reload request.
Here is where the nightly task issues the reload request and waits for the dashboard to indicate that it's reloading.
Action Items
The text was updated successfully, but these errors were encountered: