Author Topic: Safari Login Error - Your session is invalid or expired  (Read 2380 times)

Offline texroundcubers

  • Newbie
  • *
  • Posts: 2
Safari Login Error - Your session is invalid or expired
« on: August 11, 2023, 06:21:58 PM »
Has anyone resolved the issue of invalid sessions and being unable to sign in to Roundcube using Safari browser?  We have a RC installation that will simply not allow users in Safari browser to sign in. They continue to see the error Your session is invalid or expired.  These happens on completely fresh Safari browsers where no one has even tried to access the webmail installation. Other browsers on PC and Mac are fine.  We have raised the session lifetime from the default 10 minutes to 90 mins.  This seemed to improve the error from appearing in other browsers but on those browsers, the error was just a nuisance.  It only appeared once and the users were able to sign in.  With Safari, the users are completely locked out.

Offline Dmitry42

  • Full Member
  • ***
  • Posts: 232
Re: Safari Login Error - Your session is invalid or expired
« Reply #1 on: August 12, 2023, 06:23:33 AM »
not sure, but try clear Safari cache (history)

Offline chris972

  • Newbie
  • *
  • Posts: 4
Re: Safari Login Error - Your session is invalid or expired
« Reply #2 on: September 15, 2023, 08:58:28 PM »
Hi,

Did you find a solution ? I have the same problem with all browsers (firefox, chrome) after updating 1.5.2 to 1.6.2.
It's like if it connect then immediately disconnect. I don't understand why.

userlogins.log:
Code: [Select]
[16-Sep-2023 00:47:19 +0000]: <oqfadgk5> Successful login for chris (ID: 1) from 192.168.5.3 in session oqfadgk5724en95l
My dovecot logs:
Code: [Select]
Sep 15 20:47:19 imap-login: Info: Login: user=<chris>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7766, secured, session=<Zj5eQG8FgOh/AAAB>
Sep 15 20:47:19 imap(chris)<7766><Zj5eQG8FgOh/AAAB>: Info: Disconnected: Logged out in=82 out=803 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0


Offline texroundcubers

  • Newbie
  • *
  • Posts: 2
Re: Safari Login Error - Your session is invalid or expired
« Reply #3 on: February 27, 2024, 05:17:30 PM »
We still have users reporting Safari login issues -- even ones that have never used the webmail URL and cleared cache.  Never had a problem with Firefox or Edge but we are still running RC 1.6.1 and not 1.6.2. At this point, we just tell our users that Safari is hit or miss using Roundcube and to plan on using native mail apps on iOS and Apple computers.