Check for update -- 2.1.0 is up to date?


#1

Hi, I still haven’t fixed the problem of my previous post , so it may be
because of this, but anyway, when I “checked for unpdates” piwik says it is up to date, and then I get the following error

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

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/apache2/htdocs/pinguik/core/Http.php on line 406

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 file_get_contents(…) called at [/usr/local/apache2/htdocs/pinguik/core/Http.php:406]
#2 Piwik\Http::sendHttpRequestBy(…) called at [/usr/local/apache2/htdocs/pinguik/core/Http.php:94]
#3 Piwik\Http::sendHttpRequest(…) called at [/usr/local/apache2/htdocs/pinguik/core/UpdateCheck.php:72]
#4 Piwik\UpdateCheck::check(…) called at [/usr/local/apache2/htdocs/pinguik/plugins/CoreHome/Controller.php:175]
#5 Piwik\Plugins\CoreHome\Controller->checkForUpdates(…) called at [:]
#6 call_user_func_array(…) called at [/usr/local/apache2/htdocs/pinguik/core/FrontController.php:521]
#7 Piwik\FrontController->doDispatch(…) called at [/usr/local/apache2/htdocs/pinguik/core/FrontController.php:84]
#8 Piwik\FrontController->dispatch(…) called at [/usr/local/apache2/htdocs/pinguik/core/dispatch.php:30]
#9 require_once(…) called at [/usr/local/apache2/htdocs/pinguik/index.php:47]

There is an error. Please report the message (Piwik 2.1.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://api.piwik.org/1.0/getLatestVersion/?piwik_version=2.1.0&php_version=5.4.10&url=http%3A%2F%2F192.168.1.5%2Fpinguik%2Findex.php&trigger=CoreHome&timezone=Europe%2FParis): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/apache2/htdocs/pinguik/core/Http.php on line 406

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 file_get_contents(…) called at [/usr/local/apache2/htdocs/pinguik/core/Http.php:406]
#2 Piwik\Http::sendHttpRequestBy(…) called at [/usr/local/apache2/htdocs/pinguik/core/Http.php:94]
#3 Piwik\Http::sendHttpRequest(…) called at [/usr/local/apache2/htdocs/pinguik/core/UpdateCheck.php:72]
#4 Piwik\UpdateCheck::check(…) called at [/usr/local/apache2/htdocs/pinguik/plugins/CoreHome/Controller.php:175]
#5 Piwik\Plugins\CoreHome\Controller->checkForUpdates(…) called at [:]
#6 call_user_func_array(…) called at [/usr/local/apache2/htdocs/pinguik/core/FrontController.php:521]
#7 Piwik\FrontController->doDispatch(…) called at [/usr/local/apache2/htdocs/pinguik/core/FrontController.php:84]
#8 Piwik\FrontController->dispatch(…) called at [/usr/local/apache2/htdocs/pinguik/core/dispatch.php:30]
#9 require_once(…) called at [/usr/local/apache2/htdocs/pinguik/index.php:47]

About Piwik 2.1.0


#2

I fixed the other issue (basically by getting rid of all generated .htaccess file, I had incorporated contents of .htaccess in httpd.conf), but I still get the same errors. Any thoughts?


(Matthieu Aubry) #3

If you get this error: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

it means that somehow your server cannot contact our server: http://api.piwik.org/1.0/getLatestVersion/

Maybe try to restart your webserver and see if you still get the same message?


#4

Thank you very much. It turned out that our ISP updated the firmware of ADSL modem-router which messed up LAN configuration,
all I had to do is to edit the /etc/resolv.conf file of the server (since the server doesn’t do anything other than hosting
our website, I didn’t realize this before…