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

Widget takes too long to load, times out #30

Open
BenFunnelFuel opened this issue Dec 6, 2022 · 2 comments
Open

Widget takes too long to load, times out #30

BenFunnelFuel opened this issue Dec 6, 2022 · 2 comments

Comments

@BenFunnelFuel
Copy link

Hello!

I've added the IPtoCompany widget to my dashboard.

If I've selected a site with a relatively small amount of visits, say under 100, it loads fine. When I select a site that has had thousands of visits, the widget tries to load for 60 seconds and then times out.

I believe that the timeout is related to a PHP setting for max_input_time which is currently set to 60 seconds in php.ini on my server. I can change this setting, but I'd rather not.

I have enabled auto-archiving for Matomo by doing the following:

nano /etc/cron.d/matomo-archive
5 * * * * www-data /usr/bin/php /var/www/html/console core:archive --url=<my website> | logger -t matomoarchive

Is there something else I'm meant to be doing in order to explicitly ensure that archiving is enabled for this plugin? Or is archiving not the issue?

Have I overlooked some critical step in using this plugin's widget?

Thank you all in advance!

Tested on Desktop

  • OS: Mac OS Big Sur 11.7
  • Browser: Chrome
  • Version: 105.0.5195.125 (Official Build) (x86_64)

Screen Shot 2022-12-05 at 2 19 38 PM

@PatrickNetzDesign
Copy link

I currently have the same problem. As soon I try to open the data with the key in place, it shows me the error, if I open it without the key, it shows me the data but without any connections to the company names.
Is there some way to resolve this problem?

@PatrickNetzDesign
Copy link

Okay, my bug was fiexed right after I tried the following PR: #31
It was because of the PHP Version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants