Skip to content

Web page frozen when displaying "all time" data  #2713

Closed

Description

@mquandalle

Past Issues Searched

  • I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

  • This is a bug report and not a feature request, nor asking for self-hosted support

Using official Plausible Cloud hosting or self-hosting?

Plausible Cloud from plausible.io

Describe the bug

Since a few days I can't display my stats page on Firefox, the page is loading, my fan starts spinning and I some point I have to kill it.

Expected behavior

No infinite loop, the page should load.

Screenshots

Peek 28-02-2023 16-13

Environment

- OS: Linux PopOS
- Browser: Firefox
- Browser Version: 109.0.1

Activity

  1. metmarkosaric commented on Feb 28, 2023

    @metmarkosaric
    Contributor

    thanks for reporting that @mquandalle! it seems related to changing the interval to daily as on default view it works fine. if you clear your browser cache, you should be able to see the default view again at least. we'll take a look at what's going on

  2. mquandalle commented on Feb 28, 2023

    @mquandalle
    Author

    Yes it seems related to the daily view. But even if I reload with clearing the cache (Ctrl + Maj + R) it still stays on the daily view and can't load the page (so I'm stuck I can't change to the monthly view as I cannot interact with the app). Also this is a regression as this view worked before.

  3. metmarkosaric commented on Feb 28, 2023

    @metmarkosaric
    Contributor

    could you try to clear the cookies and site date? then you can log back in and you should be able to view the default view again

    Screenshot from 2023-02-28 16-53-06

  4. mquandalle commented on Feb 28, 2023

    @mquandalle
    Author

    Yes, this works as a workaround, thanks

  5. a-alhusaini commented on Feb 28, 2023

    @a-alhusaini

    @metmarkosaric Is the page in question a liveview? This sort of error can easily occur when the liveview is doing way too much work (Like enumerating a list of users)

    Also, I am new to the codebase. Could you link me to the file that renders that page so I can take a look?

  6. metmarkosaric commented on Aug 8, 2023

    @metmarkosaric
    Contributor

    this has now been fixed. the default interval is now set to monthly on very long date ranges including those manually selected using custom range and it's no longer possible to choose daily interval on such long date ranges when there's so much data that it would end up freezing the browser

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions