Hello,
I installed RT 4.4.1 with authentication CAS.
I have randomly some errors 500 in the web browser twithout error in logs on the server.
I have only some warnings, I think it’s the cause but I’m not sure .
Apache2::AuthCASSimple: Session TimeOut, for 54bae9ee9624a54c1ecea67403712a4f / 194.57.178.129, referer: http://mesurestep.oieau.fr/Ticket/Update.html?id=56&QuoteTransaction=996&Action=Respond
[warning]: Malformed UTF-8 character (unexpected end of string) in string ne at /usr/share/perl5/Locale/Maketext.pm line 590
Odd number of elements in hash assignment at /usr/local/share/perl5/Apache2/AuthCASSimple.pm line 138
Use of uninitialized value $str in concatenation (.) or string at /usr/local/share/perl5/Apache2/AuthCASSimple.pm line 144
This my conf for apache :
<VirtualHost mesurestep.oieau.fr:80>
PerlOptions +GlobalRequest
DocumentRoot "/opt/rtms/share/html/"
ServerName mesurestep.oieau.fr
LimitRequestLine 16380
<Directory />
Require valid-user
#Authtype CAS
SetHandler modperl
#PerlHandler RT::Mason
AuthType Apache2::AuthCASSimple
PerlAuthenHandler Apache2::AuthCASSimple
PerlSetVar CASServerName sso.oieau.fr
PerlSetVar CASServerPath /cas
PerlSetVar CASSessionTimeout 0
PerlSetVar CASSessionDirectory /tmp
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rtms/sbin/rt-server
</Directory>
<Location /REST/1.0/NoAuth>
Require all granted
</Location>
<Location /NoAuth>
Require all granted
</Location>
<Location /NoAuth/images>
Require all granted
</Location>
<Location /REST/1.0/NoAuth/mail-gateway>
Require local
</Location>
<Perl>
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/opt/rtms/sbin/rt-server");
</Perl>
</VirtualHost>
And my conf for RT :
Set( $CommentAddress, '' );
Set( $CorrespondAddress, '' );
Set( $DatabaseHost, 'localhost' );
Set( $DatabaseName, '********' );
Set( $DatabasePassword, '*********' );
Set( $DatabasePort, '' );
Set( $DatabaseType, 'mysql' );
Set( $DatabaseUser, 'rt_user' );
Set( $Organization, 'mesurestep.oieau.fr' );
Set( $OwnerEmail, '******' );
Set( $SendmailPath, '/usr/sbin/sendmail' );
Set( $WebDomain, 'localhost' );
Set( $WebPort, '80' );
Set( $rtname, 'mesurestep.oieau.fr' );
Set($WebDomain, 'mesurestep.oieau.fr');
Set(@JSFiles,'myFunctions.js');
Set($WebRemoteUserAuth , 1); # CAS auth
Set($WebFallbackToRTLogin , 1);
Set($WebExternalAuto , 1);
Set($ExternalAuthPriority , ['LDAP_OIEAU']);
Set($ExternalInfoPriority , ['LDAP_OIEAU']);
Set($ExternalSettings,{
'LDAP_OIEAU' => {
'type' => 'ldap' ,
'server' => '******' ,
'port' => '****',
'ssl_version' => 0,
'base' => 'ou=users,dc=oieau.fr,dc=local' ,
'filter' => '(objectClass=*)' ,
'attr_match_list' => [ 'Name' ,
'EmailAddress'
],
'attr_map' => {
'Name' => 'uid' ,
'EmailAddress' => 'mail' ,
'RealName' => 'cn' ,
'NickName' => 'givenName' ,
'WorkPhone' => 'telephoneNumber'
}
}});
Set($UserAutocreateDefaultsOnLogin,{ Privileged => 0 });
Set($WebRemoteUserAutocreate , 1);
Set($AutoCreateNonExternalUsers, 1);
Set($LogToFile, "debug");
Set($Timezone, "Europe/Paris");
Set($RTAddressRegexp , '^(mesurestep|mesurestep-comment)?\@mesurestep\.oieau\.fr$');
1;
Could you help me, please ?
I have no more idea
Thanks
Alex