@eric215 opened this Issue on January 17th 2021

When a server error results in the message below being displayed, transitioning to another page via the menu does not remove it, it continues to be displayed at the top of each page until a hard refresh is done.

Ver 4.1.1

Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please contact your Matomo administrator for assistance.

@tsteur commented on January 17th 2021 Member

@eric215 any chance you know the steps to reproduce this? So far I haven't seen this before AFAIK except for maybe https://github.com/matomo-org/matomo/issues/15575 which has a different error message.

@eric215 commented on January 17th 2021

If you have access to an Apache webserver, use this code in the .htaccess file to force a 406 ("Not Acceptable") error on the "Behaviours --> Transition page".

This will cause the error message I noted to be displayed every time without seriously affecting the other functionality

RewriteCond %{QUERY_STRING} actionName
RewriteRule ^.* - [R=406,L]
@tsteur commented on January 17th 2021 Member

Thanks @eric215 I can reproduce it this way Basically, when someone changes the reporting page, then the error messages should be cleared.

@Findus23 commented on January 18th 2021 Member

It would be great if there could be one fix that fixes this issue, #15575, #15498, #12934 and more related issues at once as it seems like the notification session is simply never cleared unless you log out and login again.

@tsteur commented on January 18th 2021 Member

@Findus23 they are a bit unrelated to this one unfortunately. We will eventually work on them though but I suppose these happen less and are much more complicated to solve so it's not as much of a priority right now

@flamisz commented on March 2nd 2021 Contributor

I reproduced the bug a different way (maybe it's useful for someone):

I changed the return of the plugins/Transitions/Controller.php -> renderPopover() method:

+ Common::sendResponseCode(406);
- return $view->render();

This way I got the error message on the Behaviour -> Transitions page.

This Issue was closed on March 14th 2021
Powered by GitHub Issue Mirror