On Thu, May 3, 2012 at 12:01 AM, Michael Heydekamp <listuser@freexp.de> wrote:
Am 02.05.2012 20:06, schrieb Michael Heydekamp:
> Am 02.05.2012 10:05, schrieb Thomas Bruederli:

>> I'm sure there'll be another session timeout to be logged :-)
>
> Hopefully. :-) But we may have another issue here: Although I enabled
> 'log_session', there is still no file "session" in the logs directory. Are
> entries to this file written in case of any errors/timeouts only...? So far
> I haven't had another session timeout since I enabled this option, but I
> also haven't used RC heavily since then - due to the job I'm being paid for.
> ;) But now I'm waiting any minute for another timeout and it would be a pity
> if it would happen, but wouldn't get logged.
>
> If there is anything else for me to do apart from just enabling the option,
> let me know.

Now I got it, apparently "session" is indeed just written when an
error/timeout occurs. In the middle of composing a message (and if I'm not
totally wrong, exactly in the moment the autosave routine should have saved
the message), a session timeout just occurred again (grmpf!), and I found a
log "session" with this content:

> [02-May-2012 23:10:59 +0200]: Session authentication failed for dnoqrj84a3pds30sk9h3ib0410; invalid auth cookie sent
> [02-May-2012 23:11:00 +0200]: Aborted session dnoqrj84a3pds30sk9h3ib0410; no valid session data found
> [02-May-2012 23:11:01 +0200]: Aborted session dnoqrj84a3pds30sk9h3ib0410; no valid session data found

Does that help...? If not, what more can I do next time?

Searched the whole HD for a file containing "dnoqrj84a3pds30sk9h3ib0410" in
the name, but with no success. A HD-wide search for a file containing the
string "dnoqrj84a3pds30sk9h3ib0410" would have taken ages. In which
directory should I look (Win7/64)? Wouldn't it be helpful to indicate the
file name (and directory) of the relevant cookie in the session log? Then I
could probably have attached it to this mail (although I don't know if this
might help).

While I'm typing this, another session timeout in the middle of composing
this specific message occured again. The session log says:

> [02-May-2012 23:45:15 +0200]: Session authentication failed for 3bnr138hd6pj2p1sfbhm27uod1; invalid auth cookie sent
> [02-May-2012 23:45:17 +0200]: Aborted session 3bnr138hd6pj2p1sfbhm27uod1; no valid session data found

This has already been found and discussed. Alec created a new bug in trac and Thomas already created some bugfixes.
There are other threads concerning session timeouts/keep-alive problems - I suggest you read them, too.

And yes, the bugfixes can be applied to your 0.7.2 installation without having to install a new (svn?) Roundcube.
I'm currently parallel-testing stable 0.7.2 Roundcube, one with the patches, one without. But no results so far as these session failures occur randomly, at least on my installation.
 

So much for now,

Michael (being frustrated and "happy" at the same time)
--
Michael Heydekamp
Co-Admin freexp.de
Düsseldorf/Germany
_______________________________________________
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users