# Passenger bug?

**URL:** <https://www.ruby-forum.com/t/passenger-bug/191740>\
**Category:** Rails\
**Created:** [July 17, 2010, 10:23am UTC](https://www.ruby-forum.com/t/passenger-bug/191740 "2010-07-17T10:23:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [July 17, 2010, 10:23am UTC](https://www.ruby-forum.com/t/passenger-bug/191740/1 "2010-07-17T10:23:06Z")

</div>

I’m trying to get Nginx and Passenger working. I’ve installed Nginx  
through Passenger. When accessing a rails app I get “Exception  
Errno::EPIPE in Passenger RequestHandler”. From what I can see this has  
happened to others. And as I understand it it’s a Passenger problem. Why  
is Phusion sending out something that doesn’t work? Or is there a  
solution?

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [July 17, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/passenger-bug/191740/2 "2010-07-17T20:56:56Z")

</div>

Quoting Pål Bergström [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> I’m trying to get Nginx and Passenger working. I’ve installed Nginx  
> through Passenger. When accessing a rails app I get “Exception  
> Errno::EPIPE in Passenger RequestHandler”. From what I can see this has  
> happened to others. And as I understand it it’s a Passenger problem. Why  
> is Phusion sending out something that doesn’t work? Or is there a  
> solution?

You’ve given precious little to go on. Which Passenger (original or the  
new  
Passenger3 package), which version of Passenger, how did you install  
Passenger, which OS, and are you sure you have all necessary servers  
running  
(e.g, Nginx, a database server like MySQL, Postgres, or MS SQL). The  
Errno::EPIPE indicates a broken pipe. Pipes are used for interprocess  
communication, e.g, between Web server and database server, or Web  
server  
master and children, or Web server master or proxy and application  
servers.  
Also the stack trace would be helpful.

Jeffrey

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [July 17, 2010, 11:09pm UTC](https://www.ruby-forum.com/t/passenger-bug/191740/3 "2010-07-17T23:09:44Z")

</div>

Jeffrey L. Taylor wrote:

> You’ve given precious little to go on.

I was hoping it would be a known problem and hence have an answer  
without too much info. Sometimes, or actually rather often, that is the  
case.

I installed the latest Passenger available for download. With Nginx. On  
Mac OS 10.6.

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [July 18, 2010, 11:15pm UTC](https://www.ruby-forum.com/t/passenger-bug/191740/4 "2010-07-18T23:15:00Z")

</div>

PÃ¥l BergstrÃ¶m wrote:

> I installed the latest Passenger available for download. With Nginx. On  
> Mac OS 10.6.

Anyone who has Passenger with Nginx running well on Mac OS 10.6?

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [July 19, 2010, 12:51pm UTC](https://www.ruby-forum.com/t/passenger-bug/191740/5 "2010-07-19T12:51:14Z")

</div>

PÃ¥l BergstrÃ¶m wrote:

Not sure my original problem with "“Exception Errno::EPIPE” is valid or  
not. So forget that.

I’ve installed it on Mac OS 10.6 as a local developer server. The  
installation path is /opt/… as Macports. However, the server root is  
located in my home path.

I can access the root of the server. My problem is to load a rails app.  
It says that it can’t find the server. This is my config, with a new  
server added above the default server:

```
 server {

```

listen 80;  
server\_name myrailsapp.localhost;  
root /Users/myself/html/myrailsapp/public;  
passenger\_enabled on;  
rails\_env development;  
}

```
server {
    listen 80;
    server_name localhost;
    .........

```

Can it be a question of permissions?
