# Click twice to load?

**URL:** <https://www.ruby-forum.com/t/click-twice-to-load/92173>\
**Category:** Rails\
**Created:** [April 16, 2007, 9:07pm UTC](https://www.ruby-forum.com/t/click-twice-to-load/92173 "2007-04-16T21:07:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacib](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jacib](https://www.ruby-forum.com/u/jacib)\
**Post date:** [April 16, 2007, 9:07pm UTC](https://www.ruby-forum.com/t/click-twice-to-load/92173/1 "2007-04-16T21:07:29Z")

</div>

I’ve just launched a site[1] for the Web 2.0 Expo conference, and I’m  
encountering the strangest problem: Oftentimes a page won’t load on  
the first click, but if I stop the request and re-click the link, the  
page loads just fine.

1: [http://www.conferenceer.com/](http://www.conferenceer.com/)

Has anyone experienced a problem like this? More importantly, does  
anyone know how I might fix this problem?

(Also: My site’s running on a SliceHost box with Ubuntu, Apache2, and  
three Mongrel instances.)

best,

Jacob P.

---

<div class="post-metadata">

**Author:** ![jacib](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jacib](https://www.ruby-forum.com/u/jacib)\
**Post date:** [April 16, 2007, 9:10pm UTC](https://www.ruby-forum.com/t/click-twice-to-load/92173/2 "2007-04-16T21:10:30Z")

</div>

What shows up in your Apache and Mongrel logs the first time you send  
a request? How far down the stack is it getting, if at all?

Chris

---

<div class="post-metadata">

**Author:** ![jacib](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jacib](https://www.ruby-forum.com/u/jacib)\
**Post date:** [April 16, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/click-twice-to-load/92173/3 "2007-04-16T21:28:32Z")

</div>

Hi Chris,

The Mongrel log looks clean, but my Apache error log for the app has a  
bunch of entries like this:

[Mon Apr 16 19:03:22 2007] [error] (111)Connection refused: proxy:  
HTTP: attempt to connect to 127.0.0.1:8000 (127.0.0.1) failed  
[Mon Apr 16 19:03:22 2007] [error] ap\_proxy\_connect\_backend disabling  
worker for (127.0.0.1)  
[Mon Apr 16 19:04:10 2007] [error] [client ::1] proxy: error reading  
status line from remote server 127.0.0.1  
[Mon Apr 16 19:04:10 2007] [error] [client ::1] proxy: Error reading  
from remote server returned by /  
[Mon Apr 16 19:04:49 2007] [error] [client ::1] proxy: error reading  
status line from remote server 127.0.0.1  
[Mon Apr 16 19:04:49 2007] [error] [client ::1] proxy: Error reading  
from remote server returned by /
