• 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.

After Upgrade Plesk 11.0.9 #59 to 11.5.30 #19 Error "400 Bad Request"

PriyanA

Regular Pleskian
Hi,

Upgraded New(Just after got it from Service Provider) Plesk 11.0.9 #59 VPS to 11.5.30 #19

Now I'm getting this error when i try to login to the panel without HTTPS

400 Bad Request
The plain HTTP request was sent to HTTPS port
nginx


How can i fix this?

Found some thread in the forum but couldn't find any solution.

Thanks
Xeont
 
Check that you have enabled safe mode in /etc/php.ini and disable it:

Safe_mode = Off

PHP 5.4 cannot run in safe mode.
 
Thank you Igor.

with,

/etc/sw-cp-server/conf.d/plesk.conf

Code:
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;
[B]error_page 497 https://$host:$server_port$request_uri;[/B]
}

worked after a Restart of the server.

not sure if this the best way to fix it. works for now.

Regards,
Xeont
 
PriyanA,

You added the error_page line of code to the plesk.conf file?

My conf file does not include that line and I get the same error you were getting.

Thanks,
Justin
 
Hi Justin,

I manually added

Code:
error_page 497 https://$host:$server_port$request_uri;

to the /etc/sw-cp-server/conf.d/plesk.conf file and restarted the server.

Regards,
PriyanA
 
Hi Justin,

I manually added

Code:
error_page 497 https://$host:$server_port$request_uri;

to the /etc/sw-cp-server/conf.d/plesk.conf file and restarted the server.

Regards,
PriyanA

I have the same problem and add this line, but it did not fix the issue
 
did you restart the server? make sure the you have place the code correctly
 
Last edited:
thanks for answering, I dobble checked it and looks good and I stopped / started the srever again and now it works

thanks
 
Last edited:
Back
Top