Questions tagged [passenger]

Passenger is an application server for Rack, Node.js, and WSGI applications that can be run standalone or as an Apache or Nginx module.

Phusion Passenger is an application server for Rack, Node.js, and WSGI applications that can be run standalone or as an Apache or Nginx module.

3603 questions
1
vote
0 answers

Rails/Nginx/Passenger ERROR: Phusion Passenger doesn't seem to be running

I was setting up Passenger and Nginx for my Rails App (Mac OS X 10.11). I used these commands: gem install passenger rvmsudo passenger-install-nginx-module All these gets installed perfectly. Added nginx path in .bash_profile: export…
Rahul Sagore
  • 1,588
  • 2
  • 26
  • 47
1
vote
2 answers

Cookie is not set when secure option is enabled in rails session_store configuration?

Below is my code in session_store.rb Rails.application.config.session_store :active_record_store , key: '_test_key', secure: :true Browser receiving below response headers when requests rails application with above…
1
vote
2 answers

Unable to install Phusion Passenger on Ubuntu Server 18.04

Running on a fresh install of Ubuntu Server 18.04 on Virtualbox, Windows 10 as the host OS. Ran the instructions on the Phusion Passenger site here This is the error I'm getting: steve@heartypet-staging:~$ sudo apt-get install -y…
user1608132
  • 301
  • 5
  • 13
1
vote
1 answer

How to provide secure flag (HTTPS-only) for session cookie in Rails application be accessed over secure SSL channels?

I am using :active_record_store for session_store in Rails 4.1.1 application. I need to make session cookie secure (HTTPS only) in my application. Tried below code in development enviroment, but did not work for…
1
vote
1 answer

Incomplete response from application

I'm getting 'Incomplete response received from application' when testing my rails application. It disappears when I refresh the page.. I check my apache error logs and I found this line: [ W 2018-08-06 07:55:32.1636 126806/T8…
Walid Da.
  • 948
  • 1
  • 7
  • 15
1
vote
1 answer

Phusion Passenger & Meteor Bundled Mode METEOR_SETTING too long

I have a problem with a large Meteor settings file and Phusion Passenger + Nginx and Meteor bundled app. When i have a small config file, no problem. but if i have a big config file, i can't start the app. i think to link the json file in nginx conf…
Marco Tribuzio
  • 103
  • 1
  • 1
  • 6
1
vote
1 answer

Fork issue in apache with passenger in OS X High Sierra

I decided to upgrade to OS x High sierra, and now I have an issue when starting the apps. I have this in the error_log of apache objc[2019]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was…
1
vote
2 answers

rails 3 app using rmagick starts using passenger standalone but fails using passenger through apache

I'm working on a Rails 3 app that includes rmagick and I'm able to start and run it successfully using WEBrick and Passenger Standalone. However, when I try running the app using Passenger within Apache, I get the following…
tgg
  • 91
  • 1
  • 10
1
vote
0 answers

Phusion Passenger malloc failed error on MacOS High Sierra

Starting passenger with: $ LOAD_FAST=true passenger start --pid-file tmp/x.pid results in the following error: App 65478 output: PassengerAgent(65481,0x7fffb856e380) malloc: *** mach_vm_map(size=1048576) failed (error code=268435459) App 65478…
Jeff Sheffel
  • 151
  • 8
1
vote
0 answers

phusion passenger vs raw process

I'm looking into tuning our Phusion Passenger with Nginx set up for deployment of Rails applications on AWS. After going through all the documentation, I am leaning towards completely removing Passenger from the stack since I can spin up a bunch of…
el n00b
  • 1,957
  • 7
  • 37
  • 64
1
vote
1 answer

How to increase the number of threads for Rails using Passenger?

I have a Ruby on Rails application that gets an extremely high volume of requests at very specific times, and sometimes Passenger's request queue goes above 100 and users get a 503. How do I set a higher number of threads? I am using Passenger and…
Jason Galuten
  • 1,042
  • 2
  • 11
  • 20
1
vote
3 answers

Bundler in production not ignoring the development and test gems

I have a couple of rails websites in production on a ubuntu webserver of ours.. We're running Ubuntu 10.10 + Passenger and Apache.. and ruby enterprise edition version 1.8.7 (No RVM), I've been having a problem with bundler on both the sites..…
Daniel Upton
  • 5,561
  • 8
  • 41
  • 64
1
vote
0 answers

Flask Redirects Incorrectly When Hosted

I'm having a issue that has been stumping me with my current host. I have a simple login web app that redirects incorrectly whenever I confirm if a form is valid. @app.route('/register', methods=['GET', 'POST']) def register(): if…
sippycup
  • 145
  • 3
  • 12
1
vote
0 answers

Passenger + Nginx "Cannot find module 'phusion_passenger/line_reader'"

I'm trying to run a Nodejs App but it returns Cannot find module 'phusion_passenger/line_reader' I'm not able to fix it, I have about a Month researching and nothing. I see there's a reference to line_reader.js on…
Haguilar91
  • 111
  • 3
1
vote
2 answers

How to solve Your Ruby version is 2.3.1, but your Gemfile specified 2.5.1?

Hello I'm using Phusion Passenger and NGINX to run a RoR app. but got this error The Phusion Passenger application server tried to start the web application. But the application itself (and not Passenger) encountered an internal error. Error…
Jasjeet Singh
  • 332
  • 1
  • 6
  • 18