# (110: Connection timed out

**URL:** <https://www.ruby-forum.com/t/110-connection-timed-out/243763>\
**Category:** NGINX\
**Created:** [January 1, 2016, 11:10pm UTC](https://www.ruby-forum.com/t/110-connection-timed-out/243763 "2016-01-01T23:10:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [January 1, 2016, 11:10pm UTC](https://www.ruby-forum.com/t/110-connection-timed-out/243763/1 "2016-01-01T23:10:35Z")

</div>

Hey, This is my first post on this forum. I do not speak good English  
but I  
will try to write clearly.  
I have problem with Nginx + php-fpm and fast cgi connection time out.

My error log

2016/01/01 22:58:58 [error] 2367#0: \*13 upstream timed out (110:  
Connection  
timed out) while reading response header from upstream, client:  
10.10.12.101, server: xxx.org.pl, request: “GET /favicon.ico HTTP/1.1”,  
upstream: “fastcgi://127.0.0.1:9000”, host: “xxx.org.pl”, referrer:  
“[http://xxx.org.pl/](http://xxx.org.pl/)”

and my nginx .conf

server {  
listen 80;  
server\_name xxx.pvp.org.pl;  
access\_log /var/log/nginx/access-forum.log;  
error\_log /var/log/nginx/error-forum.log;  
#server\_tokens off;

```
   root /home/produkcja/forum;
   index index.html index.php;

   location ~ \.php$ {
           fastcgi_split_path_info ^(.+\.php)(/.+)$;
           # NOTE: You should have "cgi.fix_pathinfo = 0;" in 

```

php.ini

```
           fastcgi_pass 127.0.0.1:9000;
           fastcgi_index index.php;
           include fastcgi_params;
           fastcgi_param SCRIPT_FILENAME

```

$document\_root$fastcgi\_script\_name;  
}

```
   location / {
           try_files $uri $uri/ /index.php?$args;
   }

```

location ~\* .php$ {  
include fastcgi\_params;  
fastcgi\_index index.php;  
fastcgi\_read\_timeout 300;  
fastcgi\_pass unix:/var/run/php5-fpm.sock;  
fastcgi\_param SCRIPT\_FILENAME  
$document\_root$fastcgi\_script\_name;  
}  
}

Posted at Nginx Forum:

> **[(110: Connection timed out](https://forum.nginx.org/read.php?2,263819,263819#msg-263819)**
>
> Hey, This is my first post on this forum. I do not speak good English but I will try to write clearly. I have problem with Nginx + php-fpm and fast cgi connection time out. My error log 2016/01/01 22:58:58 \[error\] 2367#0: \*13 upstream timed out (110:...

---

<div class="post-metadata">

**Author:** ![Tyrdl2](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/65b543/32.png) [@Tyrdl2](https://www.ruby-forum.com/u/Tyrdl2)\
**Post date:** [January 1, 2016, 11:19pm UTC](https://www.ruby-forum.com/t/110-connection-timed-out/243763/2 "2016-01-01T23:19:21Z")

</div>

PS: I use nginx 1.8.0, debian 8, php-fpm, fcgiwrap, spawn-fcgi

Posted at Nginx Forum:

> **[Re: (110: Connection timed out](https://forum.nginx.org/read.php?2,263819,263820#msg-263820)**
>
> Hey, This is my first post on this forum. I do not speak good English but I will try to write clearly. I have problem with Nginx + php-fpm and fast cgi connection time out. My error log 2016/01/01 22:58:58 \[error\] 2367#0: \*13 upstream timed out (110:...
