Page 1 of 1

Port 444 Error "400 Bad Request The plain HTTP request was sent to HTTPS port nginx"

Posted: Wed Mar 20, 2019 5:45 am
by dcweb
Hello,

I'm getting the error "400 Bad Request The plain HTTP request was sent to HTTPS port nginx" (screenshot:- https://snag.gy/IH3idN.jpg) when trying to access my site via port 443 (http://mydomain.com:443). But over https((https://mydomain.com:443)) it's working properly.

Basically, I'm trying to connect MailChimp for WooCommerce plugin with my MailChimp account API. Then it throws the error "Mailchimp says: API Request Error - cURL error 7: Failed connect to touchmyskin.com:443; Connection refused" due to that port 443 not working over HTTP.

I googled this and found that I need to comment out or turn off SSL to fix it. But I can not find anything related to port 443 in /usr/local/vesta/nginx/conf/nginx.conf. All I can see is vesta login port configuration.

If anyone can help me to fix this issue, it would be highly appreciated.

Thank you!