Fixing 520 Errors
-
If you are getting 520 error most likely your headers exceed CloudFlare’s header size limit (over 8kb).
We’re planning to release a new version fixing the issue.
To temporarly fix your website you need to disable HTTP/2 Server Push feature.
– SSH to your server.
– open /your_wordpress_path/wp-content/plugins/cloudflare/cloudflare.php with your preferred text editor.
– Put “//” in the beginning of line 39.It should like as following
// Enable HTTP2 Server Push //add_action('init', array('\CF\Hooks\HTTP2ServerPush', 'init'));
Disabling HTTP/2 Server Push will only reverse the added performance benefits to your website.
=================================================================
Cloudflare plugin has HTTP/2 Server Push feature which speeds your WordPress blog. To know how HTTP/2 Server Push works please read this blog post.
If you have additional issues or questions feel free to comment.
- The topic ‘Fixing 520 Errors’ is closed to new replies.