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

Dashboard (or insight) fails to load #6285

Closed
1 of 3 tasks
leggetter opened this issue Oct 6, 2021 · 5 comments · Fixed by #7427
Closed
1 of 3 tasks

Dashboard (or insight) fails to load #6285

leggetter opened this issue Oct 6, 2021 · 5 comments · Fixed by #7427
Assignees
Labels
bug Something isn't working right feature/dashboards Feature Tag: Dashboards P1 Urgent, non-breaking (no crash but low usability)

Comments

@leggetter
Copy link
Contributor

leggetter commented Oct 6, 2021

Bug description

I quite frequently have problems where either an Insight or Dashboard does not load. In this case, the dashboard does not load.

Expected behavior

The Dashboard or Insight should load.

If the error is caused by a network issue of some sort (but, as mentioned, this happens a lot) then a different message in the center of the screen may be better.

How to reproduce

The following video shows the Dashboard as empty. However, it should not be empty.

posthog-failed-to-load.mp4

Environment

  • PostHog Cloud
  • self-hosted PostHog (ClickHouse-based), version/commit: please provide
  • self-hosted PostHog (Postgres-based, legacy), version/commit: please provide

Additional context

Thank you for your bug report – we love squashing them!

@leggetter leggetter added the bug Something isn't working right label Oct 6, 2021
@macobo macobo added the feature/dashboards Feature Tag: Dashboards label Oct 6, 2021
@macobo
Copy link
Contributor

macobo commented Oct 6, 2021

I haven't watched the video. Couple of clarifications though: Is this consistent? How to repro? Mind sharing a link?

@leggetter
Copy link
Contributor Author

Is this consistent?

No. You can perform the same action and sometimes it loads fine. Other times it fails.

How to repro?

See video. If you click around enough it'll eventually happen.

Mind sharing a link?

See video. Any dashboard should do.

@mariusandra
Copy link
Collaborator

A bit of refactor went into insights recently. This may help with some of the issues, however it probably won't solve the "error on all items" error.

Can you open the Chrome devtools network tabs and share what "Fetch/XHR" type requests fail and with what kind of response?

@paolodamico
Copy link
Contributor

Ping @leggetter for help here. Are you still experiencing this?

@paolodamico paolodamico added blocked P1 Urgent, non-breaking (no crash but low usability) labels Nov 25, 2021
@pauldambra pauldambra self-assigned this Nov 30, 2021
@pauldambra
Copy link
Member

I can't repro specifically this right now... but I'm tethered to my phone and on a slow connection so the dashboard insights were showing as having no matching events and suggesting I make edits while still loading

So currently distinguishing the difference between a dashboard/insight before it has finished loading and when it has finished and is empty is confusing...

slowloiading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right feature/dashboards Feature Tag: Dashboards P1 Urgent, non-breaking (no crash but low usability)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants