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

Getting ArgumentError (Nil location provided. Can't build URI.) after submitting password reset form on development #5468

Closed
zaidhuda opened this issue Feb 10, 2022 · 4 comments · Fixed by #5548

Comments

@zaidhuda
Copy link

Environment

  • Ruby [3.0.3-p157]
  • Rails [7.0.1]
  • Devise [4.8.1]

Current behavior

Submitting the password reset form will show Rails error page. Refreshing the page will render the password reset form. I'm using Mailtrap and the password reset email is being sent correctly. The password reset link also works as expected.

=> Booting Puma
=> Rails 7.0.1 application starting in development 
=> Run `bin/rails server --help` for more startup options
Puma starting in single mode...
* Puma version: 5.6.1 (ruby 3.0.3-p157) ("Birdie's Version")
*  Min threads: 5
*  Max threads: 5
*  Environment: development
*          PID: 21837
* Listening on http://127.0.0.1:3000
* Listening on http://[::1]:3000
Use Ctrl-C to stop
Started POST "/administrators/password" for ::1 at 2022-02-10 21:10:27 +0800
  ActiveRecord::SchemaMigration Pluck (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
Processing by Devise::PasswordsController#create as TURBO_STREAM
  Parameters: {"authenticity_token"=>"[FILTERED]", "administrator"=>{"email"=>"admin@example.com"}, "commit"=>"Send me reset password instructions"}
  Administrator Load (0.5ms)  SELECT "administrators".* FROM "administrators" WHERE "administrators"."email" = $1 ORDER BY "administrators"."id" ASC LIMIT $2  [["email", "admin@example.com"], ["LIMIT", 1]]
  Administrator Load (0.5ms)  SELECT "administrators".* FROM "administrators" WHERE "administrators"."reset_password_token" = $1 ORDER BY "administrators"."id" ASC LIMIT $2  [["reset_password_token", "[FILTERED]"], ["LIMIT", 1]]
  TRANSACTION (0.4ms)  BEGIN
  Administrator Update (0.6ms)  UPDATE "administrators" SET "reset_password_token" = $1, "reset_password_sent_at" = $2, "updated_at" = $3 WHERE "administrators"."id" = $4  [["reset_password_token", "[FILTERED]"], ["reset_password_sent_at", "[FILTERED]"], ["updated_at", "2022-02-10 13:10:27.400453"], ["id", 1]]
  TRANSACTION (0.9ms)  COMMIT
  Rendering /home/zaid/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/devise-4.8.1/app/views/devise/mailer/reset_password_instructions.html.erb
  Rendered /home/zaid/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/devise-4.8.1/app/views/devise/mailer/reset_password_instructions.html.erb (Duration: 1.3ms | Allocations: 1514)
Devise::Mailer#reset_password_instructions: processed outbound mail in 151.2ms
Delivered mail 62050ec38e462_554d116e816711@PC.mail (10829.0ms)
Date: Thu, 10 Feb 2022 21:10:27 +0800
From: noreply@example.com
Reply-To: noreply@example.com
To: admin@example.com
Message-ID: <62050ec38e462_554d116e816711@PC.mail>
Subject: Reset password instructions
Mime-Version: 1.0
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<p>Hello admin@example.com!</p>

<p>Someone has requested a link to change your password. You can do this through the link below.</p>

<p><a href="http://localhost:3000/administrators/password/edit?reset_password_token=mw7HiMvyZKCja9d7y9Hk">Change my password</a></p>

<p>If you didn't request this, please ignore this email.</p>
<p>Your password won't change until you access the link above and create a new one.</p>

Redirected to 
Completed 500 Internal Server Error in 11074ms (ActiveRecord: 6.3ms | Allocations: 336198)


  
ArgumentError (Nil location provided. Can't build URI.):
  
actionpack (7.0.1) lib/action_dispatch/routing/polymorphic_routes.rb:212:in `polymorphic_method'
actionpack (7.0.1) lib/action_dispatch/routing/polymorphic_routes.rb:116:in `polymorphic_url'
actionpack (7.0.1) lib/action_dispatch/routing/url_for.rb:187:in `full_url_for'
actionpack (7.0.1) lib/action_dispatch/routing/url_for.rb:170:in `url_for'
actionpack (7.0.1) lib/action_controller/metal/redirecting.rb:144:in `_compute_redirect_to_location'
actionpack (7.0.1) lib/action_controller/metal/redirecting.rb:89:in `redirect_to'
actionpack (7.0.1) lib/action_controller/metal/flash.rb:62:in `redirect_to'
actionpack (7.0.1) lib/action_controller/metal/instrumentation.rb:42:in `block in redirect_to'
activesupport (7.0.1) lib/active_support/notifications.rb:206:in `block in instrument'
activesupport (7.0.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
activesupport (7.0.1) lib/active_support/notifications.rb:206:in `instrument'
actionpack (7.0.1) lib/action_controller/metal/instrumentation.rb:41:in `redirect_to'
responders (3.0.1) lib/action_controller/responder.rb:147:in `redirect_to'
responders (3.0.1) lib/action_controller/responder.rb:207:in `navigation_behavior'
responders (3.0.1) lib/action_controller/responder.rb:174:in `rescue in to_html'
responders (3.0.1) lib/action_controller/responder.rb:171:in `to_html'
responders (3.0.1) lib/action_controller/responder.rb:165:in `respond'
responders (3.0.1) lib/action_controller/responder.rb:158:in `call'
responders (3.0.1) lib/action_controller/respond_with.rb:213:in `respond_with'
devise (4.8.1) app/controllers/devise/passwords_controller.rb:19:in `create'
actionpack (7.0.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
actionpack (7.0.1) lib/abstract_controller/base.rb:214:in `process_action'
actionpack (7.0.1) lib/action_controller/metal/rendering.rb:53:in `process_action'
actionpack (7.0.1) lib/abstract_controller/callbacks.rb:234:in `block in process_action'
activesupport (7.0.1) lib/active_support/callbacks.rb:118:in `block in run_callbacks'
actiontext (7.0.1) lib/action_text/rendering.rb:20:in `with_renderer'
actiontext (7.0.1) lib/action_text/engine.rb:69:in `block (4 levels) in <class:Engine>'
activesupport (7.0.1) lib/active_support/callbacks.rb:127:in `instance_exec'
activesupport (7.0.1) lib/active_support/callbacks.rb:127:in `block in run_callbacks'
activesupport (7.0.1) lib/active_support/callbacks.rb:138:in `run_callbacks'
actionpack (7.0.1) lib/abstract_controller/callbacks.rb:233:in `process_action'
actionpack (7.0.1) lib/action_controller/metal/rescue.rb:22:in `process_action'
actionpack (7.0.1) lib/action_controller/metal/instrumentation.rb:67:in `block in process_action'
activesupport (7.0.1) lib/active_support/notifications.rb:206:in `block in instrument'
activesupport (7.0.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
activesupport (7.0.1) lib/active_support/notifications.rb:206:in `instrument'
actionpack (7.0.1) lib/action_controller/metal/instrumentation.rb:66:in `process_action'
actionpack (7.0.1) lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
activerecord (7.0.1) lib/active_record/railties/controller_runtime.rb:27:in `process_action'
actionpack (7.0.1) lib/abstract_controller/base.rb:151:in `process'
actionview (7.0.1) lib/action_view/rendering.rb:39:in `process'
actionpack (7.0.1) lib/action_controller/metal.rb:188:in `dispatch'
actionpack (7.0.1) lib/action_controller/metal.rb:251:in `dispatch'
actionpack (7.0.1) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
actionpack (7.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
actionpack (7.0.1) lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
actionpack (7.0.1) lib/action_dispatch/routing/mapper.rb:48:in `serve'
actionpack (7.0.1) lib/action_dispatch/journey/router.rb:50:in `block in serve'
actionpack (7.0.1) lib/action_dispatch/journey/router.rb:32:in `each'
actionpack (7.0.1) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (7.0.1) lib/action_dispatch/routing/route_set.rb:850:in `call'
warden (1.2.9) lib/warden/manager.rb:36:in `block in call'
warden (1.2.9) lib/warden/manager.rb:34:in `catch'
warden (1.2.9) lib/warden/manager.rb:34:in `call'
rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.2.3) lib/rack/etag.rb:27:in `call'
rack (2.2.3) lib/rack/conditional_get.rb:40:in `call'
rack (2.2.3) lib/rack/head.rb:12:in `call'
actionpack (7.0.1) lib/action_dispatch/http/permissions_policy.rb:22:in `call'
actionpack (7.0.1) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context'
rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/cookies.rb:693:in `call'
activerecord (7.0.1) lib/active_record/migration.rb:603:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
activesupport (7.0.1) lib/active_support/callbacks.rb:99:in `run_callbacks'
actionpack (7.0.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call'
web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app'
web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call'
web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch'
web-console (4.2.0) lib/web_console/middleware.rb:17:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/show_exceptions.rb:26:in `call'
railties (7.0.1) lib/rails/rack/logger.rb:36:in `call_app'
railties (7.0.1) lib/rails/rack/logger.rb:25:in `block in call'
activesupport (7.0.1) lib/active_support/tagged_logging.rb:99:in `block in tagged'
activesupport (7.0.1) lib/active_support/tagged_logging.rb:37:in `tagged'
activesupport (7.0.1) lib/active_support/tagged_logging.rb:99:in `tagged'
railties (7.0.1) lib/rails/rack/logger.rb:25:in `call'
sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/remote_ip.rb:93:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/request_id.rb:26:in `call'
rack (2.2.3) lib/rack/method_override.rb:24:in `call'
rack (2.2.3) lib/rack/runtime.rb:22:in `call'
activesupport (7.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/server_timing.rb:20:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/static.rb:23:in `call'
rack (2.2.3) lib/rack/sendfile.rb:110:in `call'
actionpack (7.0.1) lib/action_dispatch/middleware/host_authorization.rb:137:in `call'
railties (7.0.1) lib/rails/engine.rb:530:in `call'
puma (5.6.1) lib/puma/configuration.rb:252:in `call'
puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request'
puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown'
puma (5.6.1) lib/puma/request.rb:76:in `handle_request'
puma (5.6.1) lib/puma/server.rb:441:in `process_client'
puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread'

Expected behavior

I should not be presented with errors after submitting the password reset form.

@iraline
Copy link

iraline commented Mar 31, 2022

Hi, did you try to add this:

config.navigational_formats = ['*/*', :html, :turbo_stream] in your config/initializers/devise.rb file ?

@bellatrix988
Copy link

I think it somehow related to #5446.
I created created a gist with the information might come in handy.

I resolved it by passing data: { turbo: false } in the form.

carlosantoniodasilva added a commit that referenced this issue Jan 31, 2023
Treat `:turbo_stream` request format as a navigational format, much like
HTML, so Devise/responders can work properly.

Allow configuring the `error_status` and `redirect_status` using the
latest responders features, via a new custom Devise responder, so we can
customize the both responses to match Hotwire/Turbo behavior, for
example with `422 Unprocessable Entity` and `303 See Other`,
respectively. The defaults aren't changing in Devise itself (yet), so it
still responds on errors cases with `200 OK`, and redirects on non-GET
requests with `302 Found`, but new apps are generated with the new
statuses and existing apps can opt-in. Please note that these defaults
might change in a future release of Devise.

PRs/Issues references:

#5545
#5529
#5516
#5499
#5487
#5467
#5440
#5410
#5340

#5542
#5530
#5519
#5513
#5478
#5468
#5463
#5458
#5448
#5446
#5439
carlosantoniodasilva added a commit that referenced this issue Jan 31, 2023
Treat `:turbo_stream` request format as a navigational format, much like
HTML, so Devise/responders can work properly.

Allow configuring the `error_status` and `redirect_status` using the
latest responders features, via a new custom Devise responder, so we can
customize the both responses to match Hotwire/Turbo behavior, for
example with `422 Unprocessable Entity` and `303 See Other`,
respectively. The defaults aren't changing in Devise itself (yet), so it
still responds on errors cases with `200 OK`, and redirects on non-GET
requests with `302 Found`, but new apps are generated with the new
statuses and existing apps can opt-in. Please note that these defaults
might change in a future release of Devise.

PRs/Issues references:

#5545
#5529
#5516
#5499
#5487
#5467
#5440
#5410
#5340

#5542
#5530
#5519
#5513
#5478
#5468
#5463
#5458
#5448
#5446
#5439
carlosantoniodasilva added a commit that referenced this issue Jan 31, 2023
Treat `:turbo_stream` request format as a navigational format, much like
HTML, so Devise/responders can work properly.

Allow configuring the `error_status` and `redirect_status` using the
latest responders features, via a new custom Devise responder, so we can
customize the both responses to match Hotwire/Turbo behavior, for
example with `422 Unprocessable Entity` and `303 See Other`,
respectively. The defaults aren't changing in Devise itself (yet), so it
still responds on errors cases with `200 OK`, and redirects on non-GET
requests with `302 Found`, but new apps are generated with the new
statuses and existing apps can opt-in. Please note that these defaults
might change in a future release of Devise.

PRs/Issues references:

#5545
#5529
#5516
#5499
#5487
#5467
#5440
#5410
#5340

#5542
#5530
#5519
#5513
#5478
#5468
#5463
#5458
#5448
#5446
#5439
carlosantoniodasilva added a commit that referenced this issue Jan 31, 2023
Treat `:turbo_stream` request format as a navigational format, much like
HTML, so Devise/responders can work properly.

Allow configuring the `error_status` and `redirect_status` using the
latest responders features, via a new custom Devise responder, so we can
customize the both responses to match Hotwire/Turbo behavior, for
example with `422 Unprocessable Entity` and `303 See Other`,
respectively. The defaults aren't changing in Devise itself (yet), so it
still responds on errors cases with `200 OK`, and redirects on non-GET
requests with `302 Found`, but new apps are generated with the new
statuses and existing apps can opt-in. Please note that these defaults
might change in a future release of Devise.

PRs/Issues references:

#5545
#5529
#5516
#5499
#5487
#5467
#5440
#5410
#5340

#5542
#5530
#5519
#5513
#5478
#5468
#5463
#5458
#5448
#5446
#5439
@carlosantoniodasilva
Copy link
Member

The main branch should contain all that's necessary for fully working with Turbo now, which should fix this. A new version will be released soon, but feel free to test it out from the main branch in the meantime, and report back on any issues. Thanks.

@noctivityinc
Copy link

@carlosantoniodasilva im still seeing this in 4.9.4. Here's the backtrace. It's a rails 7.2 app with Turbo:

/gems/actionpack-7.2.1/lib/action_dispatch/routing/polymorphic_routes.rb:221 in polymorphic_method
/gems/actionpack-7.2.1/lib/action_dispatch/routing/polymorphic_routes.rb:125 in polymorphic_url
/gems/actionpack-7.2.1/lib/action_dispatch/routing/url_for.rb:196 in full_url_for
/gems/actionpack-7.2.1/lib/action_dispatch/routing/url_for.rb:179 in url_for
/gems/actionpack-7.2.1/lib/action_controller/metal/rendering.rb:255 in _process_options
/gems/actionpack-7.2.1/lib/action_controller/metal/streaming.rb:241 in _process_options
/gems/actionview-7.2.1/lib/action_view/rendering.rb:120 in render_to_body
/gems/actionpack-7.2.1/lib/action_controller/metal/rendering.rb:186 in render_to_body
/gems/actionpack-7.2.1/lib/action_controller/metal/renderers.rb:142 in render_to_body
/gems/actionpack-7.2.1/lib/abstract_controller/rendering.rb:29 in render
/gems/actionpack-7.2.1/lib/action_controller/metal/rendering.rb:167 in render
/gems/actionpack-7.2.1/lib/action_controller/metal/instrumentation.rb:32 in block (2 levels) in render
vendor/ruby-3.3.6/lib/ruby/3.3.0/[benchmark.rb](https://github.com/noctivityinc/wecora/tree/master/vendor/ruby-3.3.6/lib/ruby/3.3.0/benchmark.rb#L313):313 in realtime
311:
  def realtime # :yield:
312:
    r0 = Process.clock_gettime(Process::CLOCK_MONOTONIC)
313:
    yield
314:
    Process.clock_gettime(Process::CLOCK_MONOTONIC) - r0
315:
  end
/gems/activesupport-7.2.1/lib/active_support/core_ext/benchmark.rb:14 in ms
/gems/actionpack-7.2.1/lib/action_controller/metal/instrumentation.rb:32 in block in render
/gems/actionpack-7.2.1/lib/action_controller/metal/instrumentation.rb:101 in cleanup_view_runtime
/gems/activerecord-7.2.1/lib/active_record/railties/controller_runtime.rb:46 in cleanup_view_runtime
/gems/actionpack-7.2.1/lib/action_controller/metal/instrumentation.rb:31 in render
/gems/wicked_pdf-2.8.1/lib/wicked_pdf/pdf_helper.rb:18 in render
/gems/responders-3.1.1/lib/action_controller/responder.rb:245 in default_render
/gems/responders-3.1.1/lib/action_controller/responder.rb:175 in to_html
/gems/responders-3.1.1/lib/action_controller/responder.rb:168 in respond
/gems/responders-3.1.1/lib/action_controller/responder.rb:161 in call
/gems/responders-3.1.1/lib/action_controller/respond_with.rb:216 in respond_with
/gems/devise-4.9.4/app/controllers/devise/sessions_controller.rb:23 in create
/gems/actionpack-7.2.1/lib/action_controller/metal/basic_implicit_render.rb:8 in send_action
/gems/actionpack-7.2.1/lib/abstract_controller/base.rb:226 in process_action
/gems/actionpack-7.2.1/lib/action_controller/metal/rendering.rb:193 in process_action
/gems/actionpack-7.2.1/lib/abstract_controller/callbacks.rb:261 in block in process_action
/gems/activesupport-7.2.1/lib/active_support/callbacks.rb:121 in block in run_callbacks
/gems/turbo-rails-2.0.10/lib/turbo-rails.rb:24 in with_request_id
/gems/turbo-rails-2.0.10/app/controllers/concerns/turbo/request_id_tracking.rb:10 in turbo_tracking_request_id
/gems/activesupport-7.2.1/lib/active_support/callbacks.rb:130 in block in run_callbacks
/gems/actiontext-7.2.1/lib/action_text/rendering.rb:25 in with_renderer
/gems/actiontext-7.2.1/lib/action_text/engine.rb:71 in block (4 levels) in <class:Engine>
/gems/activesupport-7.2.1/lib/active_support/callbacks.rb:130 in instance_exec
/gems/activesupport-7.2.1/lib/active_support/callbacks.rb:130 in block in run_callbacks
/gems/activesupport-7.2.1/lib/active_support/callbacks.rb:141 in run_callbacks
/gems/actionpack-7.2.1/lib/abstract_controller/callbacks.rb:260 in process_action
/gems/actionpack-7.2.1/lib/action_controller/metal/rescue.rb:27 in process_action
/gems/actionpack-7.2.1/lib/action_controller/metal/instrumentation.rb:77 in block in process_action
/gems/activesupport-7.2.1/lib/active_support/notifications.rb:210 in block in instrument
/gems/activesupport-7.2.1/lib/active_support/notifications/instrumenter.rb:58 in instrument
/gems/activesupport-7.2.1/lib/active_support/notifications.rb:210 in instrument
/gems/actionpack-7.2.1/lib/action_controller/metal/instrumentation.rb:76 in process_action
/gems/actionpack-7.2.1/lib/action_controller/metal/params_wrapper.rb:259 in process_action
/gems/activerecord-7.2.1/lib/active_record/railties/controller_runtime.rb:39 in process_action
/gems/actionpack-7.2.1/lib/abstract_controller/base.rb:163 in process
/gems/actionview-7.2.1/lib/action_view/rendering.rb:40 in process
/gems/actionpack-7.2.1/lib/action_controller/metal.rb:252 in dispatch
/gems/actionpack-7.2.1/lib/action_controller/metal.rb:335 in dispatch
/gems/actionpack-7.2.1/lib/action_dispatch/routing/route_set.rb:67 in dispatch
/gems/actionpack-7.2.1/lib/action_dispatch/routing/route_set.rb:50 in serve
/gems/actionpack-7.2.1/lib/action_dispatch/routing/mapper.rb:32 in block in <class:Constraints>
/gems/actionpack-7.2.1/lib/action_dispatch/routing/mapper.rb:62 in serve
/gems/actionpack-7.2.1/lib/action_dispatch/journey/router.rb:53 in block in serve
/gems/actionpack-7.2.1/lib/action_dispatch/journey/router.rb:133 in block in find_routes
/gems/actionpack-7.2.1/lib/action_dispatch/journey/router.rb:126 in each
/gems/actionpack-7.2.1/lib/action_dispatch/journey/router.rb:126 in find_routes
/gems/actionpack-7.2.1/lib/action_dispatch/journey/router.rb:34 in serve
/gems/actionpack-7.2.1/lib/action_dispatch/routing/route_set.rb:896 in call
/gems/warden-1.2.9/lib/warden/manager.rb:36 in block in call
/gems/warden-1.2.9/lib/warden/manager.rb:34 in catch
/gems/warden-1.2.9/lib/warden/manager.rb:34 in call
/gems/rack-3.1.7/lib/rack/tempfile_reaper.rb:20 in call
/gems/rack-3.1.7/lib/rack/etag.rb:29 in call
/gems/rack-3.1.7/lib/rack/conditional_get.rb:43 in call
/gems/rack-3.1.7/lib/rack/head.rb:15 in call
/gems/actionpack-7.2.1/lib/action_dispatch/http/permissions_policy.rb:38 in call
/gems/actionpack-7.2.1/lib/action_dispatch/http/content_security_policy.rb:36 in call
/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272 in context
/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266 in call
/gems/actionpack-7.2.1/lib/action_dispatch/middleware/cookies.rb:704 in call
/gems/actionpack-7.2.1/lib/action_dispatch/middleware/callbacks.rb:31 in block in call
/gems/activesupport-7.2.1/lib/active_support/callbacks.rb:101 in run_callbacks
/gems/actionpack-7.2.1/lib/action_dispatch/middleware/callbacks.rb:30 in call
/gems/airbrake-13.0.4/lib/airbrake/rack/middleware.rb:34 in call!
/gems/airbrake-13.0.4/lib/airbrake/rack/middleware.rb:23 in call
/gems/actionpack-7.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:31 in call
/gems/actionpack-7.2.1/lib/action_dispatch/middleware/show_exceptions.rb:32 in call
/gems/railties-7.2.1/lib/rails/rack/logger.rb:41 in call_app
/gems/railties-7.2.1/lib/rails/rack/logger.rb:29 in call
/gems/actionpack-7.2.1/lib/action_dispatch/middleware/remote_ip.rb:96 in call
/gems/actionpack-7.2.1/lib/action_dispatch/middleware/request_id.rb:33 in call
/gems/rack-3.1.7/lib/rack/method_override.rb:28 in call
/gems/rack-3.1.7/lib/rack/runtime.rb:24 in call
/gems/actionpack-7.2.1/lib/action_dispatch/middleware/executor.rb:16 in call
/gems/actionpack-7.2.1/lib/action_dispatch/middleware/static.rb:27 in call
/gems/rack-3.1.7/lib/rack/sendfile.rb:114 in call
/gems/actionpack-7.2.1/lib/action_dispatch/middleware/ssl.rb:82 in call
/gems/rack-cors-2.0.2/lib/rack/cors.rb:102 in call
/gems/railties-7.2.1/lib/rails/engine.rb:535 in call
/gems/puma-6.4.3/lib/puma/configuration.rb:272 in call
/gems/puma-6.4.3/lib/puma/request.rb:100 in block in handle_request
/gems/puma-6.4.3/lib/puma/thread_pool.rb:378 in with_force_shutdown
/gems/puma-6.4.3/lib/puma/request.rb:99 in handle_request
/gems/puma-6.4.3/lib/puma/server.rb:464 in process_client
/gems/puma-6.4.3/lib/puma/server.rb:245 in block in run
/gems/puma-6.4.3/lib/puma/thread_pool.rb:155 in block in spawn_thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

5 participants