Navigation Menu

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

Transitions popover sometimes fails to load - XHR request canceled #14935

Open
mfb opened this issue Oct 1, 2019 · 5 comments
Open

Transitions popover sometimes fails to load - XHR request canceled #14935

mfb opened this issue Oct 1, 2019 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@mfb
Copy link

mfb commented Oct 1, 2019

I've noticed that the transitions popover sometimes fails to load. The XHR request loading the transitions data shows up in Chrome as status "canceled" or in Firefox the request just doesn't have a status.

Not sure what causes this sporadic failure - perhaps it's something like if the underlying page loads faster than the popover, then something in the page causes the popover data request to be canceled?

This can be seen sporadically at URLs like /index.php?module=CoreHome&action=index&idSite=1&period=day&date=2019-09-29#?idSite=1&period=week&date=2019-09-29&category=Dashboard_Dashboard&subcategory=1&popover=RowAction$3ATransitions$3Aurl$3Ahttps$3A$2F$2Fwww.eff.org$2Fdeeplinks$2F2018$2F08$2Ftelling-truth-about-defects-technology-should-never-ever-ever-be-illegal-ever

@mattab
Copy link
Member

mattab commented Jan 21, 2020

@mfb Thanks for the report. When this happens, can you check your web server error log for the error message? Probably PHP is timing out, or exhausting memory, or something similar.

@mfb
Copy link
Author

mfb commented Jan 21, 2020

I didn't (yet) find evidence of a PHP fatal error, thus my hypothesis that the issue is on the client side, related to the page loading at the same time that the XHR request should be sent (which would not be the "normal" situation when using the matomo UI, since the page would already be loaded). However I will reverify this.

@mfb
Copy link
Author

mfb commented Jan 22, 2020

@mattab I reverified this. There is no error on the PHP side. The request loads from the server just fine. The problem is on client side. See screenshot of canceled XHR request:
Screenshot from 2020-01-22 13-07-26

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Jan 23, 2020
@Jaimeapo
Copy link

Jaimeapo commented Nov 15, 2021

Hello, any advances in this issue?? I just want to add some more info regarding this Issue.
Reviewing the logs I´m getting the following error:
Uncaught exception in API: /var/www/html/libs/Zend/Db/Statement/Mysqli.php(214): Mysqli statement execute error : Query execution was interrupted (max_statement_time exceeded) [Query: ?

image

@tsteur
Copy link
Member

tsteur commented Nov 15, 2021

@mfb check out this FAQ https://matomo.org/faq/how-to/faq_161/ . This should fix that error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

5 participants