I had the same problem and eventually found a solution today (actually, a friend of mine did it). What I did was to edit the /etc/nginx/nginx.conf file and add resolver ip address. The configuration file in the section server
contains now resolver 127.0.0.1;
below you can find a part of it
server {
listen 443 ssl;
resolver 127.0.0.1;
Do not forget to restart nginx
and php-fpm
services, that depends on your distro, with archlinux
you can do the following
systemctl stop php-fpm
systemctl stop nginx
systemctl start php-fpm
systemctl start nginx
Hope that helped.