I m getting error when I log in


#1

Please check the following attachment it shows the following error when I log in

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/piwik/core/Http.php on line 406

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 file_get_contents(…) called at [/var/www/piwik/core/Http.php:406]
#2 Piwik\Http::sendHttpRequestBy(…) called at [/var/www/piwik/core/Http.php:94]
#3 Piwik\Http::sendHttpRequest(…) called at [/var/www/piwik/core/Http.php:720]
#4 Piwik\Http::fetchRemoteFile(…) called at [/var/www/piwik/plugins/ExampleRssWidget/RssRenderer.php:46]
#5 Piwik\Plugins\ExampleRssWidget\RssRenderer->get(…) called at [/var/www/piwik/plugins/ExampleRssWidget/Controller.php:25]
#6 Piwik\Plugins\ExampleRssWidget\Controller->rssPiwik(…) called at [:]
#7 call_user_func_array(…) called at [/var/www/piwik/core/FrontController.php:531]
#8 Piwik\FrontController->doDispatch(…) called at [/var/www/piwik/core/FrontController.php:84]
#9 Piwik\FrontController->dispatch(…) called at [/var/www/piwik/core/dispatch.php:34]
#10 require_once(…) called at [/var/www/piwik/index.php:47]

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

Warning: file_get_contents(Analytics Platform – Matomo): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/piwik/core/Http.php on line 406

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 file_get_contents(…) called at [/var/www/piwik/core/Http.php:406]
#2 Piwik\Http::sendHttpRequestBy(…) called at [/var/www/piwik/core/Http.php:94]
#3 Piwik\Http::sendHttpRequest(…) called at [/var/www/piwik/core/Http.php:720]
#4 Piwik\Http::fetchRemoteFile(…) called at [/var/www/piwik/plugins/ExampleRssWidget/RssRenderer.php:46]
#5 Piwik\Plugins\ExampleRssWidget\RssRenderer->get(…) called at [/var/www/piwik/plugins/ExampleRssWidget/Controller.php:25]
#6 Piwik\Plugins\ExampleRssWidget\Controller->rssPiwik(…) called at [:]
#7 call_user_func_array(…) called at [/var/www/piwik/core/FrontController.php:531]
#8 Piwik\FrontController->doDispatch(…) called at [/var/www/piwik/core/FrontController.php:84]
#9 Piwik\FrontController->dispatch(…) called at [/var/www/piwik/core/dispatch.php:34]
#10 require_once(…) called at [/var/www/piwik/index.php:47]


(Matthieu Aubry) #2

To work around this issue simply disable the plugin ExampleRssWidget