Website connected to netlify isnt loading. im getting a 522 error

What is the name of the domain?

josephdumke.com

What is the error number?

522

What is the error message?

cant connect to host

What is the issue you’re encountering

I haven’t had any issues with netlify and Cloudflare. Now its not loading and im getting a 522 error and other people on the forums are reposting the same thing on netlify. here is the link to that forum. they are saying its on cloudflare end. Sites down, Awaiting Netlify DNS - #24 by luke - Support - Netlify Support Forums

What steps have you taken to resolve the issue?

i tried changing all records to dns only but it didnt work.

What feature, service or problem is this related to?

DNS not responding/updating

If you temporary enable the “Pause Cloudflare” option, does the Website respond normally via HTTPS or maybe the SSL certificate needs to be renewed? :thinking:

  • Use the “Pause Cloudflare on Site” option from the Overview tab for your domain at dash.cloudflare.com .
  • The link is in the lower right corner of that page.

Currently I am unable to test since cannot connect my sub-domain at the moment:

1 Like

UPDATE: Made it working within 10mins.

CNAME unproxied :grey: pointed to app. SSL certificate issued. DNS valid.

Custom sub-domain: https://netlify.webmaster.com.hr/
Real app: https://aesthetic-valkyrie-a11105.netlify.app/

Screenshot:

Using Free plan at Cloudflare, while CNAME flattening not enabled:

1 Like

Im confused so what do i do?

Loaded for me over HTTP, but wanted to go to HTTPS and then connection broke.

Is SSL certificate issued at Netlify dashboard for your domain? :thinking:

Are you having A or CNAME type of the DNS record under the DNS tab of Cloudflare dashboard for your domain name, and is it proxied :orange: or unproxied :grey: ? :thinking:

It works fine if i dont use my domain from cloudflare and use netlify

it was proxied before ande worked but now its not working. I turned off and turned on dns only but still nothing

I have no clue yet, neither no idea what happend and why it stopped.

However, as described in the article from another forum, proxy CDN to CDN cannot work. It’s a known issue such as Shopify, etc.

Keep it unproxied :grey: (DNS-only).
Give it some time to propagate the changes and then we could check if your Website becomes available again over the HTTPS with an SSL certificate issued from Netlify dashboard for your custom domain.

Alright I’ll update tomorrow. So far nothing with everything to dns only.

What is the name of the domain?

What is the error number?

n/a

What is the issue you’re encountering

I was orgginaly getting a 522 error with my domain and netlify it stopped working randomly. Now the people at netlify recommened deleting the A records and adding cname only but it didnt work either.

What feature, service or problem is this related to?

DNS not responding/updating

Screenshot of the error

Your CNAME @ goes to www which isn’t added here at DNS tab of Cloudflare, while www goes back to the josephdumke.com however, https://josephdumke.com/ is working now.

Seems josephdumke.com CNAME is now okay.

Wonder if CNAME should be pointed to Netlify app as in my case from above or not :thinking:

Seems to be your domain is now proxied :orange: and working fine.
Could you confirm there is no error anymore? At least what you’ve confirmed here:

1 Like

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