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

Real-time visitors live widget don't refresh after live_widget_refresh_after_seconds "timed out" without new visits/actions on websites #15978

Closed
helifrank opened this issue May 24, 2020 · 4 comments · Fixed by #15987
Labels
Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@helifrank
Copy link

The real-time visitors live widget seems not to be fully recovered since Matomo 3.10.0 (possible with fix #14374).

After live_widget_refresh_after_seconds period "timed out" without any new visits/actions, the widget doesn't refresh anymore.

Only after a browser tab change or page refresh new visitors/actions during the live_widget_refresh_after_seconds period refreshing correctly in the real-time live widget, until the live_widget_refresh_after_seconds “timed out” again.

The live_widget_refresh_after_seconds period "timed out" without new visitors/actions.

I can reproduce this behavior since Matomo 3.10.0 with a clean installation, in my case on macOS with Safari and Chrome.

New visitors/actions on website during the default 5s interval (after viewing Matomo dashboard) are viewing/refreshing correctly. After no visitors/actions, e.g. for 20s, the widget doesn't refresh anymore (until a browser tab change or page refresh).

@tsteur
Copy link
Member

tsteur commented May 24, 2020

Thanks for creating this issue @helifrank
You mean in this case there was actually no single visitor in the last 24 hours for example and then you had to reload?

@helifrank
Copy link
Author

Thanks for your response @tsteur
I mean, that I have to reload or tab change, after live_widget_refresh_after_seconds (default 5 seconds) with no single visitor.
After a dashboard or widget refresh and visitors/clicks within less 5 seconds intervals, the widget updates the visitors actions, so long as visitor click within the interval again and again. After - for example - 20 seconds with no visitors, the widget updates not anymore new visits/actions.
With customized live_widget_refresh_after_seconds (for example 10 seconds) visitors actions is necessary within less 10 seconds that widget live updates works.

@tsteur tsteur added the Regression Indicates a feature used to work in a certain way but it no longer does even though it should. label May 26, 2020
@tsteur
Copy link
Member

tsteur commented May 26, 2020

Thanks @helifrank I was able to reproduce this. Created a fix for this in #15987

@sgiehl sgiehl added this to the 3.13.6 milestone May 26, 2020
@sgiehl sgiehl linked a pull request May 26, 2020 that will close this issue
@sgiehl sgiehl closed this as completed May 26, 2020
@helifrank
Copy link
Author

Thanks @tsteur. It works! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants