Erro HTTP ERROR 500 I-Diário

Saiu release que corrige os erros 500 reportados. Qualquer anormalidade vamos discutindo aqui.

Atenção que tem novos parâmetros no secrets.yml.

[2019-11-22T21:34:26.694281 #16601] FATAL – :
NoMethodError (undefined method include?' for nil:NilClass): app/controllers/application_controller.rb:360:in set_honeybadger_context’
app/models/entity.rb:20:in using_connection' app/controllers/application_controller.rb:67:in handle_customer’

Atualizei e Apareceu esse erro, e não inicia o I-diario. erro 500 novamente.

Traz um pouco mais do log, antes do Fatal para entender o que está acontecendo.

I, [2019-11-25T07:45:08.539378 #25448] INFO – : Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.5ms)
F, [2019-11-25T07:45:08.541769 #25448] FATAL – :
NoMethodError (undefined method include?' for nil:NilClass): app/controllers/application_controller.rb:360:in set_honeybadger_context’
app/models/entity.rb:20:in using_connection' app/controllers/application_controller.rb:67:in handle_customer’

Tens como fazer um teste?

Nessa parte do código, alterar request.env['REQUEST_PATH'].include?('api/v2') por request.path.include?('api/v2')

FATAL – :
LocalJumpError (no block given (yield)):
app/models/entity.rb:20:in using_connection' app/controllers/application_controller.rb:67:in handle_customer’

essa linha inteira ? request.env[‘REQUEST_PATH’].include?(‘api/v2’)
por essa ? request.path.include?(‘api/v2’)

@tiago.camargo
Instalei a nova versão e o erro 500 continua, não abre a página de login.

Segue o log.

E, [2019-11-25T19:38:14.659782 #38443] ERROR – : ** [Honeybadger] Unable to send error report: API key is missing. id=f5fd91f2-e953-4327-a22e-7e6508e04767 level=3 pid=38443
I, [2019-11-25T19:40:09.902023 #38443] INFO – : Started GET “/” for 192.168.92.6 at 2019-11-25 19:40:09 -0300
I, [2019-11-25T19:40:09.905627 #38443] INFO – : Processing by DashboardController#index as HTML
I, [2019-11-25T19:40:09.905981 #38443] INFO – : Parameters: {“locale”=>“en”}
I, [2019-11-25T19:40:09.911221 #38443] INFO – : Completed 401 Unauthorized in 5ms (ActiveRecord: 0.7ms)
F, [2019-11-25T19:40:09.917618 #38443] FATAL – :
NoMethodError (undefined method merge' for nil:NilClass): vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/route_set.rb:778:in url_for’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/route_set.rb:280:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/route_set.rb:345:in block (2 levels) in define_url_helper’
vendor/bundle/ruby/2.3.0/bundler/gems/route_translator-d9f8ce929bca/lib/route_translator/translator.rb:30:in block (2 levels) in add_untranslated_helpers_to_controllers_and_views' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/routes_proxy.rb:32:in new_user_session_url’
vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/failure_app.rb:129:in scope_url' vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/failure_app.rb:106:in redirect_url’
vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/failure_app.rb:66:in redirect' vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/failure_app.rb:39:in respond’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/abstract_controller/base.rb:198:in process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/abstract_controller/base.rb:137:in process’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_controller/metal.rb:196:in dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_controller/metal/rack_delegation.rb:13:in dispatch’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_controller/metal.rb:237:in block in action' vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/failure_app.rb:22:in call’
vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/delegator.rb:5:in call' vendor/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:143:in call_failure_app’
vendor/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:129:in process_unauthenticated' vendor/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:44:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/etag.rb:24:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/conditionalget.rb:25:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/head.rb:13:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/params_parser.rb:27:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/flash.rb:260:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in context’
vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/cookies.rb:560:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.11.1/lib/active_record/query_cache.rb:36:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/callbacks.rb:29:in block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/callbacks.rb:88:in run_callbacks
vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/callbacks.rb:778:in _run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/callbacks.rb:81:in run_callbacks’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/callbacks.rb:27:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/remote_ip.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/rack/logger.rb:38:in call_app' vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/rack/logger.rb:20:in block in call’
vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/tagged_logging.rb:68:in block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/tagged_logging.rb:26:in tagged’
vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/tagged_logging.rb:68:in tagged' vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/rack/logger.rb:20:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/request_id.rb:21:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/action_dispatch/request_id.rb:12:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/methodoverride.rb:22:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/runtime.rb:18:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/static.rb:120:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/sendfile.rb:113:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/rack-cors-0.4.1/lib/rack/cors.rb:81:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/honeybadger-4.2.1/lib/honeybadger/rack/error_notifier.rb:33:in block in call' vendor/bundle/ruby/2.3.0/gems/honeybadger-4.2.1/lib/honeybadger/agent.rb:345:in with_rack_env’
vendor/bundle/ruby/2.3.0/gems/honeybadger-4.2.1/lib/honeybadger/rack/error_notifier.rb:30:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/honeybadger-4.2.1/lib/honeybadger/rack/user_feedback.rb:31:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/honeybadger-4.2.1/lib/honeybadger/rack/user_informer.rb:21:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/engine.rb:518:in call’
vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/application.rb:165:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/content_length.rb:15:in call' vendor/bundle/ruby/2.3.0/gems/puma-3.12.0/lib/puma/configuration.rb:225:in call’
vendor/bundle/ruby/2.3.0/gems/puma-3.12.0/lib/puma/server.rb:658:in handle_request' vendor/bundle/ruby/2.3.0/gems/puma-3.12.0/lib/puma/server.rb:472:in process_client’
vendor/bundle/ruby/2.3.0/gems/puma-3.12.0/lib/puma/server.rb:332:in block in run' vendor/bundle/ruby/2.3.0/gems/puma-3.12.0/lib/puma/thread_pool.rb:133:in block in spawn_thread’

E, [2019-11-25T19:40:09.920296 #38443] ERROR – : ** [Honeybadger] Unable to send error report: API key is missing. id=6e53f47b-e97d-44fc-9b93-2bfa2f033481 level=3 pid=38443

Repassando esse erro para equipe.

@flavio e @dill não conseguimos simular o erro aqui.

Qual SO vocês estão usando? Usando Ruby direto ou usando um gerenciador?

Qualquer outra informação pode ser útil.

@tiago.camargo, estou usando o debian 9, utilizando o rvm.

Eu tambem. debian 9 e rvm

@flavio e @dill recomendo vocês no primeiro momento utilizar o processo que está nesse tópico, inclusive ambiente, e após se familiarizar partir para outros SO.

FATAL – :
NoMethodError (undefined method include?' for nil:NilClass): app/controllers/application_controller.rb:360:in set_honeybadger_context’
app/models/entity.rb:20:in using_connection' app/controllers/application_controller.rb:67:in handle_customer’

QUANDO INSTALO ELE EM MODO DEVELOPMENT RODA NUMA BOA, POREM QUANDO COLOCO EM MODO PRODUCTION. APARECE ESSE ERRO ACIMA. ALGUMA DICA ?

Pode tentar substituir a linha 360 do arquivo app/controllers/application_controller.rb de
if request.env['REQUEST_PATH'].include?('api/v2')
para
if (request.path || '').include?('api/v2')

@joel, acabei de testar, fiz a alteração e o problema continua, segue o log:

E, [2019-12-05T02:16:57.382783 #2611] ERROR – : ** [Honeybadger] Unable to send error report: API key is missing. id=9d70babf-3186-43d6-b1cf-d87753977dd5 level=3 pid=2611
I, [2019-12-05T02:16:58.651189 #2611] INFO – : Started GET “/” for 192.168.100.22 at 2019-12-05 02:16:58 +0000
I, [2019-12-05T02:16:58.653889 #2611] INFO – : Processing by DashboardController#index as HTML
I, [2019-12-05T02:16:58.654311 #2611] INFO – : Parameters: {“locale”=>“en”}
I, [2019-12-05T02:16:58.658252 #2611] INFO – : Completed 401 Unauthorized in 4ms (ActiveRecord: 0.5ms)
F, [2019-12-05T02:16:58.661744 #2611] FATAL – :
NoMethodError (undefined method merge' for nil:NilClass): vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/route_set.rb:778:in url_for’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/route_set.rb:280:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/route_set.rb:345:in block (2 levels) in define_url_helper’
vendor/bundle/ruby/2.3.0/bundler/gems/route_translator-d9f8ce929bca/lib/route_translator/translator.rb:30:in block (2 levels) in add_untranslated_helpers_to_controllers_and_views' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/routes_proxy.rb:32:in new_user_session_url’
vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/failure_app.rb:129:in scope_url' vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/failure_app.rb:106:in redirect_url’
vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/failure_app.rb:66:in redirect' vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/failure_app.rb:39:in respond’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/abstract_controller/base.rb:198:in process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/abstract_controller/base.rb:137:in process’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_controller/metal.rb:196:in dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_controller/metal/rack_delegation.rb:13:in dispatch’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_controller/metal.rb:237:in block in action' vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/failure_app.rb:22:in call’
vendor/bundle/ruby/2.3.0/gems/devise-3.5.1/lib/devise/delegator.rb:5:in call' vendor/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:143:in call_failure_app’
vendor/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:129:in process_unauthenticated' vendor/bundle/ruby/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:44:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/etag.rb:24:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/conditionalget.rb:25:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/head.rb:13:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/params_parser.rb:27:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/flash.rb:260:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in context’
vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/cookies.rb:560:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.11.1/lib/active_record/query_cache.rb:36:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/callbacks.rb:29:in block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/callbacks.rb:88:in run_callbacks
vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/callbacks.rb:778:in _run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/callbacks.rb:81:in run_callbacks’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/callbacks.rb:27:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/remote_ip.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/rack/logger.rb:38:in call_app' vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/rack/logger.rb:20:in block in call’
vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/tagged_logging.rb:68:in block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/tagged_logging.rb:26:in tagged’
vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/tagged_logging.rb:68:in tagged' vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/rack/logger.rb:20:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/request_id.rb:21:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/action_dispatch/request_id.rb:12:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/methodoverride.rb:22:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/runtime.rb:18:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/sendfile.rb:113:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/rack-cors-0.4.1/lib/rack/cors.rb:81:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/honeybadger-4.2.1/lib/honeybadger/rack/error_notifier.rb:33:in block in call’
vendor/bundle/ruby/2.3.0/gems/honeybadger-4.2.1/lib/honeybadger/agent.rb:345:in with_rack_env' vendor/bundle/ruby/2.3.0/gems/honeybadger-4.2.1/lib/honeybadger/rack/error_notifier.rb:30:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/honeybadger-4.2.1/lib/honeybadger/rack/user_feedback.rb:31:in call' vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call’
vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call' vendor/bundle/ruby/2.3.0/gems/honeybadger-4.2.1/lib/honeybadger/rack/user_informer.rb:21:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/skylight-core-4.2.0/lib/skylight/core/probes/middleware.rb:26:in call’
vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/engine.rb:518:in call' vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/application.rb:165:in call’
vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in call' vendor/bundle/ruby/2.3.0/gems/rack-1.6.11/lib/rack/content_length.rb:15:in call’
vendor/bundle/ruby/2.3.0/gems/puma-3.12.0/lib/puma/configuration.rb:225:in call' vendor/bundle/ruby/2.3.0/gems/puma-3.12.0/lib/puma/server.rb:658:in handle_request’
vendor/bundle/ruby/2.3.0/gems/puma-3.12.0/lib/puma/server.rb:472:in process_client' vendor/bundle/ruby/2.3.0/gems/puma-3.12.0/lib/puma/server.rb:332:in block in run’
vendor/bundle/ruby/2.3.0/gems/puma-3.12.0/lib/puma/thread_pool.rb:133:in `block in spawn_thread’

Bem estranho esse comportamento, parece ser relacionado ao ambiente onde esta sendo usado, em fim, encontrei esse topico aqui que é muito parecido. Podem testar e ver se a solucao proposta funciona para vcs

Resolvido, Obrigado Joel.

@dill qual o caminho usou?