Upgraded and now having to login on every link in RT

I upgraded from RT 3.8.4 to 3.8.7.
I compiled as per the readme doc and then ran make upgrade.
I ran the db scripts.
I cleaned out the sessions table.

Everyone is now stuck in a cycle of continuous login pages on every
click within RT.

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel

The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca

Hi Kevin,

I have a dumb question, Have you had your users clear their cache/cookies? I
remember I had a similar problem on a recent upgrade, and a having the users
clear their cache seemed to fix the problem.

Also, do you have any log excerpts that you can share with us?

Thanks,
BillOn Wed, Feb 17, 2010 at 11:30, Kevin Gagel gagel@cnc.bc.ca wrote:

I upgraded from RT 3.8.4 to 3.8.7.
I compiled as per the readme doc and then ran make upgrade.
I ran the db scripts.
I cleaned out the sessions table.

Everyone is now stuck in a cycle of continuous login pages on every
click within RT.

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel


The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Bill Graboyes
On Assignment At:
Toyota Motor Sales, USA, Inc.
Consumer Portal Delivery
Office: (310) 468-6754
Cell: (714) 515-8312

I logged into RT, clicked a link and this is the result in the log
file. On the interface I got into RT and then after clicking a link
within it I was presented with a login screen again.

[Wed Feb 17 19:46:02 2010] [debug]: UPDATED user ( XXXX) from External
Service
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:307)
[Wed Feb 17 19:46:02 2010] [info]: Successful login for XXXX from
XXX.XXX.XXX.XXX
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:219)
[Wed Feb 17 19:46:02 2010] [debug]: Autohandler called ExternalAuth.
Response: (1, Successful login)
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)
[Wed Feb 17 19:46:02 2010] [debug]: /autohandler calls old style
callback, use $m->callback (/opt/rt3/share/html/Elements/Callback:51)
[Wed Feb 17 19:46:16 2010] [debug]: /autohandler calls old style
callback, use $m->callback (/opt/rt3/share/html/Elements/Callback:51)
[Wed Feb 17 19:46:16 2010] [debug]: Attempting to use external auth
service: My_LDAP
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)
[Wed Feb 17 19:46:16 2010] [debug]: SSO Failed and no user to test
with. Nexting
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92)
[Wed Feb 17 19:46:16 2010] [debug]: Autohandler called ExternalAuth.
Response: (0, No User)
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)

Yes, I’ve cleared my cache…

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagelOn Wednesday 02/17/2010 at 11:37 am, William Graboyes wrote:

Hi Kevin,

I have a dumb question, Have you had your users clear their
cache/cookies? I remember I had a similar problem on a recent upgrade,
and a having the users clear their cache seemed to fix the problem.

Also, do you have any log excerpts that you can share with us?

Thanks,
Bill

On Wed, Feb 17, 2010 at 11:30, Kevin Gagel gagel@cnc.bc.ca wrote:

I upgraded from RT 3.8.4 to 3.8.7.
I compiled as per the readme doc and then ran make upgrade.
I ran the db scripts.
I cleaned out the sessions table.

Everyone is now stuck in a cycle of continuous login pages on every
click within RT.

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel


The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Bill Graboyes
On Assignment At:
Toyota Motor Sales, USA, Inc.
Consumer Portal Delivery
Office: (310) 468-6754
Cell: (714) 515-8312

The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca

I logged into RT, clicked a link and this is the result in the log file. On the interface I
got into RT and then after clicking a link within it I was presented with a login screen
again.

[Wed Feb 17 19:46:02 2010] [debug]: UPDATED user ( XXXX) from External Service
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:307)
[Wed Feb 17 19:46:02 2010] [info]: Successful login for XXXX from XXX.XXX.XXX.XXX
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:219)
[Wed Feb 17 19:46:02 2010] [debug]: Autohandler called ExternalAuth. Response: (1, Successful
login)
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)
[Wed Feb 17 19:46:02 2010] [debug]: /autohandler calls old style callback, use $m->callback
(/opt/rt3/share/html/Elements/Callback:51)

Do you have a local/html/autohandler?
Vanilla RT’s autohandler won’t cause this warning, and neither will
RT::Authen::ExternalAuth

autohandler was heavily refactored in recent versions, I suspect
removing it will fix your problem.

-kevin

Thank you. Removing it did indeed correct the problem.

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagelOn Thursday 02/18/2010 at 8:31 am, Kevin Falcone wrote:

On Wed, Feb 17, 2010 at 11:49:27AM -0800, Kevin Gagel wrote:

   I logged into RT, clicked a link and this is the result in the 

log file. On the interface I
got into RT and then after clicking a link within it I was
presented with a login screen
again.

   [Wed Feb 17 19:46:02 2010] [debug]: UPDATED user ( XXXX) from 

External Service

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:307)
[Wed Feb 17 19:46:02 2010] [info]: Successful login for XXXX
from XXX.XXX.XXX.XXX

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:219)
[Wed Feb 17 19:46:02 2010] [debug]: Autohandler called
ExternalAuth. Response: (1, Successful
login)

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)
[Wed Feb 17 19:46:02 2010] [debug]: /autohandler calls old
style callback, use $m->callback
(/opt/rt3/share/html/Elements/Callback:51)

Do you have a local/html/autohandler?
Vanilla RT’s autohandler won’t cause this warning, and neither will
RT::Authen::ExternalAuth

autohandler was heavily refactored in recent versions, I suspect
removing it will fix your problem.

-kevin

   [Wed Feb 17 19:46:16 2010] [debug]: /autohandler calls old 

style callback, use $m->callback
(/opt/rt3/share/html/Elements/Callback:51)
[Wed Feb 17 19:46:16 2010] [debug]: Attempting to use external
auth service: My_LDAP

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)
[Wed Feb 17 19:46:16 2010] [debug]: SSO Failed and no user to
test with. Nexting

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92)
[Wed Feb 17 19:46:16 2010] [debug]: Autohandler called
ExternalAuth. Response: (0, No User)

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)

The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca