• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

400 Bad Request on panel login

AlexeiV

New Pleskian
I have upgraded from 11.0.9 update 55 to 11.5.30 this morning but now when I go to Mydomain.com:8443 i get this message:

400 Bad Request

The plain HTTP request was sent to HTTPS port
nginx


It used to automatically redirect but it now does not appear to.

does anyone know how to fix this?
 
I try to update this morning 11.0.9 update 55 to 11.5.30 and I get the same message... Everything stops working, mysql failed to start... I have to reinstall Parallels Plesk Panel 11.0.9 and restore the backup.
 
This feature is unavailable in PP11.5 because PP was switched from lighthttpd to nginx webserver.
 
Last edited:
Could it be added again then? This should be possible also with nginx :). Most of your customers use an SSL certificate to protect the control panel and it's uselless now.
 
I have upgraded from 11.0.9 update 55 to 11.5.30 this morning but now when I go to Mydomain.com:8443 i get this message:

400 Bad Request

The plain HTTP request was sent to HTTPS port
nginx


It used to automatically redirect but it now does not appear to.

does anyone know how to fix this?

I have fallen into the same trap today following the panel update. Everything seems to run fine, but access to the panel results in "400 Bad Request; The plain HTTP request was sent to HTTPS port; nginx".

Help!!!!
 
I've been having the same issue. The solution for this issue is to add "error_page 497 https://$host:$server_port$request_uri;" to the end of the file "/etc/sw-cp-server/conf.d/plesk.conf".

It'd great if this can be added to the next Plesk update.
 
I've been having the same issue. The solution for this issue is to add "error_page 497 https://$host:$server_port$request_uri;" to the end of the file "/etc/sw-cp-server/conf.d/plesk.conf".

It'd great if this can be added to the next Plesk update.

At the end of the file? below the " } " ?

or inside like this?

server {
listen 8443 ssl;
listen 8880;
include conf.d/*ipv6_ports.inc;


ssl_certificate /usr/local/psa/admin/conf/httpsd.pem;
ssl_certificate_key /usr/local/psa/admin/conf/httpsd.pem;

include conf.d/*plesk.inc;
include conf.d/*wpb.inc;
include conf.d/*cbm.inc;
include conf.d/*sso.inc;
error_page 497 https://$host:$server_port$request_uri;
}
 
A better way to do it, with significantly fewer risks to get your custom changes overwritten by Parallels during their (in)famous upgrades/patches is to use a custom file for this, say conf.d/zzz_mycustomconfig-plesk.inc with:

# Force http to https for the panel
error_page 497 https://$host:$server_port$request_uri;

# Optional. Force sitebuilder 8880/http to 8443/https
if ($server_port = 8880) {
rewrite ^ https://$host:8443$request_uri permanent;
}

Of course, all of this subject to future sudden, unexpected, unannounced and unwanted changes from Parallels :-/
 
A better way to do it, with significantly fewer risks to get your custom changes overwritten by Parallels during their (in)famous upgrades/patches is to use a custom file for this, say conf.d/zzz_mycustomconfig-plesk.inc with:

# Force http to https for the panel
error_page 497 https://$host:$server_port$request_uri;

# Optional. Force sitebuilder 8880/http to 8443/https
if ($server_port = 8880) {
rewrite ^ https://$host:8443$request_uri permanent;
}

Of course, all of this subject to future sudden, unexpected, unannounced and unwanted changes from Parallels :-/


Also ich habe die plesk.conf soweit geändert aber wenn ich dann serverip:8443 aufrufe kommt der Fehler weiterhin. Weis jemand was ich falsch mache ?
 
Back
Top