Warning: file_get_contents(http://plugins.piwik.org/api/1.0/plugins?keywords=&query=&sort=): failed to open stream


#1

I got this error when I go to “manage plugin”

There is an error. Please report the message (Piwik 2.7.0) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Warning: file_get_contents(http://plugins.piwik.org/api/1.0/plugins?keywords=&query=&sort=): failed to open stream: HTTP request failed! in /var/www/html/analytics/core/Http.php on line 408

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 file_get_contents(…) called at [/var/www/html/analytics/core/Http.php:408]
#2 Piwik\Http::sendHttpRequestBy(…) called at [/var/www/html/analytics/core/Http.php:94]
#3 Piwik\Http::sendHttpRequest(…) called at [/var/www/html/analytics/plugins/CorePluginsAdmin/MarketplaceApiClient.php:145]
#4 Piwik\Plugins\CorePluginsAdmin\MarketplaceApiClient->fetch(…) called at [/var/www/html/analytics/plugins/CorePluginsAdmin/MarketplaceApiClient.php:116]
#5 Piwik\Plugins\CorePluginsAdmin\MarketplaceApiClient->searchForPlugins(…) called at [/var/www/html/analytics/plugins/CorePluginsAdmin/Marketplace.php:45]
#6 Piwik\Plugins\CorePluginsAdmin\Marketplace->getAvailablePluginNames(…) called at [/var/www/html/analytics/plugins/CorePluginsAdmin/Controller.php:244]
#7 Piwik\Plugins\CorePluginsAdmin\Controller->createPluginsOrThemesView(…) called at [/var/www/html/analytics/plugins/CorePluginsAdmin/Controller.php:256]
#8 Piwik\Plugins\CorePluginsAdmin\Controller->plugins(…) called at [:]
#9 call_user_func_array(…) called at [/var/www/html/analytics/core/FrontController.php:577]
#10 Piwik\FrontController->doDispatch(…) called at [/var/www/html/analytics/core/FrontController.php:86]
#11 Piwik\FrontController->dispatch(…) called at [/var/www/html/analytics/core/dispatch.php:34]
#12 require_once(…) called at [/var/www/html/analytics/index.php:46]