• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Immediatelly logged out after logging in.

Ahmed

New Pleskian
Server operating system version
Ubuntu 18.04
Plesk version and microupdate number
Plesk Obsidian 18.0.51.1
Since at least a couple of days ago, when I try to login into Plesk it appears to succeed, then I see the error
Code:
net::ERR_ABORTED 400 (Bad Request)
in the browser console and then I'm immediatelly logged out and redirected to the login page again.

This happens in the 3 servers I'm currently using Plesk on, all using Ubuntu 18.04, meaning I just can't manager them through Plesk. I'm paying for a software that won't let me log in right now. Tried deleting cookies/cache in the browser, multiple browsers (Chrome, Brave, Firefox...) and still can't log in.
 
After investigating a bit more because today I really needed to log in, I found out that this was caused by the Advisor extension. Not sure about the exact problem, but disabling the extension (plesk bin extension --disable advisor) allowed me to log in again. Hope it helps someone.

I always knew that this extension was just spam to sell extra extensions for functionality that should be included by default in Plesk, but I never expected it would break my installations. Not enabling it ever again.

Attaching the logs that me suspect it was the cause:

Code:
178.239.250.190 - - [24/May/2023:18:18:25 +0200] "POST /login_up.php?success_redirect_url=%2Fsmb%2Fweb%2Fview HTTP/1.1" 200 74 "https://example.com:8443/login_up.php?success_redirect_url=%2Fsmb%2Fweb%2Fview" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/login_up.php' '' '/opt/psa/admin/htdocs'
178.239.250.190 - - [24/May/2023:18:18:27 +0200] "GET /smb/web/view HTTP/1.1" 200 36757 "https://example.com:8443/login_up.php?success_redirect_url=%2Fsmb%2Fweb%2Fview" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/smb/web/view' '' '/opt/psa/admin/htdocs'
185.210.18.190 - - [24/May/2023:18:18:28 +0200] "GET /ws HTTP/1.1" 101 30 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/ws' '' '/opt/psa/admin/htdocs'
178.239.250.190 - - [24/May/2023:18:18:28 +0200] "GET /admin/notifications/list?filter[older]=0 HTTP/1.1" 200 33 "https://example.com:8443/smb/web/view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/admin/notifications/list' '' '/opt/psa/admin/htdocs'
185.210.18.190 - - [24/May/2023:18:18:28 +0200] "GET /modules/advisor/index.php/rating/get-total?ignoreContext=true HTTP/1.1" 303 5 "https://example.com:8443/smb/web/view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/modules/advisor/index.php/rating/get-total' '' '/opt/psa/admin/htdocs'
178.239.250.190 - - [24/May/2023:18:18:28 +0200] "GET /smb/task/task-progress HTTP/1.1" 200 43 "https://example.com:8443/smb/web/view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/smb/task/task-progress' '' '/opt/psa/admin/htdocs'
185.210.18.190 - - [24/May/2023:18:18:28 +0200] "GET /login.php?success_redirect_url=%2Fmodules%2Fadvisor%2Findex.php%2Frating%2Fget-total%3FignoreContext%3Dtrue HTTP/1.1" 303 5 "https://example.com:8443/smb/web/view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/login.php' '' '/opt/psa/admin/htdocs'
178.239.250.190 - - [24/May/2023:18:18:28 +0200] "GET /smb/task/task-progress HTTP/1.1" 400 5 "https://example.com:8443/smb/web/view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/smb/task/task-progress' '' '/opt/psa/admin/htdocs'
178.239.250.190 - - [24/May/2023:18:18:28 +0200] "GET /smb/web/view HTTP/1.1" 303 5 "https://example.com:8443/smb/web/view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/smb/web/view' '' '/opt/psa/admin/htdocs'
178.239.250.190 - - [24/May/2023:18:18:28 +0200] "GET /login.php?success_redirect_url=%2Fsmb%2Fweb%2Fview HTTP/1.1" 303 5 "https://example.com:8443/smb/web/view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/login.php' '' '/opt/psa/admin/htdocs'
185.210.18.190 - - [24/May/2023:18:18:28 +0200] "GET /login_up.php?success_redirect_url=%2Fmodules%2Fadvisor%2Findex.php%2Frating%2Fget-total%3FignoreContext%3Dtrue HTTP/1.1" 200 6653 "https://example.com:8443/smb/web/view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/login_up.php' '' '/opt/psa/admin/htdocs'
178.239.250.190 - - [24/May/2023:18:18:28 +0200] "GET /login_up.php?success_redirect_url=%2Fsmb%2Fweb%2Fview HTTP/1.1" 200 6653 "https://example.com:8443/smb/web/view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/login_up.php' '' '/opt/psa/admin/htdocs'
185.210.18.190 - - [24/May/2023:18:21:05 +0200] "POST /login_up.php?success_redirect_url=%2Fsmb%2Femail-address%2Flist HTTP/1.1" 200 86 "https://example.com:8443/login_up.php?success_redirect_url=%2Fsmb%2Femail-address%2Flist" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/login_up.php' '' '/opt/psa/admin/htdocs'
185.210.18.190 - - [24/May/2023:18:21:07 +0200] "GET /smb/email-address/list HTTP/1.1" 200 17122 "https://example.com:8443/login_up.php?success_redirect_url=%2Fsmb%2Femail-address%2Flist" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/smb/email-address/list' '' '/opt/psa/admin/htdocs'
178.239.250.190 - - [24/May/2023:18:21:07 +0200] "GET /ws HTTP/1.1" 101 30 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/ws' '' '/opt/psa/admin/htdocs'
185.210.18.190 - - [24/May/2023:18:21:08 +0200] "GET /admin/notifications/list?filter[older]=0 HTTP/1.1" 200 33 "https://example.com:8443/smb/email-address/list" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/admin/notifications/list' '' '/opt/psa/admin/htdocs'
178.239.250.190 - - [24/May/2023:18:21:08 +0200] "GET /modules/advisor/index.php/rating/get-total?ignoreContext=true HTTP/1.1" 303 5 "https://example.com:8443/smb/email-address/list" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/modules/advisor/index.php/rating/get-total' '' '/opt/psa/admin/htdocs'
 
Apparently it seemed to work once, but it dropped me to the login page again at the next request.

These are the problematic logs:

Code:
185.210.18.190 - - [24/May/2023:18:36:39 +0200] "GET /smb/task/task-progress HTTP/1.1" 400 5 "https://example.com:8443/smb/email-address/list" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/smb/task/task-progress' '' '/opt/psa/admin/htdocs'
185.210.18.190 - - [24/May/2023:18:36:40 +0200] "GET /admin/notifications/list?filter[older]=0 HTTP/1.1" 400 5 "https://example.com:8443/smb/email-address/list" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "-"'/admin/notifications/list' '' '/opt/psa/admin/htdocs'

It doesn't matter what the login success redirect page is, the same error always shows up and I'm logged out and redirected to the login page. I've been locked out of my Plesk installations for 3 days already, in 3 different servers.
 
@Ahmed Thank you for posting. The cause is probably a configuration setting in Tools & Settings > Security > Session Idle Time. Please make sure that the idle time is long enough and that the checkbox "Allow IP address changes during a single session" is checked. If you have trouble going through your landline Internet connection, you can also disable Wifi on your phone and login through a cell so that you have a stable IP and are able to navigate to this setting.
 
@Ahmed Thank you for posting. The cause is probably a configuration setting in Tools & Settings > Security > Session Idle Time. Please make sure that the idle time is long enough and that the checkbox "Allow IP address changes during a single session" is checked. If you have trouble going through your landline Internet connection, you can also disable Wifi on your phone and login through a cell so that you have a stable IP and are able to navigate to this setting.
In three different servers? I didn't change anything before this started happening, it's very weird, isn't it?
 
Did you check the setting as described above?
Sorry for not answering, missed your message. It was a plesk php config problem that I fixed the same day I posted from information on another thread, but sadly I don't remember which one.
 
Back
Top