Forum: Ruby on Rails Dreamhost problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7d8b488b7c4718f09709ba67706df022?d=identicon&s=25 sunny beach (Guest)
on 2007-07-25 20:09
(Received via mailing list)
This is my first post here and I am somewhat of a rookie but I have
been practcing...

I recently started having problems with a Dreamhost rails site that
was working fine up until a weeks ago. I created a test site and am
having the same problem.

The browser is either pulls the 500 error from public/.htaccess or
from public/500.html. Mostly from .htaccess.

The test site is below. There is only one model.

The error log file reads:
[Wed Jul 25 10:48:38 2007] [error] [client] FastCGI:
comm with (dynamic) server
"/home/sbeach/" aborted:
(first read) idle timeout (60 sec)
[Wed Jul 25 10:48:38 2007] [error] [client] FastCGI:
incomplete headers (0 bytes) received from server

I have been looking though list archives, wikis, etc but have not
found anything that brings the original one back to life or makes the
new one work.

An initial email to their support was not helpful... (fix your own
app) but as my attempts continue to fail I tend to think it is on
their end.

Does anyone have any advice or recommendations?
E097e05db53608b7855d91705c5e7516?d=identicon&s=25 Matthew Lagace (turnkeytraders)
on 2007-07-25 21:53

If you want great and reliable rails hosting, the best one is probably
railsplayground that costs around $9/Month. Its alot better than
2dcb81d519c3707c043f28b3b6fe4f28?d=identicon&s=25 Richard Hancock (Guest)
on 2007-07-25 22:28
(Received via mailing list)
Check the first line in the dispatch.fcgi file.  It should read
#!/usr/bin/env ruby and not #!/usr/bin/ruby1.8 .  Dreamhost is not that
but most of the solutions to the problems can solved by looking through

On 7/25/07, Matthew Lagace <> wrote:
> >

Richard J Hancock
Developer/System Administrator
6ef8cb7cd7cd58077f0b57e4fa49a969?d=identicon&s=25 Brian Hogan (Guest)
on 2007-07-25 22:28
(Received via mailing list)
I had that problem. I had to contact Dreamhost a few times to get it
resolved. They never explained what it was.

One thing that you could try is disabling fastcgi for that domain, and
re-enable it about 5 hours later. That sometimes fixes that error.

Dreamhost is great and cheap, and works nice when it works, but when you
have problems, it's terrible.

+1 on
5030981121b21bed8aee074f68bd5074?d=identicon&s=25 Russell Norris (Guest)
on 2007-07-26 13:45
(Received via mailing list)
That kind of logic applies to everything. Even the blessed Rails! ;)


On 7/25/07, Brian Hogan <> wrote:

[snip] Dreamhost is great and cheap, and works nice when it works, but
7d8b488b7c4718f09709ba67706df022?d=identicon&s=25 sunny beach (Guest)
on 2007-07-28 04:27
(Received via mailing list)
Just wanted to say thanks for the replies. I got the app working again
with Dreamhost. They promised that they did not touch the server...
but a couple emails to them seemed to help. Maybe it was just the
passage of time.

The only substantial change was to config/environment.rb. I added
"unless defined? RAILS_GEM_VERSION" to line 8 so it now reads
"RAILS_GEM_VERSION = '1.2.3' unless defined? RAILS_GEM_VERSION"

For Richard, dispatch.fcgi is currently cooperating with
#!/usr/bin/ruby1.8 as the first line. I did try your solution along
with a few others I found online.

Overall I like Dreamnost and would recommend them. If I ever get to
the point where my apps are critical, it will be time to upgrade.


PS. Apologies for the poor English in the first post... I was a little
frustrated at that point.
2dcb81d519c3707c043f28b3b6fe4f28?d=identicon&s=25 Richard Hancock (Guest)
on 2007-07-28 07:16
(Received via mailing list)
Also keep in mind that the servers take about 5-10 mins to restart after
change has been made.

On 7/27/07, sunny beach <> wrote:
> frustrated at that point.
> > > [snip] Dreamhost is great and cheap, and works nice when it works, but
> > when you have problems, it's terrible. [/snip]
> >
> >  >
> >
> >

Richard J Hancock
Developer/System Administrator
This topic is locked and can not be replied to.