3.1 - Invalid Challenge Token at logout - RESOLVED
Moderator: crythias
-
- Znuny expert
- Posts: 213
- Joined: 02 Dec 2010, 16:53
- Znuny Version: 6.0.29
- Real Name: Marc
- Company: National Jewish Health
- Location: Denver, CO
3.1 - Invalid Challenge Token at logout - RESOLVED
When I click the logout link in the Agent interface of OTRS, 3.1.beta 5 - I get Error Message: Invalid Challenge Token! with the following Details:
Backend ERROR: OTRS-CGI-10 Perl: 5.10.0 OS: linux Time: Fri Feb 3 11:02:57 2012 Message: Invalid Challenge Token! Traceback (8077): Module: Kernel::Output::HTML::Layout::ChallengeTokenCheck (v1.380) Line: 1062 Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 417 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46 Module: (eval) (v1.90) Line: 204 Module: ModPerl::RegistryCooker::run (v1.90) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
The Apache error_log file shows the following:
[Fri Feb 3 11:01:20 2012] -e: Use of uninitialized value in concatenation (.) or string at /opt/otrs//Kernel/System/Log.pm line 161, <DATA
> line 522.
ERROR: OTRS-CGI-10 Perl: 5.10.0 OS: linux Time: Fri Feb 3 11:01:20 2012
Message: Invalid Challenge Token!
Traceback (7901):
Module: Kernel::Output::HTML::Layout::ChallengeTokenCheck (v1.380) Line: 1062
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 417
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
Module: (eval) (v1.90) Line: 204
Module: ModPerl::RegistryCooker::run (v1.90) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
Any ideas/suggestions appreciated.
Backend ERROR: OTRS-CGI-10 Perl: 5.10.0 OS: linux Time: Fri Feb 3 11:02:57 2012 Message: Invalid Challenge Token! Traceback (8077): Module: Kernel::Output::HTML::Layout::ChallengeTokenCheck (v1.380) Line: 1062 Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 417 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46 Module: (eval) (v1.90) Line: 204 Module: ModPerl::RegistryCooker::run (v1.90) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
The Apache error_log file shows the following:
[Fri Feb 3 11:01:20 2012] -e: Use of uninitialized value in concatenation (.) or string at /opt/otrs//Kernel/System/Log.pm line 161, <DATA
> line 522.
ERROR: OTRS-CGI-10 Perl: 5.10.0 OS: linux Time: Fri Feb 3 11:01:20 2012
Message: Invalid Challenge Token!
Traceback (7901):
Module: Kernel::Output::HTML::Layout::ChallengeTokenCheck (v1.380) Line: 1062
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 417
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
Module: (eval) (v1.90) Line: 204
Module: ModPerl::RegistryCooker::run (v1.90) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
Any ideas/suggestions appreciated.
Last edited by kruegerM on 16 Feb 2012, 18:23, edited 1 time in total.
Re: 3.1 Beta 5 - Invalid Challenge Token at logout
I do not get the error on logout.
It is a beta version, do not use it for production systems!
It is a beta version, do not use it for production systems!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny expert
- Posts: 213
- Joined: 02 Dec 2010, 16:53
- Znuny Version: 6.0.29
- Real Name: Marc
- Company: National Jewish Health
- Location: Denver, CO
Re: 3.1.1 Release - Invalid Challenge Token at logout
ok - still working on development machine - but now with officially released 3.1.
Tried a straight 3.1 install - everything worked great.
New image, this time a copy of the production system and verified operation
Updated it to 3.1
Everything is fine EXCEPT still getting this error at logout.
Tried a straight 3.1 install - everything worked great.
New image, this time a copy of the production system and verified operation
Updated it to 3.1
Everything is fine EXCEPT still getting this error at logout.
-
- Znuny newbie
- Posts: 43
- Joined: 07 Dec 2010, 23:54
- Znuny Version: 3.0.11
- Location: Seattle, WA
- Contact:
Re: 3.1 Beta 5 - Invalid Challenge Token at logout
Was everything fine when you ran OTRS before 3.1.1? I wonder if some of your Perl modules need to be updated?
OTRS 3.0.12
Ubuntu Linux 10.04
MySQL
Ubuntu Linux 10.04
MySQL
-
- Znuny expert
- Posts: 213
- Joined: 02 Dec 2010, 16:53
- Znuny Version: 6.0.29
- Real Name: Marc
- Company: National Jewish Health
- Location: Denver, CO
Re: 3.1 Invalid Challenge Token at logout
After setting up the initial 3.0.6 copy of production I took the system through it's paces. Everything functioned correctly as 3.0.6, it's only after the 3.1 update that I have the logout issue. However, I will double-check the perl and other supporting installations; maybe something is absent that 3.0 didn't care about but 3.1 does.
Re: 3.1.1 Release - Invalid Challenge Token at logout
It is because there are old Files in RPM
e.g.
# $Id: Header.dtl,v 1.105 2010/12/29 14:44:59 martin Exp $ should be -> # $Id: Header.dtl,v 1.111 2011/12/23 10:56:02 mg Exp $
This dtl is responsible for logout. The Challenge Token is implemented in v 1.108 so it Fails in v1.105 because it isn't implemented.
Please can anyone fix this so the RPM is shipped with the newes Files.
I download this one http://ftp.otrs.org/pub/otrs/RPMS/fedor ... noarch.rpm today about 13:00
e.g.
# $Id: Header.dtl,v 1.105 2010/12/29 14:44:59 martin Exp $ should be -> # $Id: Header.dtl,v 1.111 2011/12/23 10:56:02 mg Exp $
This dtl is responsible for logout. The Challenge Token is implemented in v 1.108 so it Fails in v1.105 because it isn't implemented.
Please can anyone fix this so the RPM is shipped with the newes Files.
I download this one http://ftp.otrs.org/pub/otrs/RPMS/fedor ... noarch.rpm today about 13:00
OTRS: 3.1.7 (Test) 3.1.7(Prod)
OS: CentOS
Web/DB: Apache2/MySQL 5 ? MSSQL
OS: CentOS
Web/DB: Apache2/MySQL 5 ? MSSQL
Re: 3.1 Beta 5 - Invalid Challenge Token at logout
Hi,
I downloaded the rpm and checked the content:
I downloaded the rpm and checked the content:
So somethin went wrong with your upgrade, in the file everything is OK# --
# Header.dtl - provides global HTML header
# Copyright (C) 2001-2011 xxx, http://otrs.org/
# --
# $Id: Header.dtl,v 1.111 2011/12/23 10:56:02 mg Exp $
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: 3.1 Beta 5 - Invalid Challenge Token at logout
I delete the old folder of RC1.jojo wrote:So somethin went wrong with your upgrade, in the file everything is OK
Code: Select all
rm -r -f /opt/otrs/
Code: Select all
rpm -ivh --force otrs-3.0.11-03.noarch.rpm
and installing 3.1.1
Code: Select all
rpm -Uvh otrs-3.1.1-02.noarch.rpm
Which step is wrong?
[edit]
I found a way to install and upgrade for my system.
using yum all is perfect and the newes files are there

Code: Select all
yum -v install otrs-3.0.11-03.noarch.rpm
yum -v update otrs-3.1.1-02.noarch.rpm
[/edit]
OTRS: 3.1.7 (Test) 3.1.7(Prod)
OS: CentOS
Web/DB: Apache2/MySQL 5 ? MSSQL
OS: CentOS
Web/DB: Apache2/MySQL 5 ? MSSQL
-
- Znuny expert
- Posts: 213
- Joined: 02 Dec 2010, 16:53
- Znuny Version: 6.0.29
- Real Name: Marc
- Company: National Jewish Health
- Location: Denver, CO
Re: 3.1 - Invalid Challenge Token at logout - RESOLVED
I tried again - put copy of production on development server, then upgraded with 3.1.1-02 - logout is now working correctly. Not sure what happened, but it's ok now.