Activation Error: getaddrinfo failed

The following information is written for advanced users and developers.

If your subscription status shows ‘Inactive’ and your error log shows the following:

php_network_getaddresses: getaddrinfo failed: Name or service not known

The Problem

The error indicates a DNS issue where something in the server configuration fails to translate the URL to an IP.

Workaround

Please replace the nameserver lines in your resolv.conf file with Google’s public DNS servers ( 8.8.8.8 and 8.8.4.4 ) and check the subscription status again.

Was this article helpful? ·