[rt-users] Unexpected session timeouts, RT 3.6.5

Matt Pounsett matt.pounsett at cira.ca
Mon Nov 19 12:57:14 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 2007-Nov-19, at 12:30, Torsten Brumm wrote:

> Hi Matt,
>
> which session handling you use? In your RT_SiteConfig.pm, have you  
> commented out:
>
> Set($WebSessionClass , 'Apache::Session::File');
>
> ??? I had several problems if i use this (two webservers, load  
> balanced, shared directory) so i switched to the normal and store  
> the sessions inside the DB


Thanks for the response, Torsten.

I make no reference to any session handling configuration in my  
RT_SiteConfig, so the default should be active.  I'm assuming that's  
the database.  I'm not using any load balancing though.. the RT  
server is stand-alone, with the database local, so I wouldn't expect  
any problems with session synchronization.

I've done some header capture to demonstrate the problem, but so far  
I haven't had any luck in tracking down where in the code it's  
happening.

In my paste below I show two requests captured using LiveHTTPHeaders  
in Firefox.  The two requests are only 1 second apart, but you can  
see from the second response that RT has either decided to expire the  
session in use, or has lost it entirely.  As noted before, even at  
'debug' level, RT doesn't log anything when this happens.

Matt


- ----------------------------------------------------------
http://rt.foo.com/Search/Build.html

GET /Search/Build.html HTTP/1.1
Host: rt.foo.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv: 
1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
Accept: text/xml,application/xml,application/xhtml+xml,text/ 
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://rt.foo.com/Approvals/
Cookie: RT_SID_CIRA.80=51e2f85a9b368158a5da550f106e6a14

HTTP/1.x 200 OK
Date: Mon, 19 Nov 2007 17:50:47 GMT
Server: Apache
Pragma: no-cache
Cache-Control: no-cache
Keep-Alive: timeout=5, max=94
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
- ----------------------------------------------------------
http://rt.foo.com/Search/Simple.html

GET /Search/Simple.html HTTP/1.1
Host: rt.foo.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv: 
1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
Accept: text/xml,application/xml,application/xhtml+xml,text/ 
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://rt.foo.com/Search/Build.html
Cookie: RT_SID_CIRA.80=51e2f85a9b368158a5da550f106e6a14

HTTP/1.x 200 OK
Date: Mon, 19 Nov 2007 17:50:48 GMT
Server: Apache
Pragma: no-cache
Set-Cookie: RT_SID_CIRA.80=e33d394fc26656ed41b13cc6c36900bb; path=/
Cache-Control: no-cache
Keep-Alive: timeout=5, max=95
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
- ----------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFHQc56mFeRJ0tjIxERAmYaAJ9vEOFCyEd9dng1O5scmo/WiuKVZQCffTyA
b/Spuqee9v6dsCFKT4/qYWM=
=TdXr
-----END PGP SIGNATURE-----



More information about the rt-users mailing list