Heatmap show error in system check and no data

Hello
we had bought Heatmap unlimited user version and we installed in our server with Matomo Analytics v4.
we got error in system check :

Heatmap & Session Recording Tracking

Requesting ‘https://domaine.net/plugins/HeatmapSessionRecording/configs.php?idsite=1&trackerid=5lX6EM&url=http%3A%2F%2Ftest.test%2F’ resulted in an error: curl_exec: operation timed out after 2001 milliseconds with 0 out of 0 bytes received. hostname requested was: domaine.net. As a result, tracking Heatmaps and Session Recordings may not work. You may need to change your webserver configuration to allow access to this file via the Internet or Intranet.

How we can fix it ? any solutions ?
thank you

Hi there,

When you click on the URL can you access the file at all?

Thanks,

Hello
if we enter the address of the site, it will download the config.php file;
After in the error there is written “$ MATOMO_URL”, but we do not know where this variable is defined.

thank you

Hi,

If it downloads the config.php, make sure you have your webserver set up correctly, so that it forwards all requests to .php files to PHP.

:warning: Also please make sure that the config/global.ini.php file is not downloadable from the internet as it would mean everyone could read e.g. your MySQL password.

Hello, Lukas,
thank you for answer.
we fixed the issue with downloading the plugin config file. When you access the page now, you do have a message displayed:

I have the information when I do a curl request on one of the servers:

[ ~]# time curl "https://domaineincognito.net/plugins/HeatmapSessionRecording/configs.php?idsite=1&trackerid=5lX6EM&url=http%3A%2F%2Ftest.test%2F"
Piwik.HeatmapSessionRecording.configuration.assign({"heatmaps":[],"sessions":[],"idsite":"1","trackerid":"5lX6EM"});
real    0m0.190s
user    0m0.089s
sys     0m0.076s

But in matomo’s system check, I still have this message:

## Heatmap & Session Recording Tracking: ⚠ Warning: Requesting '$MATOMO_URLplugins/HeatmapSessionRecording/configs.php?idsite=1&trackerid=5lX6EM&url=http%3A%2F%2Ftest.test%2F' resulted in an error: curl_exec: operation timed out after 2001 milliseconds with 0 out of 0 bytes received. hostname requested was: ariane.hotspot.hub-one.net. As a result, tracking Heatmaps and Session Recordings may not work. You may need to change your webserver configuration to allow access to this file via the Internet or Intranet.

I have the impression that the “$ MATOMO_URL” is misconfigured, but I don’t know where it is configured?

can you help to find solution?
thank you in advance