Roundcube Community Forum

Release Support => Pending Issues => Topic started by: athoomi on November 20, 2018, 08:28:37 AM

Title: Empty Inbox, Logout problems
Post by: athoomi 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:

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 (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
Title: Re: Empty Inbox, Logout problems
Post by: JohnDoh 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?
Title: Re: Empty Inbox, Logout problems
Post by: athoomi 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

Title: Re: Empty Inbox, Logout problems
Post by: athoomi on November 21, 2018, 04:28:48 AM
Screenshot 3: correct login

Screenshot 4: correct logout
Title: Re: Empty Inbox, Logout problems
Post by: JohnDoh 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?
Title: Re: Empty Inbox, Logout problems
Post by: athoomi 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

Title: Re: Empty Inbox, Logout problems
Post by: JohnDoh 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?
Title: Re: Empty Inbox, Logout problems
Post by: athoomi 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
Title: Re: Empty Inbox, Logout problems
Post by: SKaero on November 27, 2018, 12:14:26 PM
Are you using an plugins?
Title: Re: Empty Inbox, Logout problems
Post by: athoomi 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.
Title: Re: Empty Inbox, Logout problems
Post by: athoomi on November 30, 2018, 02:19:06 AM
Here is a screenshot of the server configuration, maybe someone can recognize something here...

Title: Re: Empty Inbox, Logout problems
Post by: SKaero on November 30, 2018, 05:31:27 PM
What php version and what web server are you running?
Title: Re: Empty Inbox, Logout problems
Post by: athoomi on December 03, 2018, 11:23:33 AM
php Version: 7.2

Server: "WebServer Basic", Host Europe: https://www.hosteurope.de/WebServer/Vergleichen/ (https://www.hosteurope.de/WebServer/Vergleichen/)
Title: Re: Empty Inbox, Logout problems
Post by: SKaero on December 04, 2018, 10:14:10 AM
Are you using Nginx and/or APCu?
Title: Re: Empty Inbox, Logout problems
Post by: athoomi 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?
Title: Re: Empty Inbox, Logout problems
Post by: SKaero on December 05, 2018, 02:23:19 AM
Well I'm not sure but it maybe worth trying without a APC cache on, it maybe also worth trying without any Roundcube plugins enabled.