REST2.0-authen-token Help Request

Hi,
Any help will be most appreciated:

We’re on RT v.4.2.10. I’ve just installed the REST2.0 and authen-token plugins. I’ve added the SetEnvIf directive to the RT apache config/restarted, added the plugins to the RT_SiteConfig.pm, enabled staff users to manage their tokens - we can create/manage our own tokens. However, I cannot get the basic curl test in the rt-extension-rest2 README to work. I’m sure the issue is somewhere in my config but where? When I run the curl test on the command line on the RT server itself I get this:

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at adm@seismo.berkeley.edu to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

and in the server ssl_error_log I get this horrible error corresponding to the curl request:

[Tue Jun 26 14:17:49.702653 2018] [perl:error] [pid ] [client You must pass in a resource for this Web::Machine at /usr/local/share/perl5/Web/Machine.pm line 25.\n\tWeb::Machine::new(‘Web::Machine’, ‘resource’, ‘RT::Extension::REST2::Resource::Queues’, ‘resource_args’, ‘ARRAY(0x5562ed231800)’) called at /opt/rt4/local/plugins/RT-Extension-REST2/lib/RT/Extension/REST2/Dispatcher.pm line 65\n\tRT::Extension::REST2::Dispatcher::ANON(‘HASH(0x5562ed122c20)’) called at /opt/rt4/local/plugins/RT-Extension-REST2/lib/RT/Extension/REST2/Middleware/Auth.pm line 22\n\tRT::Extension::REST2::Middleware::Auth::call(‘RT::Extension::REST2::Middleware::Auth=HASH(0x5562ec6daf90)’, ‘HASH(0x5562ed122c20)’) called at /usr/local/share/perl5/Plack/Component.pm line 50\n\tPlack::Component::ANON(‘HASH(0x5562ed122c20)’) called at /opt/rt4/local/plugins/RT-Extension-REST2/lib/RT/Extension/REST2/Middleware/Log.pm line 17\n\tRT::Extension::REST2::Middleware::Log::call(‘RT::Extension::REST2::Middleware::Log=HASH(0x5562ec4ab140)’, ‘HASH(0x5562ed122c20)’) called at /usr/local/share/perl5/Plack/Component.pm line 50\n\tPlack::Component::ANON(‘HASH(0x5562ed122c20)’) called at /opt/rt4/local/plugins/RT-Extension-REST2/lib/RT/Extension/REST2/Middleware/ErrorAsJSON.pm line 14\n\tRT::Extension::REST2::Middleware::ErrorAsJSON::call(‘RT::Extension::REST2::Middleware::ErrorAsJSON=HASH(0x5562ec6d…’, ‘HASH(0x5562ed122c20)’) called at /usr/local/share/perl5/Plack/Component.pm line 50\n\tPlack::Component::ANON(‘HASH(0x5562ed122c20)’) called at /usr/local/share/perl5/Plack/App/URLMap.pm line 71\n\tPlack::App::URLMap::call(‘Plack::App::URLMap=HASH(0x5562ec2b5ec0)’, ‘HASH(0x5562ed122c20)’) called at /usr/local/share/perl5/Plack/Component.pm line 50\n\tPlack::Component::ANON(‘HASH(0x5562ed122c20)’) called at /usr/local/share/perl5/Plack/Handler/Apache2.pm line 87\n\tPlack::Handler::Apache2::call_app(‘Plack::Handler::Apache2’, ‘Apache2::RequestRec=SCALAR(0x5562ecbc0510)’, ‘CODE(0x5562ec2f3458)’) called at /usr/local/share/perl5/Plack/Handler/Apache2.pm line 126\n\tPlack::Handler::Apache2::handler(‘Apache2::RequestRec=SCALAR(0x5562ecbc0510)’) called at -e line 0\n\teval {…} called at -e line 0\n

I’m not sure if I’ll be able to help. I’m a new user starting with RT 4.4.2 installed and REST 2.0 is working fine for me. I think showing your curl command might be useful, redacting whatever you deem appropriate.