# When nginx will send Connection timed out error?

**URL:** <https://www.ruby-forum.com/t/when-nginx-will-send-connection-timed-out-error/224608>\
**Category:** NGINX\
**Created:** [November 19, 2012, 9:24am UTC](https://www.ruby-forum.com/t/when-nginx-will-send-connection-timed-out-error/224608 "2012-11-19T09:24:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [November 19, 2012, 9:24am UTC](https://www.ruby-forum.com/t/when-nginx-will-send-connection-timed-out-error/224608/1 "2012-11-19T09:24:44Z")

</div>

I am using nginx as proxy server. I got following error once:  
upstream timed out (110: Connection timed out) while connecting to  
upstream,

In what situtaion I will get this error? Exaple:

1. Upstream didn’t accept connection within x time.  
Is there any other case when I can get this error or is it only one case  
when I will get this error?  
Example:
2. Saving or reading to tmp file buffer was slow.
3. Nginx was running out of connection?

Posted at Nginx Forum:

> **[When nginx will send Connection timed out error ?](https://forum.nginx.org/read.php?2,232970,232970#msg-232970)**
>
> I am using nginx as proxy server. I got following error once: upstream timed out (110: Connection timed out) while connecting to upstream, In what situtaion I will get this error? Exaple: 1. Upstream didn't accept connection within x time. Is there...
