Issue Control Panel URL redirects to https://localhost:8443/smb/

jescayola

New Pleskian
Server operating system version
Debian 11.11 x86_64
Plesk version and microupdate number
Plesk Obsidian 18.0.72.3
This started to happen a few weeks ago, I couldn't get the Grafana performance charts but navigate through the sections, but now when I get to the login page and enter credencials the URL changes to https://localhost:8443/smb/ and can't get to the Control Panel.
I have tried different browsers, computers just in case, and even ISP.
Any ideas?
Thank you!
 
Try to run
plesk bin admin --disable-access-domain
on the command line, then try the URL again.
 
What's the content of /etc/hosts? It should not only resolve to localhost, but resolve the local IP address to the hostname, e.g.
Code:
# IPv4
127.0.0.1       localhost.localdomain localhost
123.123.222.111 <my.host.com> myhost
where "myhost" and my.host.com are just examples of your local host name. If that line is missing, you might experience redirects to localhost.

Another issue could be your browser's cache. Clear it.
 
I checked the /etc/hosts file and yes, there is the line with the IP and hostname domain. Also cleared browser cache but it is not working.
I tried to access using one of the domains without SSL and it works, no redirection. But when I configure the SSL to use that domain's certificate the issue is back again. I don't know if this might help. Thank you.
 
Just an idea, Have you tried to access the panel via the server IP address? and change the full hostname to a different subdomain?
 
Yes! I am actually using a managed domain within the server to access although not under a SSL cover.
So, yeah, using the server IP actually works, but no SSL :( And the Control Panel behaves strange: kicking me out of session randomly.
Also, tried a new admin user... no luck :(
 
Are you currently behind any proxy or VPN, such as Cloudflare? This information could help narrow down the issue.

Also, could you please confirm that the server is using a unique hostname? By that I mean the hostname should be a dedicated subdomain that is not used by any of the hosted domains on the server.

If possible, please check for any relevant entries in the following logs:

Error logs:
/var/log/sw-cp-server/error_log
/var/log/sw-cp-server/sw-engine.log

Panel log:
/var/log/plesk/panel.log
 
Back
Top