520 Error – Suspect Headers Too Large

#83840
  • Resolved suleski
    Rank Math free

    Hi –

    I am using Divi (WordPress theme) and RankMath with GoDaddy (origin server) and CloudFlare (CDN).

    About a week or so ago, I started to receive 520 errors upon saving a page/post in Divi. This error caused a really bad result where the content of the page/post was deleted and saved.

    520 errors are identified as “unknown server errors” per Wikipedia:
    https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

    I have been in touch with Divi to alert them on the end behavior of a page/post save operation. I have also been in touch with GoDaddy review the health of the origin server. I have also been researching using CloudFlare’s documentation that talks about headers over 8k will trigger the 520 error:
    https://support.cloudflare.com/hc/en-us/articles/115003011431-Troubleshooting-Cloudflare-5XX-errors#520error

    It appears that the problem can be reproduced when CloudFlare is active. I’ve generated HAR files from Chrome and started to scan through them. The size of the header exceeds 8k. When I look at the header, over 75% of it mentions “rank_math_xxx”.

    I see key/value pairs like “rank_math_snippet_course_provider” and “rank_math_snippet_event_performer_url”, which I’m not using. I am using structured data, but there’s a lot of keys that are unused. How can I remove these? It feels slow to send headers that apparently have nothing to do with the site content.

    Do you have any advice?

    Thanks for your time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for getting in touch with us.

    Rank Math should not be adding those if you are not using the Schema specified.

    Do you have an example URL or the HAR files that you can share with us so we can check this in more detail?

    We look forward to hearing back from you.

    Hi Uzair –

    I feel silly – where is the button to upload a HAR file? I see the “Sensitive Data” area, but that’s for images and screencasts. How do I go about sharing the HAR with you?

    Thanks for your time.
    Regards.

    Hello,

    You can upload the file to Google drive or a similar application and share the file access URL in the sensitive section or share it with our mail: s******@r***********

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘520 Error – Suspect Headers Too Large’ is closed to new replies.