Uploaded image for project: 'MetaBrainz Hosting'
  1. MetaBrainz Hosting
  2. MBH-400

Internal Server Error on password reset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • Server management
    • None

      Internal Server Error
      Oops, something went wrong!

      Error:

      Caught exception in MusicBrainz::Server::Controller::Account->reset_password "Failed query:
      'UPDATE editor SET password = ?, ha1 = md5(name || ':musicbrainz.org:' || ?), last_login_date = now() WHERE name = ?'
      (

      {CRYPT}$2a$10$EmZ.KCuXrcG0l6fA4VywLeb73fx96X3g1KhO0P79tTHVYbFPoW2zS Theifor4eeG8 haraldthi)
      57014 DBD::Pg::st execute failed: ERROR: canceling statement due to statement timeout at lib/MusicBrainz/Server/Connector.pm line 45, line 3.

      at lib/Sql.pm line 113
      Sql::_ANON_('57014 DBD::Pg::st execute failed: ERROR: canceling statement...') called at /usr/share/perl5/Try/Tiny.pm line 100
      Try::Tiny::try('CODE(0x1032f530)', 'Try::Tiny::Catch=REF(0x100d17b0)') called at lib/Sql.pm line 114
      Sql::do('Sql=HASH(0xfda4078)', 'UPDATE editor SET password = ?, ha1 = md5(name || \':musicbra...', '{CRYPT}

      $2a$10$EmZ.KCuXrcG0l6fA4VywLeb73fx96X3g1KhO0P79tTHVYbF...', 'Theifor4eeG8', 'haraldthi') called at lib/MusicBrainz/Server/Data/Editor.pm line 276
      MusicBrainz::Server::Data::Editor::_ANON_() called at lib/Sql.pm line 317
      Sql::_ANON_() called at /usr/share/perl5/Try/Tiny.pm line 76
      eval

      {...} called at /usr/share/perl5/Try/Tiny.pm line 67
      Try::Tiny::try('CODE(0x101e0980)', 'Try::Tiny::Catch=REF(0x101e0320)') called at lib/Sql.pm line 330
      Sql::_auto_transaction('CODE(0x101e09f8)', 'Sql=HASH(0xfda4078)') called at lib/Sql.pm line 335
      Sql::_run_in_transaction_one('CODE(0x101e09f8)', 'Sql=HASH(0xfda4078)') called at lib/Sql.pm line 349
      Sql::run_in_transaction('CODE(0x101e09f8)', 'Sql=HASH(0xfda4078)') called at lib/MusicBrainz/Server/Data/Editor.pm line 280
      MusicBrainz::Server::Data::Editor::update_password('MusicBrainz::Server::Data::Editor=HASH(0xd06f1f0)', 'haraldthi', 'Theifor4eeG8') called at lib/MusicBrainz/Server/Controller/Account.pm line 233
      MusicBrainz::Server::Controller::Account::reset_password('MusicBrainz::Server::Controller::Account=HASH(0xe4eadd8)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xea337e0)', 'MusicBrainz::Server::Controller::Account=HASH(0xe4eadd8)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst.pm line 1691
      eval {...}

      called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute('MusicBrainz::Server=HASH(0x9fcfd68)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xea337e0)') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0x9fcfd68)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xea337e0)') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xea337e0)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst/Controller.pm line 125
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::Account=HASH(0xe4eadd8)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xea32c40)', 'MusicBrainz::Server::Controller::Account=HASH(0xe4eadd8)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst.pm line 1691
      eval

      {...} called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute('MusicBrainz::Server=HASH(0x9fcfd68)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xea32c40)') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0x9fcfd68)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xea32c40)') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xea32c40)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x3c6cdd8)', 'forward', 'MusicBrainz::Server=HASH(0x9fcfd68)', '_ACTION') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x3c6cdd8)', 'MusicBrainz::Server=HASH(0x9fcfd68)', '_ACTION') called at /usr/share/perl5/Catalyst.pm line 358
      Catalyst::forward('MusicBrainz::Server=HASH(0x9fcfd68)', '_ACTION') called at /usr/share/perl5/Catalyst/Controller.pm line 99
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::Account=HASH(0xe4eadd8)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xea2db80)', 'MusicBrainz::Server::Controller::Account=HASH(0xe4eadd8)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst.pm line 1691
      eval {...}

      called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute('MusicBrainz::Server=HASH(0x9fcfd68)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xea2db80)') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0x9fcfd68)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xea2db80)') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xea2db80)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x3c6cdd8)', 'forward', 'MusicBrainz::Server=HASH(0x9fcfd68)', '/account/_DISPATCH') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x3c6cdd8)', 'MusicBrainz::Server=HASH(0x9fcfd68)', '/account/_DISPATCH') called at /usr/share/perl5/Catalyst.pm line 358
      Catalyst::forward('MusicBrainz::Server=HASH(0x9fcfd68)', '/account/_DISPATCH') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x3c6cdd8)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst.pm line 1637
      Catalyst::dispatch('MusicBrainz::Server=HASH(0x9fcfd68)') called at lib/MusicBrainz/Server.pm line 330
      MusicBrainz::Server::_ANON_() called at lib/MusicBrainz/Server.pm line 304
      MusicBrainz::Server::with_translations('MusicBrainz::Server=HASH(0x9fcfd68)', 'CODE(0xfda41b0)') called at lib/MusicBrainz/Server.pm line 331
      Class::MOP::Class:::around('CODE(0x306f408)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0x9fcfd68)') called at lib/MusicBrainz/Server.pm line 345
      Class::MOP::Class:::around('CODE(0x3c6cc88)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0x9fcfd68)') called at lib/MusicBrainz/Server.pm line 391
      Class::MOP::Class:::around('CODE(0xea77a10)', 'MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 35
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0x9fcfd68)') called at /usr/share/perl5/Catalyst.pm line 1987
      Catalyst::_ANON_() called at /usr/share/perl5/Try/Tiny.pm line 76
      eval

      {...} called at /usr/share/perl5/Try/Tiny.pm line 67
      Try::Tiny::try('CODE(0xf08efe0)', 'Try::Tiny::Catch=REF(0xf08e938)') called at /usr/share/perl5/Catalyst.pm line 1993
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xfda3bb0)', 'response_cb', 'CODE(0xf960ed0)') called at /usr/share/perl5/Catalyst/Plugin/AutoRestart.pm line 117
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xfda3bb0)', 'response_cb', 'CODE(0xf960ed0)') called at /usr/share/perl5/Catalyst/Engine.pm line 682
      Catalyst::Engine::_ANON_('CODE(0xf960ed0)') called at /usr/share/perl5/Starman/Server.pm line 225
      Starman::Server::process_request('Starman::Server=HASH(0x1248910)') called at /usr/share/perl5/Net/Server.pm line 142
      Net::Server::run_client_connection('Starman::Server=HASH(0x1248910)') called at /usr/share/perl5/Net/Server/PreFork.pm line 273
      eval {...}

      called at /usr/share/perl5/Net/Server/PreFork.pm line 273
      Net::Server::PreFork::run_child('Starman::Server=HASH(0x1248910)') called at /usr/share/perl5/Net/Server/PreFork.pm line 229
      Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x1248910)', 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 456
      Net::Server::PreFork::coordinate_children('Starman::Server=HASH(0x1248910)') called at /usr/share/perl5/Net/Server/PreFork.pm line 357
      Net::Server::PreFork::run_parent('Starman::Server=HASH(0x1248910)') called at /usr/share/perl5/Starman/Server.pm line 104
      Starman::Server::run_parent('Starman::Server=HASH(0x1248910)') called at /usr/share/perl5/Net/Server/PreFork.pm line 147
      Net::Server::PreFork::loop('Starman::Server=HASH(0x1248910)') called at /usr/share/perl5/Net/Server.pm line 117
      Net::Server::run('Starman::Server=HASH(0x1248910)', 'port', 'ARRAY(0xea7ee20)', 'host', 'ARRAY(0xea7eef8)', 'proto', 'ARRAY(0xec58818)', 'serialize', 'flock', ...) called at /usr/share/perl5/Starman/Server.pm line 61
      Starman::Server::run('Starman::Server=HASH(0x1248910)', 'CODE(0xeaafa78)', 'HASH(0x1278450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 18
      Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x1248970)', 'CODE(0xeaafa78)') called at /usr/share/perl5/Plack/Loader.pm line 88
      Plack::Loader::run('Plack::Loader=HASH(0x12434f0)', 'Plack::Handler::Starman=HASH(0x1248970)') called at /usr/share/perl5/Plack/Runner.pm line 263
      Plack::Runner::run('Plack::Runner=HASH(0x1039898)') called at /usr/local/bin/starman line 31
      at lib/Sql.pm line 330"
      Stack trace:
      line 280 MusicBrainz::Server::Data::Editor
      line 233 MusicBrainz::Server::Controller::Account
      line 330 MusicBrainz::Server
      line 304 MusicBrainz::Server
      line 331 MusicBrainz::Server
      line 345 MusicBrainz::Server
      line 391 MusicBrainz::Server
      Request data:

      $VAR1 = {
      'query_parameters' =>

      { 'time' => '1426199724', 'id' => '446015', 'key' => 'n2+d3KaAlUCtkJfiTGlGszMQYZk' }

      ,
      'body_parameters' =>

      { 'resetpassword.confirm_password' => 'Theifor4eeG8', 'resetpassword.password' => 'Theifor4eeG8' }

      };

      Time: 2015-03-12 22:42:13 UTC

      Host: asterix

      URL: https://musicbrainz.org/reset-password?time=1426199724&id=446015&key=n2%2Bd3KaAlUCtkJfiTGlGszMQYZk

      We're terribly sorry for this problem. Please wait a few minutes and repeat your request — the problem may go away.

      If the problem persists, please report a bug and include any error message that is shown above.

      Please be sure to include the stack trace and request data shown above!

            Unassigned Unassigned
            haraldthi Harald Thingelstad
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package