[Exception] Undefined index: REMOTE_ADDR


#1

Hi,

I tried to generate visits but I got those warnings and the error shown on the title :

php ./console visitorgenerator:generate-visits --idsite=1
Generating visits for 2015-03-30…
WARNING VisitorGenerator[2015-03-30 14:37:34] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:34] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(http://piwik.test/piwik//piwik.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:34] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:34] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(http://piwik.test/piwik//piwik.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:34] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:34] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(http://piwik.test/piwik//piwik.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:35] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:35] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(http://piwik.test/piwik//piwik.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:35] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:35] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(http://piwik.test/piwik//piwik.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:35] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:35] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(http://piwik.test/piwik//piwik.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:35] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:35] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(http://piwik.test/piwik//piwik.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:35] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING VisitorGenerator[2015-03-30 14:37:35] /var/www/piwik/libs/PiwikTracker/PiwikTracker.php(1371): Warning - file_get_contents(http://piwik.test/piwik//piwik.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known - Piwik 2.12.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)

[Exception]
Undefined index: REMOTE_ADDR

Can someone help me with that, I’m new to Piwik.