Web server is down. Error 521

Answer these questions to help the Community help you get started.

What is the domain name?
misionestienehistoria com ar

Have you searched for an answer?
si

Please share your search results url:
cloudflare#error-521-web-server-is-down
I tested: midominio/cdn-cgi/trace and the results:
fl=363f202
h=misionestienehistoria.com.ar
ip=45.228.188.149
ts=1687211972.59
visit_scheme=https
uag=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
colo=MIA
sliver=none
http=http/2
loc=AR
tls=TLSv1.3
sni=plaintext
warp=off
gateway=off
rbi=off
kex=X25519

When you tested your domain, what were the results?
screen error 521 of Cloudflare

Describe the issue you are having:

What error message or number are you receiving?
521

What steps have you taken to resolve the issue?

Check my hosting company (hostinger): they didn’t give me a solution after exhaustively reviewing my account.
check all error files (especially nginx ones): Found nothing.
I tested the site locally on the hosting: It works perfectly.

Was the site working with SSL prior to adding it to Cloudflare?

What are the steps to reproduce the error:

  1. just write misionestienehistoria com ar

Have you tried from another browser and/or incognito mode?
yes

Hello there!

I’ve tried to connect directly to your origin and it seems like your origin is not accepting traffic from port 443:

$ curl -svo/dev/null https://misionestienehistoria.com.ar --connect-to ::ORIGINIP
* Connecting to hostname: ORIGINIP
*   Trying ORIGINIP...
* connect to ORIGINIP port 443 failed: Connection refused
* Failed to connect to ORIGINIP port 443 after 362 ms: Couldn't connect to server
* Closing connection 0

and when connecting via http only, it’s fine:

$ curl -svo/dev/null http://misionestienehistoria.com.ar --connect-to ::ORIGINIP
* Connecting to hostname: ORIGINIP
*   Trying ORIGINIP:80...
* Connected to (nil) (ORIGINIP) port 80 (#0)
> GET / HTTP/1.1
> Host: misionestienehistoria.com.ar
> User-Agent: curl/7.88.1
> Accept: */*
> 
< HTTP/1.1 200 OK
< Server: nginx/1.14.2
< Date: Wed, 21 Jun 2023 02:35:59 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 32324
< Connection: keep-alive
< X-Frame-Options: SAMEORIGIN
< Vary: Cookie
< X-Content-Type-Options: nosniff
< Referrer-Policy: same-origin
< Set-Cookie: csrftoken=1I8q9rmcHQYy9G4g6d701F1RnYkPxQQH9KlKbvjS7KE13JMACJCdG4zE03ryGDu0; expires=Wed, 19 Jun 2024 02:35:59 GMT; Max-Age=31449600; Path=/; SameSite=Lax
< 
{ [14042 bytes data]
* Connection #0 to host (nil) left intact

Please reach out to your hosting provider/origin and make sure your site is accessible over port 443.
Or use SSL encryption mode “Flexible” on Cloudflare if your traffic is not meant to be encrypted.

Sorry, @Wanda, but the OP should definitely not choose that mode as that will break his site and drop all security.

@olhernan, you best pause Cloudflare for now and make sure your site loads fine on HTTPS. Once it does it will also work on Cloudflare. Contact your host to get this fixed.

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