# Connection timed out while connecting to upstream on AWS

**URL:** <https://meta.discourse.org/t/connection-timed-out-while-connecting-to-upstream-on-aws/46517>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [Juin 27, 2016, 4:15 UTC](https://meta.discourse.org/t/connection-timed-out-while-connecting-to-upstream-on-aws/46517 "2016-06-27T16:15:40Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [Juin 28, 2016, 3:30 UTC](https://meta.discourse.org/t/connection-timed-out-while-connecting-to-upstream-on-aws/46517/12 "2016-06-28T03:30:01Z")

</div>

This seems like a problem that should be fairly simple to diagnose if you apply the scientific method. It definitely seems isolated to the application, so start examining the application logs (`/var/discourse/shared/<name>/logs/rails/production.log`) and see what they report. The unicorn logs (in the same directory) might also show something like a worker timeout. From there, make a hypothesis as to what might be going wrong, based on the data available, design an experiment, and run it. We can only guess wildly at what _might_ be the problem, and while that’s fun (and, if you’re lucky, might give you the answer), but it’s a really poor use of everyone’s time.

---

_[View the full topic](https://meta.discourse.org/t/connection-timed-out-while-connecting-to-upstream-on-aws/46517)._
