On Tue, Aug 12, 2014 at 12:32:18PM -0400, Jeff Blaine wrote: > I keep getting the following errors when using the web UI. Here's one > case just now where I logged in as root at https://alms2.foo.com/ and > was then immediately thrown an error: > > [15332] [Tue Aug 12 15:55:24 2014] [info]: Successful login for root > from 1xx.xx.x.165 (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:816) > [15332] [Tue Aug 12 15:55:24 2014] [error]: Can't locate object > method "host" via package "URI::_foreign" at > /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 935. > > Visiting https://alms2.mitre.org/ shows I *did* login as root though. > > Previously, Kevin Falcone had said: > > "This is RT trying to issue the redirect after login, what URL did > you use to access RT and what was the next parameter." > > I had replied: > > I'm not sure what you mean by "what was the next parameter".
Look at the code that calls Redirect (which is where your error comes from). https://github.com/bestpractical/rt-authen-externalauth/blob/master/html/Elements/DoAuth#L19 What's $next for your user that errors out. You should also always turn on stacktraces when debugging something like this. -kevin
pgp_hLTwWLJy_.pgp
Description: PGP signature
-- RT Training - Boston, September 9-10 http://bestpractical.com/training