ERROR "curl_exec: couldn't connect to host" when apache firewalled


I get this error in “Plugins” section in “Settings”. This is happened because firewall has blocked apache and outgoing connection to piwik host.

Maybe we need to use “if” function for proper checking for this error?

PS! Piwik 2.0.1

(Matthieu Aubry) #2

under [General] add

in config.ini.php


Not working. Even with this option piwik continues sending request to market place.

(Matthieu Aubry) #4

Are you sure you put the right text and below the [General] category in your file? check there is only one [General] category

If you still have the bug then please create a ticket at as we’ dlike to fix it indeed.

BTW the FAQ is Troubleshooting - Analytics Platform - Matomo


Hmm… Very interesting! After update to 2.0.2 it works good.

Can you place additional options in general setting for this?