swapmyvote / swapmyvote

https://www.swapmyvote.uk
19 stars 15 forks source link

[Airbrake] [Production] The action 'create' could not be found for UsersController #913

Open aspiers opened 3 months ago

aspiers commented 3 months ago

Airbrake error: #3701 Airbrake project: swapmyvote

Error type: AbstractController::ActionNotFound Error message: The action 'create' could not be found for UsersController Where: users#create Occurred at: Jun 29, 2024 17:57:29 UTC First seen at: Jun 29, 2024 17:57:29 UTC Occurrences: 0 (0 since last deploy on <no information>) Severity: error

URL: https://www.swapmyvote.uk/user File: /GEM_ROOT/gems/actionpack-6.1.7.8/lib/abstract_controller/base.rb

Backtrace:

/GEM_ROOT/gems/actionpack-6.1.7.8/lib/abstract_controller/base.rb:160:in process
/GEM_ROOT/gems/actionview-6.1.7.8/lib/action_view/rendering.rb:39:in process
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_controller/metal.rb:190:in dispatch
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_controller/metal.rb:254:in dispatch
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:50:in dispatch
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:33:in serve
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:50:in block in serve
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in each
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in serve
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:842:in call
/GEM_ROOT/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in call!
/GEM_ROOT/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in call
/GEM_ROOT/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in call!
/GEM_ROOT/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in call
/GEM_ROOT/gems/omniauth-2.1.2/lib/omniauth/builder.rb:44:in call
/GEM_ROOT/gems/warden-1.2.9/lib/warden/manager.rb:36:in block in call
/GEM_ROOT/gems/warden-1.2.9/lib/warden/manager.rb:34:in catch
/GEM_ROOT/gems/warden-1.2.9/lib/warden/manager.rb:34:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/etag.rb:27:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/conditional_get.rb:40:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/head.rb:12:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/http/permissions_policy.rb:22:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/http/content_security_policy.rb:19:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in context
/GEM_ROOT/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/cookies.rb:697:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/callbacks.rb:27:in block in call
/GEM_ROOT/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:98:in run_callbacks
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/callbacks.rb:26:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in call
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rack/middleware.rb:34:in call!
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rack/middleware.rb:23:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/debug_exceptions.rb:29:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/show_exceptions.rb:33:in call
/GEM_ROOT/gems/railties-6.1.7.8/lib/rails/rack/logger.rb:37:in call_app
/GEM_ROOT/gems/railties-6.1.7.8/lib/rails/rack/logger.rb:26:in block in call
/GEM_ROOT/gems/activesupport-6.1.7.8/lib/active_support/tagged_logging.rb:99:in block in tagged
/GEM_ROOT/gems/activesupport-6.1.7.8/lib/active_support/tagged_logging.rb:37:in tagged
/GEM_ROOT/gems/activesupport-6.1.7.8/lib/active_support/tagged_logging.rb:99:in tagged
/GEM_ROOT/gems/railties-6.1.7.8/lib/rails/rack/logger.rb:26:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/remote_ip.rb:81:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/request_id.rb:26:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/method_override.rb:24:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/runtime.rb:22:in call
/GEM_ROOT/gems/activesupport-6.1.7.8/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/executor.rb:14:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in call
/GEM_ROOT/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/host_authorization.rb:142:in call
...

Visit Airbrake error to view the full backtrace.

aspiers commented 3 months ago

SUPER weird one-off. HTTP_REFERER is https://www.swapmyvote.uk/mobile_phone/verify_create?... and request is POST to users#create but I can't see any link or form on that page which would cause that. Gonna resolve as a possible hacking attempt since can't think of another explanation, but will keep an eye out for reoccurrences.

aspiers commented 3 months ago

Comment from Airbrake: Resolved error reoccurred.