I am using a multisite with Cloudflare DNS. I am receiving error 520.

I am receiving error 520 several times throughout the day. I installed the WPMU Dashboard Plugin and the score for performance ranges from 33-40. My hosting provider is InMotionHosting. Everything is fine on the server side. Accordingly, I believe something is misconfigured on the Multisite which is causing the site to TimeOut.

I am new to multisites but have read extensively. My two main concerns are uptime and security. I previously installed Wordfence but I noticed the performance suffered. So I uninstalled and reinstalled Acunetix WP Security (recommended on one of the support forums).

Please advise on how to correct the 520 error and the best solution for security.

Thank you.