similar to: Dreamhost FastCGI: incomplete headers (0 bytes) errors

Displaying 20 results from an estimated 1000 matches similar to: "Dreamhost FastCGI: incomplete headers (0 bytes) errors"

2006 Aug 16
6
Experience with ferret on Dreamhost ?
Does anybody have experience with running ferret on dreamhost ? My app is running ok until I install the acts_as_ferret plugin, at which point I get "Rails application failed to start properly" errors. I''ve used script/console to confirm that I can require ''ferret'' and make a new Index object . Everything appears to be ok in that respect. Unfortunately
2006 Mar 30
4
404 Error on dispatch.fcgi
I''m a java/php programmer trying out Ruby/Rails on my Dreamhost account. I followed the wiki steps to the letter (2x now) and am still getting a 404 when I hit my dispatch.fcgi. http://mydomain.com/public/dispatch.fgci Can someone give me suggestions on how to debug this problem? Here is my dispatch.fcgi file: #!/usr/bin/env ruby # # You may specify the path to the FastCGI crash log
2006 Jan 12
15
Production deployment on Dreamhost?
Does anyone have any experience with production deployment of RoR on Dreamhost? Is it now stable enough? Any tips and tricks? Thanks a lot, Tom
2006 Mar 06
5
Dreamhost subscription?
I''m thinking about signing up with DreamHost for the base Level 1 $9.95 plan. Does anyone think that''s a bad idea? I''d like to know others thoughts, and who they recommend for RoR hosting? Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Feb 13
4
Problems deploying in Dreamhost
I am trying to deploy a Rails application on Dreamhost. My application works just fine in my laptop using WEBrick. The problem that I have is that I currently have my website in the public folder. I can reference everything just fine from if it is in the public folder, but if I click in a link that is an actual controller/action I get an error that the file does not exist. I followed all
2006 Aug 16
44
Goodbye for now, RoR
I started a php-based website a few months ago with a buddy of mine on netfirms.com. I was perusing their knowledge base and I came upon a quick-start for something called Ruby on Rails. Since then I have immersed myself in RoR. I''ve done the tutorials, I''ve purchased the books. But, I could never get even a sample RoR app to work on netfirms. 500 server errors.
2006 May 09
7
FCGI and the never ending saga of deploying on Dreamhost
I''m trying to setup an app on Dreamhost and running into no end of problems. The app is running with edge rails and I''m currently getting the dreaded ''Rails application failed to start'' white screen when trying to access it. I''ve gone through all the ''gotchas'' and troubleshooting docs at Dreamhost and the rails wiki to no avail.
2006 Aug 07
9
[OT] Rails is built into OS X 10.5
This coming out of WWDC. Pretty cool to see this kind of thing happen. -- J "Brien" | HybridIndie Productions | http://hybridindie.com | hybridindie@gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060807/380ae29c/attachment.html
2006 Jul 31
9
Problems with ever-increasing ID value
I have a script that I am using to populate a database from a CSV file: RAILS_ENV = ''development'' require File.dirname(__FILE__) + ''/../../config/environment'' require ''csv'' # Destroy existing data Residence.destroy_all # IMPORT DATA FROM apartments.csv db_file = "#{RAILS_ROOT}/db/apartments.csv" CSV.open(db_file, "r",
2007 Apr 09
1
Problem on Dreamhost: engine for rails 1.1.6
Hi, I''m trying to set up Substruct (shopping cart engine) on Dreamhost. I failed several times and tracked down to the problem area. I can reproduce the problem with these steps: 1. install rails 2. change public/.htaccess for fcgi 3. change public/dispatch.fcgi for RailsFCGIHandler At this step, I can execute public/dispatch.fcgi without error. 4. svn co
2005 Jul 25
2
acts_as_tree and traversing parent/child relationships
I am working on an Rails application that uses a pretty complex category structure through out the site. I have defined a table to house all the info and a FK to reference parents within the table CREATE TABLE categories ( id int(11) NOT NULL auto_increment, name varchar(50) NOT NULL, parent_id int(11) default NULL, constraint fk_category_id foreign key (category_id) references
2006 Jan 13
4
FastCGI processes sometimes ''hang''
I am running a RoR application on Apache 1.3/RedHat 7.3/MySQL 3.1.23 (Old versions I know, but upgrading to latest versions are not practical for a number of reasons). There are 5 RoR FastCGI processes configured using FastCgiServer. What I am finding is that, after a while, some of the FastCGI processes seem to ''hang''. They no longer process requests, and the only way to
2006 Aug 26
2
Dreamhost issues
Hi there! I just have discovered this wonderful plugin a few days ago and I uploaded a little test to my Dreamhost account. I simply got a worker that resizes an image that the user uploads. So this morning I launched the BackgrounDRb server on my account with the rake task and began to upload some test images. The server daemon has been executing until a few minutes ago, I suppose because of
2006 Aug 02
5
monitor fcgi?
Im trying to get a new app up on dreamhost. What fun :/ Id like to try out the ''frao_handler'' which just keeps dreamhost from automatically killing my fcgi processes. But Im also worried about things getting out of hand. I seem to remember that captures in views can cause problems with fcgi (I might just be making that up????), and I do have few in my app. And well Im
2007 Sep 05
4
Mocking to spec a sort_by method
Hello, I have a question regarding the use of Mocha with rSpec to spec one of my methods. My spec contains the following vehical1 = mock() vehical2 = mock() vehical1.stubs(:mph).returns(150) vehical2.stubs(:mph).returns(250) comparer.add_vehical([@vehical1, @vehical2]) comparer.sort_by(:mph) The comparer is an object that has a basic "stack like" functionality, add_vehical is the
2006 Apr 20
5
Rails, FCGI, Dreamhost
Is anybody getting acceptable performance with a Rails application on Dreamhost? By this, I mean response times no greater than 3 seconds, and no large numbers of FCGI processes that you have to kill manually. If so, how? I''ve ended up running a constant ping script (once every ten minutes), and still have to kill some number of excess dispatch.fcgi processes every day. Along with
2006 Jul 09
4
Search terms in URL
I have set up a ferret search using the examples in the demo app. Is it possible to have the search terms included in the URL, so that, for example, users can bookmark a search results page ? Chris -- Posted via http://www.ruby-forum.com/.
2006 Feb 06
2
ROR Production issue
Currently I am not getting much traffic on my site, when I visit my site after a long interval I get the dreaded "Rails application error" in Mozilla/ "Internal server error" in IE.Once I click refresh then the site comes to life. My guess is this is due to the fact that all FCGI process have died and there are no active listeners. Has anyone else experienced this issue. How
2006 Aug 16
5
Rails theory question, where to put a join query
The is something I wrestle with a bit when I construct joined queries.. Perhaps some experienced insight will straighten this out for me. Say you have two tables with two models, ''authors'' and ''posts''. an author has_many posts, a post has_one author. You need methods to do the following queries: find_author(postid) find_posts(authorid) And you are doing a
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first step to take to see what the issue is here? I have no errors in the rails app''s log files. The only errors I have are those provided by apache and they are: ''FastCGI: Incomplete headers (0) bytes received from server'' I''ve tried editing the shebang line, removing line feeds, but