Error During Failsafe Response Closed Stream Passenger
Sign in Pricing Blog Support Search GitHub This repository Watch 136 Star 3,589 Fork 450 phusion/passenger Code Issues 163 Pull requests 6 Projects 0 Wiki Pulse Graphs New issue Apache reports 500 Internal Server Error - Permission denied #332 Closed FooBarWidget opened this Issue May 29, 2014 · 7 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 1 participant Phusion B.V. member FooBarWidget commented May 29, 2014 From oliver.maurhart@gmx.net on March 30, 2009 15:06:00 I've installed Phusion Passenger 2.1.2 on a Debian Lenny. My Apache conf contains a VirtualHost within --->snip---> DocumentRoot /var/www/SOME-FOLDER
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
Passenger 2.2.4 I went http://stackoverflow.com/questions/1627582/ruby-1-9-1-p234-passenger-2-2-5-rails-2-3-stable-closed-stream-on-post-request through and did the upgrade from Redmine 8.X to 9.X. No real issues other than some routing ones where Passenger didn't seem to properly route my requests. error during I solved this issue by editing environment.rb and adding: config.action_controller.relative_url_root = "/ticketing" I can now browse to my installation and view all the tickets, menus and other features, but I am not able to error during failsafe save anything. When I try to save something I get a 500 server error and this in my logs: Error during failsafe response: closed stream [Wed Feb 17 17:31:41 2010] [error] [client 10.1.1.15] Premature end of script headers: login, referer: https://portal.g2-inc.com/ticketing/login?back_url=https%3A%2F%2Fportal.g2-inc.com%2Fticketing%2F [ pid=9237 file=Hooks.cpp:514 time=2010-02-17 17:31:41.290 ]: Backend process 9446 did not return a valid HTTP response. It returned: [Status] *** Exception NoMethodError in application (undefined method `[]=' for nil:NilClass) (process 9446): from /usr/lib/ruby/gems/1.8/gems/passenger-2.1.2/lib/phusion_passenger/rack/request_handler.rb:68:in `process_request' from /usr/lib/ruby/gems/1.8/gems/passenger-2.1.2/lib/phusion_passenger/abstract_request_handler.rb:197:in `main_loop' from /usr/lib/ruby/gems/1.8/gems/passenger-2.1.2/lib/phusion_passenger/railz/application_spawner.rb:340:in `start_request_handler' from /usr/lib/ruby/gems/1.8/gems/passenger-2.1.2/lib/phusion_passenger/railz/application_spawner.rb:298:in `handle_spawn_application' from /usr/lib/ruby/gems/1.8/gems/passenger-2.1.2/lib/phusion_passenger/utils.rb:176:in `safe_fork' from /usr/lib/ruby/gems/1.8/gems/passenger-2.1.2/lib/phusion_passenger/railz/application_spawner.rb:296:in `handle_spawn_application' from /usr/lib/ruby/gems/1.8/gems/passenger-2.1.2/lib/phusion_passenger/abstract_server.rb:332:in `__send__' from /usr/lib/ruby/gems/1.8/gems/passenger-2.1.2/lib/phusion_passenger/abstract_server.rb:332:in `main_loop' from /usr/lib/ruby/gems/1.8/gems/passenger-2.1.2/lib/phusion_passenger/abstract_server.rb:182:in `start_synchronously' from /usr/lib/ruby/gems/1.8/gems/passenger-2.1.2/lib/phusion_passenger/abstract_
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Ruby 1.9.1-p234, Passenger 2.2.5, Rails 2.3-stable closed stream on POST request up vote 7 down vote favorite 2 I've setup Ruby 1.9.1 (p234) on a Ubuntu server. I'm trying to deploy a Rails app which vendors Rails 2.3-stable on Apache 2.2/Passenger 2.2.5. GET requests work fine, POST requests break immediately with the following log entry:
Processing UsersController#new (for 80.203.77.44 at 2009-10-24 20:54:55) [GET] Parameters: {"controller"=>"users", "action"=>"new"} Rendering template within layouts/application Rendering users/new Completed in 23ms (View: 20, DB: 0) | 200 OK [http://myapp/user/new] /!\ FAILSAFE /!\ 2009-10-24 20:55:01 +0200 Status: 500 Internal Server Error closed stream /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/rewindable_input.rb:86:in make_rewindable' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/rewindable_input.rb:26:inread' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/request.rb:136:in POST' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/methodoverride.rb:15:incall' /var/www/myapp/app/releases/20091021213913/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in call' /var/www/myapp/app/releases/20091021213913/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:incall' /var/www/myapp/app/releases/20091021213913/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in call' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/lock.rb:11:inblock in call' :8:in synchronize' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/lock.rb:1