520 error randomly occurs

hello my website randomly shows a 520 error this happens quit a lot and I have to refresh the page and the site will work, its really annoying, how can I fix this? I tried to change the my hosting provider but the issue still happens.
is this fixable from cloudflare?.
really appreciate the help, thanks.

So as part of https://community.cloudflare.com/t/random-520-errors/ we fixed an issue with origins silently ending a keepalive connection that was causing very rare 520 errors.

Thus we recommend testing again - if you still see 520s - make sure you follow the guidance in our community tip here:

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