mardi 7 mai 2019

Nginx / Passenger Standalone / nginx-config-template / Rails3

The route is found and on the next reload, it is not found. Is there a config that I'm missing that could be causing this?

The strange thing is, it is 1:1 on the error and success of the route being found. It's not intermittent but errors and succeeds with each reload.

It's been 5 days and thought I'd ask the community for any suggestions.

ActionController::RoutingError (No route matches [GET] "/tools/auth/select"):
  vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.4/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.4/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.4/lib/rails/rack/logger.rb:32:in `call_app'
  vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.4/lib/rails/rack/logger.rb:16:in `block in call'
  vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.4/lib/active_support/tagged_logging.rb:22:in `tagged'
  vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.4/lib/rails/rack/logger.rb:16:in `call'
  vendor/bundle/ruby/2.2.0/gems/quiet_assets-1.0.3/lib/quiet_assets.rb:23:in `call_with_quiet_assets'
  vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.4/lib/action_dispatch/middleware/request_id.rb:22:in `call'
  vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/methodoverride.rb:21:in `call'
  vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/runtime.rb:17:in `call'
  vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.4/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/lock.rb:15:in `call'
  vendor/bundle/ruby/2.2.0/gems/rack-cache-1.6.1/lib/rack/cache/context.rb:140:in `forward'
  vendor/bundle/ruby/2.2.0/gems/rack-cache-1.6.1/lib/rack/cache/context.rb:249:in `fetch'
  vendor/bundle/ruby/2.2.0/gems/rack-cache-1.6.1/lib/rack/cache/context.rb:189:in `lookup'
  vendor/bundle/ruby/2.2.0/gems/rack-cache-1.6.1/lib/rack/cache/context.rb:66:in `call!'
  vendor/bundle/ruby/2.2.0/gems/rack-cache-1.6.1/lib/rack/cache/context.rb:51:in `call'
  vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.4/lib/rails/engine.rb:484:in `call'
  vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.4/lib/rails/application.rb:231:in `call'
  vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.4/lib/rails/railtie/configurable.rb:30:in `method_missing'
  passenger (6.0.2) src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
  passenger (6.0.2) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:149:in `accept_and_process_next_request'
  passenger (6.0.2) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
  passenger (6.0.2) src/ruby_supportlib/phusion_passenger/request_handler.rb:415:in `block (3 levels) in start_threads'
  passenger (6.0.2) src/ruby_supportlib/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'


Started GET "/tools/auth/select" for 57.130.176.32 at 2019-05-07 15:04:13 -0700
Processing by AuthController#select as HTML
  Rendered auth/select.html.erb within layouts/external_views (0.0ms)
Completed 200 OK in 5496.3ms (Views: 4.0ms | ActiveRecord: 0.0ms)

Aucun commentaire:

Enregistrer un commentaire