AusDTO / gov-au-beta

User facing frontend to the GOV.AU content site.
MIT License
10 stars 6 forks source link

OpenSSL::Cipher::CipherError #493

Open maxious opened 8 years ago

maxious commented 8 years ago

Raise a flash message during 2fa login here.

View details in Rollbar: https://rollbar.com/ausdto/GOVAU_Beta_Prod/items/47/


OpenSSL::Cipher::CipherError
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/encryptor-3.0.0/lib/encryptor.rb", line 98, in final
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/encryptor-3.0.0/lib/encryptor.rb", line 98, in crypt
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/encryptor-3.0.0/lib/encryptor.rb", line 49, in decrypt
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/bundler/gems/two_factor_authentication-1d6abe30a61c/lib/two_factor_authentication/models/two_factor_authenticatable.rb", line 127, in decrypt
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/bundler/gems/two_factor_authentication-1d6abe30a61c/lib/two_factor_authentication/models/two_factor_authenticatable.rb", line 113, in otp_secret_key
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/bundler/gems/two_factor_authentication-1d6abe30a61c/lib/two_factor_authentication/models/two_factor_authenticatable.rb", line 74, in totp_enabled?
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/bundler/gems/two_factor_authentication-1d6abe30a61c/lib/two_factor_authentication/hooks/two_factor_authenticatable.rb", line 10, in block in <top (required)>
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/hooks.rb", line 14, in block in _run_callbacks
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/hooks.rb", line 9, in each
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/hooks.rb", line 9, in _run_callbacks
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/manager.rb", line 51, in _run_callbacks
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/proxy.rb", line 179, in set_user
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/proxy.rb", line 327, in _perform_authentication
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/proxy.rb", line 104, in authenticate
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/controllers/helpers.rb", line 124, in current_user
  File "/home/vcap/app/app/controllers/application_controller.rb", line 29, in current_user
  File "/home/vcap/app/app/controllers/concerns/incomplete_tfa_setup.rb", line 12, in complete_two_factor_setup
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 382, in block in make_lambda
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 169, in block (2 levels) in halting
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/abstract_controller/callbacks.rb", line 12, in block (2 levels) in <module:Callbacks>
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 170, in block in halting
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 454, in block in call
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 454, in each
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 454, in call
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 101, in __run_callbacks__
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 750, in _run_process_action_callbacks
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 90, in run_callbacks
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/rescue.rb", line 20, in process_action
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb", line 21, in instrument
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb", line 164, in instrument
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb", line 30, in process_action
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal/params_wrapper.rb", line 248, in process_action
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/railties/controller_runtime.rb", line 18, in process_action
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/abstract_controller/base.rb", line 126, in process
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.0.1/lib/action_view/rendering.rb", line 30, in process
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal.rb", line 190, in dispatch
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_controller/metal.rb", line 262, in dispatch
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb", line 50, in dispatch
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb", line 32, in serve
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb", line 16, in block in <class:Constraints>
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb", line 46, in serve
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb", line 39, in block in serve
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb", line 26, in each
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb", line 26, in serve
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb", line 725, in call
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.16.2.321/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 96, in call
  File "/home/vcap/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.16.2.321/lib/new_relic/rack/agent_hooks.rb", line