Sometimes Getting Cloudflare Errors Like 520, 522, ERROR_CONNECTION_REFUSED

What is the name of the domain?

www.thoughtsttopaer.com

What is the error number?

520,522,ERROR_CONNECTION_REFUSED

What is the error message?

ERROR_CONNECTION_REFUSED

What is the issue you’re encountering

when ERROR_CONNECTION_REFUSED error fired some java script functions are not working

What steps have you taken to resolve the issue?

we have tried with changing Cloudflare in developer mode so issue got resolved, when we off the developer mode the error hits again

Screenshot of the error

I can’t reproduce that, however the error message seems to suggest you are linking something to localhost and your local server is not running. You’ll need to debug your HTML document, Cloudflare is not involved here.

Thank you for your response
I agree even we couldn’t replicate this issue in our systems but few customers who needs to sign are facing issues with loading JS popup , this issue is not consistent some times only getting for some customers not for all
If it is not related to Cloudflare, when we Enable Development Mode on the Cloudflare the issue is not getting customers can sign without any issues
when we Disable Development Mode then issue again getting for few systems/customers
Strange how it is getting issue for only few customers and effecting Cloudflare

Then you will cache HTML on Cloudflare and occasionally send “invalid” HTML. Either disable caching or fix the HTML content. From the message, it seems aforementioned localhost link.

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