I had this issue a while back. Have you tried restarting the server? On Thursday, May 21, 2015, Daniel Bolgheroni <dbolgher...@gmail.com> wrote:
> Hi, > > Any advice on resolving names from a chroot'ed httpd? > > OpenBSD 5.7, Wordpress downloaded from site, mariadb configured, paths > set on httpd.conf. Also have /var/www/etc/hosts and > /var/www/etc/resolv.conf in place. > > Works almost as expected, except for some functions like installing > plugins/themes, which I get a lot of "php_network_getaddresses: > getaddrinfo failed: no address associated with name" when activating > Wordpress debug. > > Warning: stream_socket_client(): unable to connect to > tcp://api.wordpress.org:80 (php_network_getaddresses: getaddrinfo > failed: no address associated with name) in > /htdocs/wordpress/wp-includes/class-http.php on line 1008 > > Same problem with nginx from ports. > > Thank you. > > -- > db