Caught exception in Hawat::Controller::Alerts->getAlertsData "Expected limit and page number as arguments at /var/mentat/www/hawat/script/../lib/Hawat/Model/Paginator.pm line 27. Hawat::Model::Paginator::calculate_skip(Hawat::Model::Paginator=HASH(0x61e9978), 30, 0) called at /var/mentat/www/hawat/script/../lib/Hawat/Controller/Alerts.pm line 84 Hawat::Controller::Alerts::getAlertsData(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65 Catalyst::Action::execute(Catalyst::Action=HASH(0x62e1e60), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668 eval {...} called at /usr/share/perl5/Catalyst.pm line 1668 Catalyst::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38 Catalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Action.pm line 60 Catalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1e60), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Controller.pm line 158 Catalyst::Controller::_ACTION(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65 Catalyst::Action::execute(Catalyst::Action=HASH(0x62e1878), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668 eval {...} called at /usr/share/perl5/Catalyst.pm line 1668 Catalyst::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38 Catalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Action.pm line 60 Catalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1878), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257 Catalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), "forward", Hawat=HASH(0x68879c8), "_ACTION") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237 Catalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), "_ACTION") called at /usr/share/perl5/Catalyst.pm line 358 Catalyst::forward(Hawat=HASH(0x68879c8), "_ACTION") called at /usr/share/perl5/Catalyst/Controller.pm line 132 Catalyst::Controller::_DISPATCH(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65 Catalyst::Action::execute(Catalyst::Action=HASH(0x62a3508), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668 eval {...} called at /usr/share/perl5/Catalyst.pm line 1668 Catalyst::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38 Catalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Action.pm line 60 Catalyst::Action::dispatch(Catalyst::Action=HASH(0x62a3508), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257 Catalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), "forward", Hawat=HASH(0x68879c8), "/alerts/_DISPATCH") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237 Catalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), "/alerts/_DISPATCH") called at /usr/share/perl5/Catalyst.pm line 358 Catalyst::forward(Hawat=HASH(0x68879c8), "/alerts/_DISPATCH") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 105 Catalyst::Dispatcher::dispatch(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1614 Catalyst::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Plugin/Static/Simple.pm line 77 Class::MOP::Class:::around(CODE(0x3cc87a8), Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 162 Class::MOP::Method::Wrapped::__ANON__(Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 91 Hawat::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1964 Catalyst::try {...} () called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 83 eval {...} called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 74 Try::Tiny::try(CODE(0x6887a70), Try::Tiny::Catch=REF(0x694b3c0)) called at /usr/share/perl5/Catalyst.pm line 1970 Catalyst::handle_request("Hawat", "env", HASH(0x68299a8), "response_cb", CODE(0x656ced8)) called at /usr/share/perl5/Catalyst/Engine.pm line 685 Catalyst::Engine::__ANON__(CODE(0x656ced8)) called at /usr/share/perl5/Plack/Handler/FCGI.pm line 138 Plack::Handler::FCGI::run(Plack::Handler::FCGI=HASH(0x3d765d8), CODE(0x643e558), HASH(0x3d76ab8)) called at /usr/share/perl5/Catalyst/Engine.pm line 667 Catalyst::Engine::run(Catalyst::Engine=HASH(0x2c72930), "Hawat", CODE(0x643e558), undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst.pm line 2429 Catalyst::run("Hawat", undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 91 Catalyst::ScriptRole::_run_application(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 61 Catalyst::ScriptRole::run(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRunner.pm line 50 Catalyst::ScriptRunner::run("Catalyst::ScriptRunner", "Hawat", "FastCGI") called at /var/mentat/www/hawat/script/hawat_fastcgi.pl line 4"

Couldn't render template "alerts/getAlertsData: file error - alerts/getAlertsData: not found"

Request

do {
  require Symbol;
  my $a = bless({
    _log             => bless({
                          _body => "[info] *** Request 84 (0.001/s) [14018] [Sat Mar 22 11:15:44 2014] ***\n[debug] Package version: '0.2.409'\n[debug] Path is \"alerts/getAlertsData\"\n[debug] \"GET\" request for \"alerts/getAlertsData\" from \"217.105.221.106\"\n[debug] Query Parameters are:\n.-------------------------------------+--------------------------------------.\n| Parameter                           | Value                                |\n+-------------------------------------+--------------------------------------+\n| datefrom                            | 2014-03-21 00:00:00                  |\n| dateto                              | 2014-03-22 00:00:00                  |\n| ipdst                               | 78.128.128.0-78.128.255.255          |\n| ipsrc                               | 61.160.201.25                        |\n| page                                | 0                                    |\n| simple                              | 1                                    |\n'-------------------------------------+--------------------------------------'\n[debug] running ACL rule CODE(0x3d8bed8) defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118 on begin\n[debug] Access to begin allowed by rule CODE(0x3d8bed8) (defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118)\n[debug] Found sessionid \"21f2fe116dcd267d3898eb63b55351c3ea495934\" in cookie\n[debug] Restored session \"21f2fe116dcd267d3898eb63b55351c3ea495934\"\n[debug] running ACL rule CODE(0x63ee218) defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118 on end\n[debug] Access to end allowed by rule CODE(0x63ee218) (defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118)\n[debug] Auto-rendering view: default\n[debug] Rendering template \"alerts/getAlertsData\"\n[error] Couldn't render template \"alerts/getAlertsData: file error - alerts/getAlertsData: not found\"\n[error] Caught exception in Hawat::Controller::Alerts->getAlertsData \"Expected limit and page number as arguments at /var/mentat/www/hawat/script/../lib/Hawat/Model/Paginator.pm line 27.\n\tHawat::Model::Paginator::calculate_skip(Hawat::Model::Paginator=HASH(0x61e9978), 30, 0) called at /var/mentat/www/hawat/script/../lib/Hawat/Controller/Alerts.pm line 84\n\tHawat::Controller::Alerts::getAlertsData(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62e1e60), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1e60), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Controller.pm line 158\n\tCatalyst::Controller::_ACTION(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62e1878), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1878), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257\n\tCatalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), \"forward\", Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237\n\tCatalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst.pm line 358\n\tCatalyst::forward(Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst/Controller.pm line 132\n\tCatalyst::Controller::_DISPATCH(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62a3508), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62a3508), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257\n\tCatalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), \"forward\", Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237\n\tCatalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst.pm line 358\n\tCatalyst::forward(Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 105\n\tCatalyst::Dispatcher::dispatch(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1614\n\tCatalyst::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Plugin/Static/Simple.pm line 77\n\tClass::MOP::Class:::around(CODE(0x3cc87a8), Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 162\n\tClass::MOP::Method::Wrapped::__ANON__(Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 91\n\tHawat::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1964\n\tCatalyst::try {...} () called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 83\n\teval {...} called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 74\n\tTry::Tiny::try(CODE(0x6887a70), Try::Tiny::Catch=REF(0x694b3c0)) called at /usr/share/perl5/Catalyst.pm line 1970\n\tCatalyst::handle_request(\"Hawat\", \"env\", HASH(0x68299a8), \"response_cb\", CODE(0x656ced8)) called at /usr/share/perl5/Catalyst/Engine.pm line 685\n\tCatalyst::Engine::__ANON__(CODE(0x656ced8)) called at /usr/share/perl5/Plack/Handler/FCGI.pm line 138\n\tPlack::Handler::FCGI::run(Plack::Handler::FCGI=HASH(0x3d765d8), CODE(0x643e558), HASH(0x3d76ab8)) called at /usr/share/perl5/Catalyst/Engine.pm line 667\n\tCatalyst::Engine::run(Catalyst::Engine=HASH(0x2c72930), \"Hawat\", CODE(0x643e558), undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst.pm line 2429\n\tCatalyst::run(\"Hawat\", undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 91\n\tCatalyst::ScriptRole::_run_application(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 61\n\tCatalyst::ScriptRole::run(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRunner.pm line 50\n\tCatalyst::ScriptRunner::run(\"Catalyst::ScriptRunner\", \"Hawat\", \"FastCGI\") called at /var/mentat/www/hawat/script/hawat_fastcgi.pl line 4\"\n[error] Couldn't render template \"alerts/getAlertsData: file error - alerts/getAlertsData: not found\"\n",
                          abort => undef,
                          level => 31,
                        }, "Catalyst::Log"),
    _path            => "alerts/getAlertsData",
    _read_length     => 0,
    _read_position   => 0,
    action           => "alerts/getAlertsData",
    address          => "217.105.221.106",
    arguments        => [],
    base             => bless(do{\(my $o = "https://mentat.cesnet.cz/")}, "URI::https"),
    body_parameters  => {},
    captures         => [],
    cookies          => {
                          hawat_session => bless({
                            name  => "hawat_session",
                            path  => "/",
                            value => ["21f2fe116dcd267d3898eb63b55351c3ea495934"],
                          }, "CGI::Simple::Cookie"),
                        },
    env              => {
                          "DOCUMENT_ROOT"         => "/var/mentat/www/hawat/root",
                          "FCGI_ROLE"             => "RESPONDER",
                          "GATEWAY_INTERFACE"     => "CGI/1.1",
                          "HTTP_ACCEPT"           => "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
                          "HTTP_ACCEPT_ENCODING"  => "gzip,deflate,sdch",
                          "HTTP_ACCEPT_LANGUAGE"  => "cs-CZ,cs;q=0.8",
                          "HTTP_CACHE_CONTROL"    => "max-age=0",
                          "HTTP_CONNECTION"       => "keep-alive",
                          "HTTP_COOKIE"           => "hawat_session=21f2fe116dcd267d3898eb63b55351c3ea495934",
                          "HTTP_DNT"              => 1,
                          "HTTP_HOST"             => "mentat.cesnet.cz",
                          "HTTP_USER_AGENT"       => "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107 Chrome/32.0.1700.107 Safari/537.36",
                          "HTTPS"                 => "on",
                          "PATH"                  => "/usr/local/bin:/usr/bin:/bin",
                          "PATH_INFO"             => "/alerts/getAlertsData",
                          "PATH_TRANSLATED"       => "/var/mentat/www/hawat/script/hawat_fastcgi.pl/alerts/getAlertsData",
                          "psgi.errors"           => bless(Symbol::gensym(), "IO::Handle"),
                          "psgi.input"            => bless(Symbol::gensym(), "IO::Handle"),
                          "psgi.multiprocess"     => 1,
                          "psgi.multithread"      => "",
                          "psgi.nonblocking"      => "",
                          "psgi.run_once"         => "",
                          "psgi.streaming"        => 1,
                          "psgi.url_scheme"       => "https",
                          "psgi.version"          => [1, 1],
                          "psgix.harakiri"        => "",
                          "QUERY_STRING"          => "datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255",
                          "REMOTE_ADDR"           => "217.105.221.106",
                          "REMOTE_PORT"           => 47266,
                          "REQUEST_METHOD"        => "GET",
                          "REQUEST_URI"           => "/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255",
                          "SCRIPT_FILENAME"       => "/var/mentat/www/hawat/script/hawat_fastcgi.pl",
                          "SCRIPT_NAME"           => "",
                          "SERVER_ADDR"           => "195.113.161.43",
                          "SERVER_ADMIN"          => "webmaster\@mentat.cesnet.cz",
                          "SERVER_NAME"           => "mentat.cesnet.cz",
                          "SERVER_PORT"           => 443,
                          "SERVER_PROTOCOL"       => "HTTP/1.1",
                          "SERVER_SIGNATURE"      => "<address>Apache/2.2.22 (Debian) Server at mentat.cesnet.cz Port 443</address>\n",
                          "SERVER_SOFTWARE"       => "Apache/2.2.22 (Debian)",
                          "SSL_CIPHER"            => "DHE-RSA-AES128-GCM-SHA256",
                          "SSL_CIPHER_ALGKEYSIZE" => 128,
                          "SSL_CIPHER_EXPORT"     => "false",
                          "SSL_CIPHER_USEKEYSIZE" => 128,
                          "SSL_CLIENT_A_KEY"      => "rsaEncryption",
                          "SSL_CLIENT_A_SIG"      => "sha1WithRSAEncryption",
                          "SSL_CLIENT_I_DN"       => "/C=NL/O=TERENA/CN=TERENA Personal CA",
                          "SSL_CLIENT_I_DN_C"     => "NL",
                          "SSL_CLIENT_I_DN_CN"    => "TERENA Personal CA",
                          "SSL_CLIENT_I_DN_O"     => "TERENA",
                          "SSL_CLIENT_M_SERIAL"   => "95D74954AB2CD0003C45F7025516D9D5",
                          "SSL_CLIENT_M_VERSION"  => 3,
                          "SSL_CLIENT_S_DN"       => "/C=CZ/O=CESNET/CN=Pavel K\\xC3\\xA1cha/unstructuredName=5191",
                          "SSL_CLIENT_S_DN_C"     => "CZ",
                          "SSL_CLIENT_S_DN_CN"    => "Pavel K\xC3\xA1cha",
                          "SSL_CLIENT_S_DN_O"     => "CESNET",
                          "SSL_CLIENT_V_END"      => "Jul  2 23:59:59 2016 GMT",
                          "SSL_CLIENT_V_REMAIN"   => 834,
                          "SSL_CLIENT_V_START"    => "Jul  3 00:00:00 2013 GMT",
                          "SSL_CLIENT_VERIFY"     => "SUCCESS",
                          "SSL_COMPRESS_METHOD"   => "NULL",
                          "SSL_PROTOCOL"          => "TLSv1.2",
                          "SSL_SECURE_RENEG"      => "true",
                          "SSL_SERVER_A_KEY"      => "rsaEncryption",
                          "SSL_SERVER_A_SIG"      => "sha1WithRSAEncryption",
                          "SSL_SERVER_I_DN"       => "/C=NL/O=TERENA/CN=TERENA SSL CA",
                          "SSL_SERVER_I_DN_C"     => "NL",
                          "SSL_SERVER_I_DN_CN"    => "TERENA SSL CA",
                          "SSL_SERVER_I_DN_O"     => "TERENA",
                          "SSL_SERVER_M_SERIAL"   => "744B1F4E994F66DB6D4F4CDAB2114ECC",
                          "SSL_SERVER_M_VERSION"  => 3,
                          "SSL_SERVER_S_DN"       => "/OU=Domain Control Validated/CN=mentat.cesnet.cz",
                          "SSL_SERVER_S_DN_CN"    => "mentat.cesnet.cz",
                          "SSL_SERVER_S_DN_OU"    => "Domain Control Validated",
                          "SSL_SERVER_V_END"      => "Dec  9 23:59:59 2016 GMT",
                          "SSL_SERVER_V_START"    => "Dec 10 00:00:00 2013 GMT",
                          "SSL_SESSION_ID"        => "C793BBE414C5D118917AF67D54535E9427A903072E97BFA94B7316C27ED3DDA0",
                          "SSL_TLS_SNI"           => "mentat.cesnet.cz",
                          "SSL_VERSION_INTERFACE" => "mod_ssl/2.2.22",
                          "SSL_VERSION_LIBRARY"   => "OpenSSL/1.0.1e",
                        },
    headers          => bless({
                          "accept" => "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
                          "accept-encoding" => "gzip,deflate,sdch",
                          "accept-language" => "cs-CZ,cs;q=0.8",
                          "cache-control" => "max-age=0",
                          "connection" => "keep-alive",
                          "cookie" => "hawat_session=21f2fe116dcd267d3898eb63b55351c3ea495934",
                          "dnt" => 1,
                          "host" => "mentat.cesnet.cz",
                          "https" => "on",
                          "user-agent" => "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107 Chrome/32.0.1700.107 Safari/537.36",
                        }, "HTTP::Headers"),
    match            => "alerts/getAlertsData",
    method           => "GET",
    parameters       => {
                          datefrom => "2014-03-21 00:00:00",
                          dateto   => "2014-03-22 00:00:00",
                          ipdst    => "78.128.128.0-78.128.255.255",
                          ipsrc    => "61.160.201.25",
                          page     => 0,
                          simple   => 1,
                        },
    protocol         => "HTTP/1.1",
    query_parameters => {
                          datefrom => "2014-03-21 00:00:00",
                          dateto   => "2014-03-22 00:00:00",
                          ipdst    => "78.128.128.0-78.128.255.255",
                          ipsrc    => "61.160.201.25",
                          page     => 0,
                          simple   => 1,
                        },
    remote_user      => undef,
    secure           => 1,
    uploads          => {},
    uri              => bless(do{\(my $o = "https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255")}, "URI::https"),
    user             => bless({
                          _id => "ph\@cesnet.cz",
                          auth_realm => "ssl_client",
                          groups => [
                            bless({
                              client => bless({
                                _servers => {},
                                auto_connect => 1,
                                auto_reconnect => 1,
                                db_name => "admin",
                                dt_type => "DateTime",
                                find_master => 0,
                                host => "mongodb://localhost:27017",
                                inflate_dbrefs => 1,
                                j => 0,
                                max_bson_size => 16777216,
                                port => 27017,
                                query_timeout => 800000,
                                sasl => 0,
                                sasl_mechanism => "GSSAPI",
                                ssl => 0,
                                timeout => 20000,
                                ts => 0,
                                w => 1,
                                wtimeout => 1000,
                              }, "MongoDB::MongoClient"),
                              db => "mentat",
                              id => "certs",
                              ref => "groups",
                              verify_coll => 1,
                              verify_db => 1,
                            }, "MongoDB::DBRef"),
                            bless({
                              client => 'fix',
                              db => "mentat",
                              id => "abuse\@cesnet.cz",
                              ref => "groups",
                              verify_coll => 1,
                              verify_db => 1,
                            }, "MongoDB::DBRef"),
                          ],
                          id => undef,
                          name => "Pavel Kacha",
                          organization => "CESNET",
                          query => [
                            {
                              classification => "(D)DoS",
                              datefrom       => "",
                              dateto         => "",
                              detector       => "",
                              id             => "DDoS",
                              ipdst          => "",
                              ipor           => "FALSE",
                              ipsrc          => "",
                              query          => "( Alert/Classification/\@text EQ \"(D)DoS\" )",
                              simple         => 1,
                            },
                          ],
                          roles => ["admin", "user"],
                        }, "Catalyst::Authentication::User::Hash"),
  }, "Catalyst::Request");
  $a->{user}{groups}[1]{client} = $a->{user}{groups}[0]{client};
  $a;
}

Response

bless({
  _log => bless({
    _body => "[info] *** Request 84 (0.001/s) [14018] [Sat Mar 22 11:15:44 2014] ***\n[debug] Package version: '0.2.409'\n[debug] Path is \"alerts/getAlertsData\"\n[debug] \"GET\" request for \"alerts/getAlertsData\" from \"217.105.221.106\"\n[debug] Query Parameters are:\n.-------------------------------------+--------------------------------------.\n| Parameter                           | Value                                |\n+-------------------------------------+--------------------------------------+\n| datefrom                            | 2014-03-21 00:00:00                  |\n| dateto                              | 2014-03-22 00:00:00                  |\n| ipdst                               | 78.128.128.0-78.128.255.255          |\n| ipsrc                               | 61.160.201.25                        |\n| page                                | 0                                    |\n| simple                              | 1                                    |\n'-------------------------------------+--------------------------------------'\n[debug] running ACL rule CODE(0x3d8bed8) defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118 on begin\n[debug] Access to begin allowed by rule CODE(0x3d8bed8) (defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118)\n[debug] Found sessionid \"21f2fe116dcd267d3898eb63b55351c3ea495934\" in cookie\n[debug] Restored session \"21f2fe116dcd267d3898eb63b55351c3ea495934\"\n[debug] running ACL rule CODE(0x63ee218) defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118 on end\n[debug] Access to end allowed by rule CODE(0x63ee218) (defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118)\n[debug] Auto-rendering view: default\n[debug] Rendering template \"alerts/getAlertsData\"\n[error] Couldn't render template \"alerts/getAlertsData: file error - alerts/getAlertsData: not found\"\n[error] Caught exception in Hawat::Controller::Alerts->getAlertsData \"Expected limit and page number as arguments at /var/mentat/www/hawat/script/../lib/Hawat/Model/Paginator.pm line 27.\n\tHawat::Model::Paginator::calculate_skip(Hawat::Model::Paginator=HASH(0x61e9978), 30, 0) called at /var/mentat/www/hawat/script/../lib/Hawat/Controller/Alerts.pm line 84\n\tHawat::Controller::Alerts::getAlertsData(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62e1e60), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1e60), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Controller.pm line 158\n\tCatalyst::Controller::_ACTION(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62e1878), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1878), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257\n\tCatalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), \"forward\", Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237\n\tCatalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst.pm line 358\n\tCatalyst::forward(Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst/Controller.pm line 132\n\tCatalyst::Controller::_DISPATCH(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62a3508), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62a3508), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257\n\tCatalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), \"forward\", Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237\n\tCatalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst.pm line 358\n\tCatalyst::forward(Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 105\n\tCatalyst::Dispatcher::dispatch(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1614\n\tCatalyst::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Plugin/Static/Simple.pm line 77\n\tClass::MOP::Class:::around(CODE(0x3cc87a8), Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 162\n\tClass::MOP::Method::Wrapped::__ANON__(Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 91\n\tHawat::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1964\n\tCatalyst::try {...} () called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 83\n\teval {...} called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 74\n\tTry::Tiny::try(CODE(0x6887a70), Try::Tiny::Catch=REF(0x694b3c0)) called at /usr/share/perl5/Catalyst.pm line 1970\n\tCatalyst::handle_request(\"Hawat\", \"env\", HASH(0x68299a8), \"response_cb\", CODE(0x656ced8)) called at /usr/share/perl5/Catalyst/Engine.pm line 685\n\tCatalyst::Engine::__ANON__(CODE(0x656ced8)) called at /usr/share/perl5/Plack/Handler/FCGI.pm line 138\n\tPlack::Handler::FCGI::run(Plack::Handler::FCGI=HASH(0x3d765d8), CODE(0x643e558), HASH(0x3d76ab8)) called at /usr/share/perl5/Catalyst/Engine.pm line 667\n\tCatalyst::Engine::run(Catalyst::Engine=HASH(0x2c72930), \"Hawat\", CODE(0x643e558), undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst.pm line 2429\n\tCatalyst::run(\"Hawat\", undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 91\n\tCatalyst::ScriptRole::_run_application(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 61\n\tCatalyst::ScriptRole::run(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRunner.pm line 50\n\tCatalyst::ScriptRunner::run(\"Catalyst::ScriptRunner\", \"Hawat\", \"FastCGI\") called at /var/mentat/www/hawat/script/hawat_fastcgi.pl line 4\"\n[error] Couldn't render template \"alerts/getAlertsData: file error - alerts/getAlertsData: not found\"\n",
    abort => undef,
    level => 31,
  }, "Catalyst::Log"),
  _response_cb => sub { ... },
  body => undef,
  cookies => {},
  finalized_headers => 0,
  headers => bless({
    "content-type" => "text/html; charset=utf-8",
    "x-catalyst"   => 5.90015,
  }, "HTTP::Headers"),
  status => 200,
}, "Catalyst::Response")

Stash

{}

Config

do {
  my $a = {
    "acl"                                         => {
                                                       acl_url => {
                                                         "/report/delete" => ["admin"],
                                                         "/statistics" => ["admin"],
                                                         "/users" => ["admin"],
                                                       },
                                                     },
    "authentication"                              => bless(do{\(my $o = 1)}, "JSON::XS::Boolean"),
    "authorization"                               => 'fix',
    "collection"                                  => "alerts",
    "database"                                    => "mentat",
    "default_roles"                               => ["admin", "user"],
    "devel"                                       => 1,
    "disable_component_resolution_regex_fallback" => 1,
    "Hawat::Controller::Report"                   => { some_value => "Hawat" },
    "home"                                        => "/var/mentat/www/hawat",
    "log_file"                                    => "/var/mentat/log/hawat.log",
    "log_threshold"                               => "debug",
    "Model::Alerts"                               => {
                                                       cache_dir => "/var/mentat/cache",
                                                       cache_ttl => 806400,
                                                       collection_name => "alerts",
                                                       database_name => "mentat",
                                                       devel => 0,
                                                       filter_grammar => "/etc/mentat/filter-grammar.conf",
                                                     },
    "Model::Reports"                              => {
                                                       collection_name => "reports",
                                                       database_name => "mentat",
                                                       devel => 0,
                                                       test_mode => 1,
                                                     },
    "Model::Users"                                => {
                                                       collection => "users",
                                                       database   => "mentat",
                                                       devel      => 0,
                                                       usermap    => {
                                                                       "/C=CZ/O=CESNET/CN=Andrea Kropacova/unstructuredName=6339" => "andrea\@cesnet.cz",
                                                                       "/C=CZ/O=CESNET/CN=Jan Mach/unstructuredName=5832" => "mach\@cesnet.cz",
                                                                       "/C=CZ/O=CESNET/CN=Pavel K\\xC3\\xA1cha/unstructuredName=5191" => "ph\@cesnet.cz",
                                                                       "/C=CZ/O=CESNET/CN=Radom\\xC3\\xADr Ork\\xC3\\xA1\\xC4\\x8D/unstructuredName=2193" => "andrea\@cesnet.cz",
                                                                       "/C=CZ/O=Masarykova univerzita/CN=Tomas Plesnik/unstructuredName=207426" => "plesnik\@ics.muni.cz",
                                                                       "/C=CZ/O=Vysoka skola banska - Technicka univerzita Ostrava/CN=Radomir Orkac/unstructuredName=ork01\@vsb.cz" => "andrea\@cesnet.cz",
                                                                       "Radomir Orkac" => "orkac\@cesnet.cz",
                                                                     },
                                                     },
    "name"                                        => "Hawat",
    "Plugin::Authentication"                      => {
                                                       default_realm => "ssl_client",
                                                       realms => {
                                                         ssl_client => {
                                                           credential => { class => "Remote", source => "SSL_CLIENT_S_DN" },
                                                           store => { class => "FromSub::Hash", model_class => "Users" },
                                                           use_session => 1,
                                                         },
                                                       },
                                                       use_session => 1,
                                                     },
    "Plugin::ConfigLoader"                        => {},
    "Plugin::Session"                             => {
                                                       cookie_name => "hawat_session",
                                                       expires => 7200,
                                                       storage => "/tmp/hawat/session_data",
                                                       verify_address => 0,
                                                       verify_user_agent => 0,
                                                     },
    "Plugin::Static::Simple"                      => {
                                                       debug => 1,
                                                       dirs => [],
                                                       ignore_dirs => [],
                                                       ignore_extensions => ["tmpl", "tt", "tt2", "html", "xhtml"],
                                                       include_path => [
                                                         bless({
                                                           dirs => ["", "var", "mentat", "www", "hawat", "root"],
                                                           file_spec_class => undef,
                                                           volume => "",
                                                         }, "Path::Class::Dir"),
                                                       ],
                                                       mime_types => {},
                                                       mime_types_obj => bless({}, "MIME::Types"),
                                                       no_logs => 1,
                                                     },
    "reports_dir"                                 => "/var/mentat/reports/reporter",
    "result_limit"                                => 30,
    "root"                                        => 'fix',
    "some_value"                                  => "Hawat",
    "static"                                      => 'fix',
    "stats_dir"                                   => "/var/mentat/reports/statistician",
  };
  $a->{"authorization"} = \${$a->{"authentication"}};
  $a->{"root"} = $a->{"Plugin::Static::Simple"}{include_path}[0];
  $a->{"static"} = $a->{"Plugin::Static::Simple"};
  $a;
}

Session ID

"21f2fe116dcd267d3898eb63b55351c3ea495934"

Session

do {
  my $a = {
    __created    => 1395482950,
    __updated    => 1395483271,
    __user       => bless({
                      _id => "ph\@cesnet.cz",
                      auth_realm => "ssl_client",
                      groups => [
                        bless({
                          client => bless({
                            _servers => {},
                            auto_connect => 1,
                            auto_reconnect => 1,
                            db_name => "admin",
                            dt_type => "DateTime",
                            find_master => 0,
                            host => "mongodb://localhost:27017",
                            inflate_dbrefs => 1,
                            j => 0,
                            max_bson_size => 16777216,
                            port => 27017,
                            query_timeout => 800000,
                            sasl => 0,
                            sasl_mechanism => "GSSAPI",
                            ssl => 0,
                            timeout => 20000,
                            ts => 0,
                            w => 1,
                            wtimeout => 1000,
                          }, "MongoDB::MongoClient"),
                          db => "mentat",
                          id => "certs",
                          ref => "groups",
                          verify_coll => 1,
                          verify_db => 1,
                        }, "MongoDB::DBRef"),
                        bless({
                          client => 'fix',
                          db => "mentat",
                          id => "abuse\@cesnet.cz",
                          ref => "groups",
                          verify_coll => 1,
                          verify_db => 1,
                        }, "MongoDB::DBRef"),
                      ],
                      id => undef,
                      name => "Pavel Kacha",
                      organization => "CESNET",
                      query => [
                        {
                          classification => "(D)DoS",
                          datefrom       => "",
                          dateto         => "",
                          detector       => "",
                          id             => "DDoS",
                          ipdst          => "",
                          ipor           => "FALSE",
                          ipsrc          => "",
                          query          => "( Alert/Classification/\@text EQ \"(D)DoS\" )",
                          simple         => 1,
                        },
                      ],
                      roles => ["admin", "user"],
                    }, "Catalyst::Authentication::User::Hash"),
    __user_realm => "ssl_client",
    bl_alerts    => bless(do{\(my $o = "https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255")}, "URI::https"),
  };
  $a->{__user}{groups}[1]{client} = $a->{__user}{groups}[0]{client};
  $a;
}

Hawat on Catalyst 5.90015