Report this

What is the reason for this report?

upstream timed out (110: Connection timed out) while reading response header from upstream

Posted on April 2, 2020

Since a while I’m experiencing 501 timeouts on my DO hosted WP website.

I checked /var/log/nginx/error.log and I’ve gotten about two errors per minute (they stopped all of the sudden and my website is online again since).

The logs contain a bunch of lines which boil down to these two:

connect() to unix:/var/run/php/php7.2-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream,client: [REDACTED], server: [REDACTED].com, request: "POST /xmlrpc.php HTTP/1.0", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "[REDACTED]"

upstream timed out (110: Connection timed out) while reading response header from upstream, client: [REDACTED], server: [REDACTED].com, request: "POST /wp-cron.php?doing_wp_cron=1585826903.9321999549865722656250 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock", host: "[REDACTED].com", referrer: "https://[REDACTED].com/wp-cron.php?doing_wp_cron=1585826903.9321999549865722656250"

Any suggestions on how track down what is going on?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.