fjordllc / bootcamp

プログラマー向けEラーニングシステム
https://bootcamp.fjord.jp
MIT License
286 stars 71 forks source link

ActionController::BadRequest: Invalid path parameters: Invalid encoding for parameter: �% #8035

Closed komagata closed 3 weeks ago

komagata commented 3 months ago

View details in Rollbar: https://app.rollbar.com/a/komagata/fix/item/Bootcamp/1728



Rack::QueryParser::InvalidParameterError: Invalid encoding for parameter: �%
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/request/utils.rb", line 39, in check_param_encoding
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/request/utils.rb", line 34, in block in check_param_encoding
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/request/utils.rb", line 34, in each_value
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/request/utils.rb", line 34, in check_param_encoding
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/http/parameters.rb", line 71, in path_parameters=
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/journey/router.rb", line 48, in block in serve
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/journey/router.rb", line 32, in each
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/journey/router.rb", line 32, in serve
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/routing/route_set.rb", line 842, in call
  File "/usr/local/bundle/gems/omniauth-2.1.1/lib/omniauth/strategy.rb", line 202, in call!
  File "/usr/local/bundle/gems/omniauth-2.1.1/lib/omniauth/strategy.rb", line 169, in call
  File "/usr/local/bundle/gems/omniauth-2.1.1/lib/omniauth/strategy.rb", line 202, in call!
  File "/usr/local/bundle/gems/omniauth-2.1.1/lib/omniauth/strategy.rb", line 169, in call
  File "/usr/local/bundle/gems/omniauth-2.1.1/lib/omniauth/builder.rb", line 44, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/tempfile_reaper.rb", line 15, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/etag.rb", line 27, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/conditional_get.rb", line 27, in call
  File "/usr/local/bundle/gems/rack-user_agent-0.5.3/lib/rack/user_agent.rb", line 16, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/head.rb", line 12, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/http/permissions_policy.rb", line 22, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/http/content_security_policy.rb", line 18, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/session/abstract/id.rb", line 266, in context
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/session/abstract/id.rb", line 260, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/cookies.rb", line 689, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/callbacks.rb", line 27, in block in call
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 98, in run_callbacks
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/callbacks.rb", line 26, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/actionable_exceptions.rb", line 18, in call
  File "/usr/local/bundle/gems/rollbar-3.5.2/lib/rollbar/middleware/rails/rollbar.rb", line 25, in block in call
  File "/usr/local/bundle/gems/rollbar-3.5.2/lib/rollbar.rb", line 145, in scoped
  File "/usr/local/bundle/gems/rollbar-3.5.2/lib/rollbar/middleware/rails/rollbar.rb", line 22, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/debug_exceptions.rb", line 29, in call
  File "/usr/local/bundle/gems/rollbar-3.5.2/lib/rollbar/middleware/rails/show_exceptions.rb", line 27, in call_with_rollbar
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/show_exceptions.rb", line 33, in call
  File "/usr/local/bundle/gems/railties-6.1.4.7/lib/rails/rack/logger.rb", line 37, in call_app
  File "/usr/local/bundle/gems/railties-6.1.4.7/lib/rails/rack/logger.rb", line 26, in block in call
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/tagged_logging.rb", line 99, in block in tagged
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/tagged_logging.rb", line 37, in tagged
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/tagged_logging.rb", line 99, in tagged
  File "/usr/local/bundle/gems/railties-6.1.4.7/lib/rails/rack/logger.rb", line 26, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/remote_ip.rb", line 81, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/request_id.rb", line 26, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/method_override.rb", line 24, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/runtime.rb", line 22, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/executor.rb", line 14, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/static.rb", line 24, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/sendfile.rb", line 110, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/ssl.rb", line 77, in call
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/middleware/host_authorization.rb", line 119, in call
  File "/usr/local/bundle/gems/railties-6.1.4.7/lib/rails/engine.rb", line 539, in call
  File "/usr/local/bundle/gems/puma-6.4.2/lib/puma/configuration.rb", line 272, in call
  File "/usr/local/bundle/gems/puma-6.4.2/lib/puma/request.rb", line 100, in block in handle_request
  File "/usr/local/bundle/gems/puma-6.4.2/lib/puma/thread_pool.rb", line 378, in with_force_shutdown
  File "/usr/local/bundle/gems/puma-6.4.2/lib/puma/request.rb", line 99, in handle_request
  File "/usr/local/bundle/gems/puma-6.4.2/lib/puma/server.rb", line 464, in process_client
  File "/usr/local/bundle/gems/puma-6.4.2/lib/puma/server.rb", line 245, in block in run
  File "/usr/local/bundle/gems/puma-6.4.2/lib/puma/thread_pool.rb", line 155, in block in spawn_thread
ActionController::BadRequest: Invalid path parameters: Invalid encoding for parameter: �%
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/request/utils.rb", line 39, in check_param_encoding
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/request/utils.rb", line 34, in block in check_param_encoding
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/request/utils.rb", line 34, in each_value
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/request/utils.rb", line 34, in check_param_encoding
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/http/parameters.rb", line 71, in path_parameters=
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/journey/router.rb", line 48, in block in serve
  File "/usr/loc
github-actions[bot] commented 1 month ago

このissue|PRは60日間更新がないため7日後にcloseします。closeしたくない場合はstaleラベルを外してください。

github-actions[bot] commented 3 weeks ago

このissue|PRはstaleラベルを付けた後7日間更新がないためcloseしました。