thoughtbot / administrate

A Rails engine that helps you put together a super-flexible admin dashboard.
http://administrate-demo.herokuapp.com
MIT License
5.9k stars 1.12k forks source link

ERROR: Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure. #693

Closed gbrl closed 7 years ago

gbrl commented 7 years ago

I had this gem working, but now it throws this error. I regenerated the views, but it makes no diff. Maybe it's my controllers. I guess I have to reinstall everything.

Message: Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.

Backtrace:

/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/url_for.rb:176 url_for
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/routing_url_for.rb:96 url_for
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/helpers/url_helper.rb:196 link_to
/app/vendor/bundle/ruby/2.3.0/bundler/gems/administrate-80dd2f1ba939/app/views/administrate/application/_search.html.erb:17 _vendor_bundle_ruby_______bundler_gems_administrate___dd_f_ba____app_views_administrate_application__search_html_erb__4164342637390448041_69903453242520
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/template.rb:158 block in render
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164 block in instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21 instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164 instrument
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/template.rb:348 instrument
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/template.rb:156 render
/app/vendor/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.1/lib/mini_profiler/profiling_methods.rb:76 block in profile_method
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/partial_renderer.rb:343 render_partial
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/partial_renderer.rb:311 block in render
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/abstract_renderer.rb:42 block in instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164 block in instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21 instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164 instrument
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/abstract_renderer.rb:41 instrument
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/partial_renderer.rb:310 render
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/renderer.rb:47 render_partial
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/helpers/rendering_helper.rb:35 render
/app/vendor/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12 render_with_haml
/app/vendor/bundle/ruby/2.3.0/bundler/gems/administrate-80dd2f1ba939/app/views/administrate/application/index.html.erb:29 block in _vendor_bundle_ruby_______bundler_gems_administrate___dd_f_ba____app_views_administrate_application_index_html_erb__3183057673183370268_69903452942840
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/helpers/capture_helper.rb:39 block in capture
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/helpers/capture_helper.rb:203 with_output_buffer
/app/vendor/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb:5 with_output_buffer_with_haml_xss
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/helpers/capture_helper.rb:39 capture
/app/vendor/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:52 capture_with_haml
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/helpers/capture_helper.rb:153 content_for
/app/vendor/bundle/ruby/2.3.0/bundler/gems/administrate-80dd2f1ba939/app/views/administrate/application/index.html.erb:28 _vendor_bundle_ruby_______bundler_gems_administrate___dd_f_ba____app_views_administrate_application_index_html_erb__3183057673183370268_69903452942840
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/template.rb:158 block in render
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164 block in instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21 instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164 instrument
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/template.rb:348 instrument
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/template.rb:156 render
/app/vendor/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.1/lib/mini_profiler/profiling_methods.rb:76 block in profile_method
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/template_renderer.rb:54 block (2 levels) in render_template
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/abstract_renderer.rb:42 block in instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164 block in instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21 instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164 instrument
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/abstract_renderer.rb:41 instrument
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/template_renderer.rb:53 block in render_template
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/template_renderer.rb:61 render_with_layout
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/template_renderer.rb:52 render_template
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/template_renderer.rb:14 render
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/renderer.rb:42 render_template
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/renderer/renderer.rb:23 render
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/rendering.rb:103 _render_template
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/streaming.rb:217 _render_template
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/rendering.rb:83 render_to_body
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/rendering.rb:52 render_to_body
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/renderers.rb:144 render_to_body
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/abstract_controller/rendering.rb:26 render
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/rendering.rb:36 render
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb:44 block (2 levels) in render
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/core_ext/benchmark.rb:12 block in ms
/app/vendor/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308 realtime
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/core_ext/benchmark.rb:12 ms
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb:44 block in render
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb:87 cleanup_view_runtime
/app/vendor/bundle/ruby/2.3.0/bundler/gems/searchkick-84c5217059a7/lib/searchkick/logging.rb:158 cleanup_view_runtime
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/railties/controller_runtime.rb:25 cleanup_view_runtime
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb:43 render
/app/vendor/bundle/ruby/2.3.0/bundler/gems/administrate-80dd2f1ba939/app/controllers/administrate/application_controller.rb:12 index
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/basic_implicit_render.rb:4 send_action
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/abstract_controller/base.rb:188 process_action
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/rendering.rb:30 process_action
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/abstract_controller/callbacks.rb:20 block in process_action
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:126 call
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:506 block (2 levels) in compile
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:455 call
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:101 __run_callbacks__
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:750 _run_process_action_callbacks
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:90 run_callbacks
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/abstract_controller/callbacks.rb:19 process_action
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/rescue.rb:20 process_action
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb:32 block in process_action
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164 block in instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21 instrument
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164 instrument
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb:30 process_action
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/params_wrapper.rb:248 process_action
/app/vendor/bundle/ruby/2.3.0/bundler/gems/searchkick-84c5217059a7/lib/searchkick/logging.rb:153 process_action
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/railties/controller_runtime.rb:18 process_action
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/abstract_controller/base.rb:126 process
/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/rendering.rb:30 process
/app/vendor/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.1/lib/mini_profiler/profiling_methods.rb:76 block in profile_method
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal.rb:190 dispatch
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal.rb:262 dispatch
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:50 dispatch
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:32 serve
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb:39 block in serve
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb:26 each
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb:26 serve
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:725 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/rack-attack-5.0.1/lib/rack/attack.rb:147 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:186 call!
/app/vendor/bundle/ruby/2.3.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/bundler/gems/omnicontacts-501415b51151/lib/omnicontacts/middleware/base_oauth.rb:43 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/bundler/gems/omnicontacts-501415b51151/lib/omnicontacts/middleware/base_oauth.rb:43 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/bundler/gems/omnicontacts-501415b51151/lib/omnicontacts/builder.rb:28 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/rack/agent_hooks.rb:30 traced_call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/rack/browser_monitoring.rb:32 traced_call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/manager.rb:35 block in call
/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/manager.rb:34 catch
/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/manager.rb:34 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222 context
/app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/cookies.rb:613 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/callbacks.rb:38 block in call
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:97 __run_callbacks__
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:750 _run_call_callbacks
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:90 run_callbacks
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/callbacks.rb:36 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/remote_ip.rb:79 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/raygun4ruby-1.1.11/lib/raygun/middleware/rails_insert_affected_user.rb:11 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/raygun4ruby-1.1.11/lib/raygun/middleware/rack_exception_interceptor.rb:10 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/rack/logger.rb:36 call_app
/app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/rack/logger.rb:24 block in call
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/tagged_logging.rb:70 block in tagged
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/tagged_logging.rb:26 tagged
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/tagged_logging.rb:70 tagged
/app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/rack/logger.rb:24 call
/app/vendor/bundle/ruby/2.3.0/gems/ahoy_matey-1.5.3/lib/ahoy/engine.rb:22 call_with_quiet_ahoy
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/request_store-1.3.1/lib/request_store/middleware.rb:9 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/request_id.rb:24 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/executor.rb:12 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/static.rb:136 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/bundler/gems/heroku-deflater-60d92ba0f8ae/lib/heroku-deflater/skip_binary.rb:19 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/deflater.rb:35 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/bundler/gems/heroku-deflater-60d92ba0f8ae/lib/heroku-deflater/serve_zipped_assets.rb:50 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.1/lib/mini_profiler/profiler.rb:171 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/engine.rb:522 call
/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.17.0.325/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96 call
/app/vendor/bundle/ruby/2.3.0/gems/puma-3.6.0/lib/puma/configuration.rb:225 call
/app/vendor/bundle/ruby/2.3.0/gems/puma-3.6.0/lib/puma/server.rb:578 handle_request
/app/vendor/bundle/ruby/2.3.0/gems/puma-3.6.0/lib/puma/server.rb:415 process_client
/app/vendor/bundle/ruby/2.3.0/gems/puma-3.6.0/lib/puma/server.rb:275 block in run
/app/vendor/bundle/ruby/2.3.0/gems/puma-3.6.0/lib/puma/thread_pool.rb:116 block in spawn_thread
gbrl commented 7 years ago

I think the cause is upgrading to ruby 2.3.1....

tobeee commented 7 years ago

I have this issue too, using ruby 2.3.0.

Is the only choice to downgrade or can it be fixed?

ksarna commented 7 years ago

Happens under ruby 2.2.2 as well. Edit: works under v0.3.0 with ruby2.3.1

carlosramireziii commented 7 years ago

@gbrl Is this still an issue for you with the latest version?

gbrl commented 7 years ago

@carlosramireziii I ended up making my own admin system, so this issue no longer affects me.

carlosramireziii commented 7 years ago

Ok thanks for the update @gbrl!

Closing this for now, but if anyone comes across this issue again feel free to re-open.