The plain HTTP request was sent to HTTPS port from cloudflare

What is the name of the domain?

taihr.com

What is the error number?

400 Bad Request

What is the error message?

The plain HTTP request was sent to HTTPS port

What is the issue you’re encountering

I use cf flexible encryption mode, but when I access my site with http://, it sometimes request https://, it is OK. but sometimes it reports error

Screenshot of the error

This is a config problem on your Nginx server. The same error page will come up if you completely bypass Cloudflare and any user directly accesses your site via https (some browsers will even forward http to https automatically).

Just google this: https://www.google.com//search?q=The+plain+HTTP+request+was+sent+to+HTTPS+port

1 Like

Thank you.

I just find that I request the web site through a v2ray proxy. when I close the v2ray proxy. It is OK.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.