Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentError: secret should be a string #5791

Closed
komagata opened this issue Nov 14, 2022 · 0 comments · Fixed by #5794
Closed

ArgumentError: secret should be a string #5791

komagata opened this issue Nov 14, 2022 · 0 comments · Fixed by #5794
Labels

Comments

@komagata
Copy link
Member

View details in Rollbar: https://rollbar.com/komagata/Bootcamp/items/1246/


ArgumentError: secret should be a string
  File "/usr/local/bundle/gems/stripe-7.1.0/lib/stripe/webhook.rb", line 34, in compute_signature
  File "/usr/local/bundle/gems/stripe-7.1.0/lib/stripe/webhook.rb", line 102, in verify_header
  File "/usr/local/bundle/gems/stripe-7.1.0/lib/stripe/webhook.rb", line 13, in construct_event
  File "/app/app/models/webhook.rb", line 11, in construct_event
  File "/app/app/controllers/stripe/webhooks_controller.rb", line 7, in create
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/basic_implicit_render.rb", line 6, in send_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/abstract_controller/base.rb", line 228, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/rendering.rb", line 30, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/abstract_controller/callbacks.rb", line 42, in block in process_action
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 117, in block in run_callbacks
  File "/usr/local/bundle/gems/react-rails-2.6.2/lib/react/rails/controller_lifecycle.rb", line 31, in use_react_component_helper
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 126, in block in run_callbacks
  File "/usr/local/bundle/gems/active_decorator-1.4.0/lib/active_decorator/view_context.rb", line 37, in block (3 levels) in <module:Filter>
  File "/usr/local/bundle/gems/active_decorator-1.4.0/lib/active_decorator/view_context.rb", line 25, in run_with
  File "/usr/local/bundle/gems/active_decorator-1.4.0/lib/active_decorator/view_context.rb", line 36, in block (2 levels) in <module:Filter>
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 126, in instance_exec
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 126, in block in run_callbacks
  File "/usr/local/bundle/gems/actiontext-6.1.4.7/lib/action_text/rendering.rb", line 20, in with_renderer
  File "/usr/local/bundle/gems/actiontext-6.1.4.7/lib/action_text/engine.rb", line 59, in block (4 levels) in <class:Engine>
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 126, in instance_exec
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 126, in block in run_callbacks
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 137, in run_callbacks
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/abstract_controller/callbacks.rb", line 41, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/rescue.rb", line 22, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/instrumentation.rb", line 34, in block in process_action
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in block in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications/instrumenter.rb", line 24, in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in instrument
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/instrumentation.rb", line 33, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/params_wrapper.rb", line 249, in process_action
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/railties/controller_runtime.rb", line 27, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/abstract_controller/base.rb", line 165, in process
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/rendering.rb", line 39, in process
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal.rb", line 190, in dispatch
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal.rb", line 254, in dispatch
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/routing/route_set.rb", line 50, in dispatch
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/routing/route_set.rb", line 33, in serve
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/journey/router.rb", line 50, 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-1.9.2/lib/omniauth/strategy.rb", line 192, in call!
  File "/usr/local/bundle/gems/omniauth-1.9.2/lib/omniauth/strategy.rb", line 169, in call
  File "/usr/local/bundle/gems/omniauth-1.9.2/lib/omniauth/builder.rb", line 45, in call
  File "/usr/local/bundle/gems/rack-2.2.4/lib/rack/tempfile_reaper.rb", line 15, in call
  File "/usr/local/bundle/gems/rack-2.2.4/lib/rack/etag.rb", line 27, in call
  File "/usr/local/bundle/gems/rack-2.2.4/lib/rack/conditional_get.rb", line 40, 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.4/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.4/lib/rack/session/abstract/id.rb", line 266, in context
  File "/usr/local/bundle/gems/rack-2.2.4/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.3.2/lib/rollbar/middleware/rails/rollbar.rb", line 25, in block in call
  File "/usr/local/bundle/gems/rollbar-3.3.2/lib/rollbar.rb", line 145, in scoped
  File "/usr/local/bundle/gems/rollbar-3.3.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",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant