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
1 answer

Rails keeps increasing memory steadily

I'm using rails 2.3.2 with ruby 1.8.7 and nginx passenger. This application is a RESTful API which serves around 700 requests per minute. Everything goes fine except the memory consumed is growing from 55 Mb to 120 Mb (1 day after). Do I have to…
Chamnap
  • 4,666
  • 2
  • 34
  • 46
1
vote
1 answer

Authentication failed for user Net::SSH::AuthenticationFailed

I am trying to deploy my app to ubuntu server but I am getting error. I have added my key in server authorized keys.I am using Google computer server for server purpose.I am unable to find any solution all solutions leads to authorization key in…
1
vote
1 answer

moving from development to production, passenger fails to connect to application

when I change passenger_enabled on; rails_env development; to following passenger documentation that does state Default: rails_env production; passenger_enabled on; rails_env production; followed by sudo service…
Jerome
  • 5,583
  • 3
  • 33
  • 76
1
vote
1 answer

With Passenger where does the console log (output from puts) go ... for Nodejs

I am running my botkit nodejs application behind passenger but it is not showing any kind of error in the logging system I configure (winston.Logger)... So I would like to check the out put of all console.log that I have in the application but I…
aidonsnous
  • 1,475
  • 4
  • 19
  • 41
1
vote
1 answer

Phusion Passenger Standalone: How to pass a command line flag to ruby?

As part of a performance analysis, I'd like to run my rails app with several different rubies. All of them have the gem passenger (v5) installed and are able to run passenger start. The question: How can I pass a flag (like --1.8) to my ruby…
makmik
  • 11
  • 1
1
vote
1 answer

Phusion Passenger "Error: missing delimiting slash between hosts and options" error while connecting MongoDB cluster

I've deployed my own MongoDB cluster. I've a running Meteor application which is running with Phusion Passenger on the top of Nginx. I'm getting following error after updating the connection string in Nginx configuration…
Mostafiz Rahman
  • 8,169
  • 7
  • 57
  • 74
1
vote
2 answers

From the server, how do I force an external file to expire so that the browser receives a fresh one?

I have a show view, that uses a 'Universal Viewer' to load images. The image dimensions come from a json file that comes from a IIIF image server. I fixed a bug and a new json file exists, but the user's browser is still using the old info.json…
RudyOnRails
  • 1,819
  • 3
  • 17
  • 26
1
vote
1 answer

Phusion Passenger: customizing internal passenger error, while still passing through Rails errors

I would like my ordinary Rails error pages to be passed on to the user-agent. I can of course customize these pages using normal Rails techniques. But if there's an internal passenger error (usually when passenger can't start the app at all), I…
jrochkind
  • 22,799
  • 12
  • 59
  • 74
1
vote
1 answer

Phusion Passenger 5.1.11 doesn't recognize --start-timeout option

According to the blog https://blog.phusion.nl/2017/10/16/passenger-5-1-11/ [Standalone] passenger start now accepts the --start-timeout configuration option. I have passenger gem installed and it has a version: "Phusion Passenger 5.1.11". But,…
Serhiy Yakovyn
  • 157
  • 1
  • 8
1
vote
2 answers

Rails Nginx Passenger not serving font icon files

I am running a Rails 5.1.4 app in production mode. I am using Semantic UI as my css framework and have already ran RAILS_ENV=production rails assets:precompile to compile my assets and font files in the public/assets folder. When I load my website…
1
vote
2 answers

Phusion Passenger - Sticky session - How to add options to set-cookie header?

Enabling sticky sessions in Phusion Passenger adds set-cooke header in next form: Set-Cookie: _passenger_route=598708409; Path=/ Questions: How to alter Path? How to set httpOnly option? How to set secure option? How to set other options?
dr.dimitru
  • 2,645
  • 1
  • 27
  • 36
1
vote
3 answers

Capistrano + Nginx + Passenger = 403

I have spent the last few days trying to solve this problem, and I'm just not making any headway. I actually just created a stackoverflow account specifically to ask this question. It seems that this issue is pretty common, but none of the solutions…
slimchrisp
  • 101
  • 1
  • 3
1
vote
1 answer

Session gets lost randomly on ruby app with passenger + nginx setup

We have a sinatra app which is running on passenger + nginx setup, Currently we are facing an issue that Session gets lost randomly. We also tried disabling smart spawning in passenger but it didn't worked.Server load and memory usage is also…
Shyam Jos
  • 201
  • 1
  • 5
  • 9
1
vote
0 answers

Ruby 2.3.3 application with Rails 4.2.1 and Gem 2.6.14 not working in Centos 6.9

Ruby 2.3.3 application with Rails 4.2.1, Gem 2.6.14 and passenger 5.1.11 not working in Centos 6.9 Error in Browser: We're sorry, but something went wrong. The issue has been logged for investigation. Please try again later. Apache error log: App…
1
vote
2 answers

Apache with passenger and php modules, not executing php

I have a rails setup which is served by Apache Passenger, there are 2 apps on the server which are served by passenger and all was working fine. I then wanted to install wordpress on the same server and so I installed the required packages "php5…
Dipen
  • 352
  • 1
  • 4