37 C
Saturday, February 22, 2020

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

Featured Posts

How to Encrypt Files Before Adding Them to Cloud?

Topping the security of your cloud data is a top priority as your account might get hacked, and there's a chance where it cannot...

8 Weird Cat Behaviors Explained

Do you have a cat that you love so much, but you can't seem to understand it's behavior? Is your cat's craziness making you...

Post-natal Care for Mother Cat and Kittens

Has your cat given birth to a cute litter of kittens? The feeling a pet owner gets when this happens could be either excitement...

Comprehensive Guide on How to Keep a Blood Parrot Cichlid Fish

Have you ever imagined a hybrid fish with a bird looking face? If you could find one I'm sure you won't mind adding it...

Career as a Marine Mammal Trainer

Do what does a marine mammal trainer do, exactly? When in simple terms, they teach marine mammals, as in whales, killer whales, dolphins, sea...

Recently upgraded to Plesk 17.5 though not marked as stable release in command line, it can be used for production site that is what i am using for my shared hosting business.


400 The plain HTTP request was sent to HTTPS port (1)

However Plesk 17.5 onyx has some issues one of it is 400 Bad Request The plain HTTP request was sent to HTTPS port.

What this means is that you are trying to access the Plesk admin area from HTTP which normally it should redirect but on Plesk 17.5 it does not, so we are going to make some hacks in Plesk panel server sw-cp-server.

What you have to do is login to your server using your favorite tool, putty or terminal. I use Winscp when it comes to editing files as it gives you that graphical feel. Navigate to the below location


Now locate the below file


Add the below line at the end of the file, make sure it is inside the curly braces

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

Once done it should look like this;

server_names_hash_bucket_size 64;

server {

listen 8443 ssl;

listen 8880;

listen default_server;

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;

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


Now all you have to do is restart the Plesk backend server, do not restart your entire server so you don’t cause down time.

service sw-cp-server restart

Curled from:


More articles


Please enter your comment!
Please enter your name here

Trending Now.

Startimes Subscription Prices, Packages and Channels List in 2020

StarTimes Nigeria is one of the popular cable TV providers in Nigeria. This service is a subsidiary of a Chinese based company called Startimes...

Screen to Body Ratio: 22 Smartphones With the Highest Screen to Body Ratio in 2020

Screen to body ratio on a smartphone screen recently turned into an important thing to consider when comparing smartphones.  It became more important after...

Netflix Download Limit: What Is It and How You Can Get Around It?

Netflix introduced its 'download feature' for offline viewing back in 2016, allowing its users to download content and enjoy it offline while they are...

How to Apply For NYSC Revalidation and Remobilization?

Every year thousands of Nigerian graduates register for the National Youth Service Corps program and are sent to different parts of the country to...

6 Different Types of Car Engines

An engine is the soul and heart of your car simply because it’s the most important part of a vehicle. It acts as the...

Uses and Functions of ROM (Read-only Memory)

A computer is a very important device and besides being the best gadget to play your favorite video games or watching your favorite movies,...

DStv Channels List, Packages and Prices in 2020

Thousands of people in Nigeria have put their trust in DStv to provide them with the very best of television shows and programs. DStv (Digital...

Best Infinix Phones to Buy in 2020

Infinix Mobility is a well-known brand in Nigeria and a household name along with Tecno and Itel mobile are they mainly produce devices targeting...

6 Different Types of Motherboards

Motherboards are considered as the heart of any computer you use. This is mainly because they contain important components such as the memory and...

5 Best Blood Pressure Apps for Android

Blood pressure is the pressure the blood applies that on the walls of the vessels they use in travelling. There are two conditions relating...