[dancer-users] how to get more diagnostics on Internal Server Error.

Mark Wood-Patrick mwoodpatrick at nvidia.com
Thu Apr 25 13:18:03 BST 2013

Program is very simple (see below) even with all logging enabled I only get

[29907]  core @0.000015> loading Dancer::Handler::Standalone handler in /home/app_perf_catalog/mwoodpatrick/mongodb/PORTool/Perl/Dancer-1.3112/lib/Dancer/Handler.pm l. 45
[29907]  core @0.000233> loading handler 'Dancer::Handler::Standalone' in /home/app_perf_catalog/mwoodpatrick/mongodb/PORTool/Perl/Dancer-1.3112/lib/Dancer.pm l. 479

Any suggestions on how to figure out what's wrong in my setup


    use Dancer;
     # changing default settings
    set port         => 4080;
    set content_type => 'text/plain';
    set startup_info => 0;
    set log_path => 'mylogs';
    set show_errors => 1;
    set log => 'core';

    get '/hello/:name' => sub {
        return "Why, hello there " . param('name');

    get '/' => sub {
        return "Hello World!";


-----Original Message-----
From: Daniel Perrett [mailto:dperrett at cambridge.org] 
Sent: Thursday, April 25, 2013 1:39 AM
To: Perl Dancer users mailing list
Cc: dancer-users at dancer.pm; Mark Wood-Patrick
Subject: Re: [dancer-users] how to get more diagnostics on Internal Server Error.

Probably the terminal window in which Dancer is running, or wherever you've redirected those warnings if you're running it in the background.

Is your application a complex one or are you having problems with the boilerplate "use Dancer; dance;"?

-----Mark Wood-Patrick <mwoodpatrick at nvidia.com> wrote: -----

 To: "dancer-users at dancer.pm" <dancer-users at dancer.pm>
 From: Mark Wood-Patrick <mwoodpatrick at nvidia.com>
 Date: 04/25/2013 08:04AM
 Cc: Mark Wood-Patrick <mwoodpatrick at nvidia.com>
 Subject: [dancer-users] how to get more diagnostics on Internal Server Error.
   I'm running with Dancer-1.3112 on CentOS release 5.7 (Final)

On starting dancer and running


I get:

--2013-04-24 03:56:34-- Connecting to connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2013-04-24 03:56:34 ERROR 500: Internal Server Error.

But no other info on what the problem is. I'm probably doing something wrong but how can I get more diagnostics on what the problem is

Mark Wood-Patrick

This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
dancer-users mailing list
dancer-users at dancer.pm

More information about the dancer-users mailing list