Heatmap & Session :: resulted in an error: curl_exec


(Ameur Hazmani) #1

Hi.
after updating my Matomo from 3.5 to 3.8 heatmap plugin doesn’t work, i got the following error message on my system CHeck

Requesting ‘https://xxxxxxxx/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 2000 milliseconds with 0 out of 0 bytes received. hostname requested was: xxxxxxx . 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.

When i try to go to this link from another machine in another network, i got the following message :
Piwik.HeatmapSessionRecording.configuration.assign({“heatmaps”:[],“sessions”:[],“idsite”:“1”,“trackerid”:“5lX6EM”});

I’m on IIS web Server
any suggestion ???
thank you :slight_smile:


(Lukas Winkler) #2

Hi,

This seems to be the same reasoning as here:

As long as your visitors can access this URL and get the Piwik.HeatmapSessionRecording.configuration... response, everything should be working fine.

The error is just the self-check as it seems like your server can’t access itself via curl.


(Ameur Hazmani) #3

Hi Lukas,
thank for your answer :slight_smile:
My Server is not a working only on localhost, it’s using correct domain accessible for all my users behind a vpn

so why users can get this answer ??
Piwik.HeatmapSessionRecording.configuration.assign({“heatmaps”:[],“sessions”:[],“idsite”:“1”,“trackerid”:“5lX6EM”});


(Jason) #4

Hi,

Piwik.HeatmapSessionRecording.configuration.assign({“heatmaps”:[],“sessions”:[],“idsite”:“1”,“trackerid”:“5lX6EM”});

Is the standard response for the plugin. There are no heatmaps or session recordings configured for this page so the arrays are empty. If there were configurations available the response might look like:

Piwik.HeatmapSessionRecording.configuration.assign({“heatmaps”:[{“id”:75,“getdom”:false,“sample_rate”:“100.0”}],“sessions”:[{“id”:74,“sample_rate”:“100.0”,“min_time”:0,“activity”:true,“keystrokes”:false}],“idsite”:“11”,“trackerid”:“5lX6EM”});


(Ameur Hazmani) #5

i don’t know how, but HeatMap is now recording normaly
but i still have the same warning on my System config :
Requesting ‘https://xxxxxxxx/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 2000 milliseconds with 0 out of 0 bytes received. hostname requested was: xxxxxxx . 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.