Roundcube Community Forum

 

Session problems

Started by smart, November 26, 2012, 01:46:59 PM

Previous topic - Next topic

smart

Hi,
Roundcube is logging me out after a few seconds, session log says this:

QuoteSession authentication failed for XZY; invalid auth cookie sent; timeslot = 1970-01-01 01:00:00

What does this timeslot mean?

Please find below the main.inc.php settings:
$rcmail_config['keep_alive'] = 60;
...
$rcmail_config['session_lifetime'] = 10;
...
$rcmail_config['min_keep_alive'] = 60;


Any idea what I'm doing wrong?

IBTB

I'm not qualified to give you a correct answer, but have you set date.timezone in your php.ini file?

smart

Unfortunately yes, that was the last thing I tried.

SKaero

I've seen the same error when force_https/use_https was set incorrectly but that had a current date in the error message. Does the same thing happen on other computers?

smart

Hi,
Thanks for your help!

This is how they are set:
$rcmail_config['force_https'] = true;
...
$rcmail_config['use_https'] = false;

I use a security certificate, but it's not behind a proxy - so this should be the only correct setting.

And yes, this happens on other computers. :-[

SKaero

Assuming the certificate is setup correctly that shouldn't be a problem and if it was the date in the error message should be current. Can you setup a test account and ftp access for me to test it out?

smart

Hi SKaero,

Thank you so much but I guess the problem was caused by another thing: both locations I tried it from were under a load balance so the IP changed.

Since I deactivated the IP check it seems to work! I'll have an eye on that, but I'm quiet sure that's the reason.

Thanks!