Author Topic: Empty Inbox, Logout problems  (Read 2427 times)

Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Empty Inbox, Logout problems
« on: November 20, 2018, 08:28:37 AM »
Hello,

after an update (we used a very old roundcube version) we have some strange problems.

Some Informations:
  • I've done a new installation (1.3.8 and 1.4-beta).
  • We have this problem regardles if I use a new database or an updated old database.
  • Some accounts are working and several accounts have this problem.

After the login the user cannot see any messages. He is able to write emails.

In the error log I can see this message:

Code: [Select]
<33bd17e0> PHP Error: Request security check failed (GET /roundcube/?_task=logout&_token=undefined)
When this user trys to logout we have same problem I've found in this ticket:
https://github.com/roundcube/roundcubemail/issues/5579

The confusing thing is that it works for many users without problems.

I appreciate any help.

Many thanks in advance,
Thomas

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,226
Re: Empty Inbox, Logout problems
« Reply #1 on: November 20, 2018, 12:47:28 PM »
What you are describing sound like JS errors. Can you get one of the effected users to check the JS console in their browsers for more information?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Re: Empty Inbox, Logout problems
« Reply #2 on: November 21, 2018, 04:28:05 AM »
Thanks for your fast reply.

I hope, that I've found the requested informations:

Screenshot 1: incorrect login
Screenshot 2: incorrect login

I'll do another post with two further screenshots.

The screenshot are made in the same browser and on the same computer. I can reproduce this issue on other systems (Tablet, smartphone, Firefox, Chrome,...). Some Accounts are working fine and some accounts not - regardless of the system used...

It is very confusing  :o

Regards,
Thomas


Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Re: Empty Inbox, Logout problems
« Reply #3 on: November 21, 2018, 04:28:48 AM »
Screenshot 3: correct login

Screenshot 4: correct logout

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,226
Re: Empty Inbox, Logout problems
« Reply #4 on: November 21, 2018, 03:33:28 PM »
Those show you have jQuery so this is presumably not a dependency issue but it was the JS console I was really interested in, can you check that?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Re: Empty Inbox, Logout problems
« Reply #5 on: November 26, 2018, 11:15:46 AM »
I am a little embarrassed, but I'm not sure if I have now the correct screenshots...

1. Screenshot: incorrect login
2. Screenshot: correct login

Thanks in advance,
Thomas


Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,226
Re: Empty Inbox, Logout problems
« Reply #6 on: November 27, 2018, 01:44:49 AM »
those are the correct ones and they do show different things happening but sadly not much else.

these are taken with different users in the same browser right? so may be its something about the users themselves like a setting or something. could you compare the settings of the 2 users?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Re: Empty Inbox, Logout problems
« Reply #7 on: November 27, 2018, 02:49:05 AM »
Hi,

yes indeed - same browser, different user. Same result on every device, browser,...

I can't see any different settings for the users. The problem even remains in a new roundcube installation.

I've found another different behaviour in the addressbar:

Correct login:
Code: [Select]
https://[path_to_roundcube]/?_task=mail&_mbox=INBOX
Correct logout:
Code: [Select]
https://[path_to_roundcube]/?_task=logout&_token=VTFASD....
Incorrect login:
Code: [Select]
https://[path_to_roundcube]/
Incorrect logout:
Code: [Select]
https://[path_to_roundcube]/?_task=logout&_token=undefined

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,501
    • http://SKaero.com/
Re: Empty Inbox, Logout problems
« Reply #8 on: November 27, 2018, 12:14:26 PM »
Are you using an plugins?

Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Re: Empty Inbox, Logout problems
« Reply #9 on: November 29, 2018, 06:50:12 AM »
Yes, we're using these plugins:
Code: [Select]
$config['plugins'] = array('additional_message_headers', 'attachment_reminder', 'emoticons', 'hide_blockquote', 'jqueryui', 'globaladdressbook');

When I comment this line out, the problem remains.

Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Re: Empty Inbox, Logout problems
« Reply #10 on: November 30, 2018, 02:19:06 AM »
Here is a screenshot of the server configuration, maybe someone can recognize something here...


Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,501
    • http://SKaero.com/
Re: Empty Inbox, Logout problems
« Reply #11 on: November 30, 2018, 05:31:27 PM »
What php version and what web server are you running?

Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Re: Empty Inbox, Logout problems
« Reply #12 on: December 03, 2018, 11:23:33 AM »
php Version: 7.2

Server: "WebServer Basic", Host Europe: https://www.hosteurope.de/WebServer/Vergleichen/

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,501
    • http://SKaero.com/
Re: Empty Inbox, Logout problems
« Reply #13 on: December 04, 2018, 10:14:10 AM »
Are you using Nginx and/or APCu?

Offline athoomi

  • Jr. Member
  • **
  • Posts: 45
Re: Empty Inbox, Logout problems
« Reply #14 on: December 04, 2018, 01:14:22 PM »
APC User Cache (APCu): on

NGINX Caching: off and on (generally it is disabled, but it´s „on“ for the folder of a Test installation, so I‘ve got an installation with caching on and one with caching off)

Which configuration is recommended?