Error 502

  • Good,
    When I activate the RankMath plugin on my multisite the woocommerce checkout process gives me a 502 error.
    This only happens in the main site, but in the others it works correctly.
    The error that appears in the php.log is :
    Upstream sent too big header while reading response header from upstream.

    I have tried to deactivate RankMath and it works correctly.
    Could you help me with this problem ?


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

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    We really look forward to helping you.


    I have updated the sensitive data as requested. Can you please check further?

    Thank you.


    Thank you for that information.

    Error 5XX are server errors, so they are related to your hosting. Our recommendation would ask your web host to check them for you.

    I’ve also found out that your site’s PHP time limit is set to 0. Could you please set that to 120 and check if the issue still persists?

    I hope that helps. Thank you, and looking forward to your update.

    In the php.ini file my time limit configuration is set to 300, however I put in the wp_config.php the php time limit configuration as well.
    The problem still persists and only on the main multisite site.
    In the rest the process works correctly.
    I hope you can help me.


    Thank you for that information.

    Could you please check whether you have used either the %seo_title% or the %seo_description% variables on the Rank Math title and description for your products? These variables are only used for Headline and Description. You can use the %title% or %excerpt% variables on your SEO fields.

    If not, could you please record a video screencast using a tool like Loom showing the issue and add the link in the designated Sensitive Data section?

    Unfortunately, I’m unable to replicate the issue on my end. That will be helpful for us to investigate this issue further.

    I hope that helps.

    Thank you, and looking forward to helping you.

    If we are using the goals that are generated for the title and description of the product, because the product is generated from an external dashboard.
    We introduce these fields so that the customer can add the seo directly during the import of the product.

    On the other hand I attach the video

    The link to access the store is:


    Thank you for contacting Rank Math again.

    The 502 error is usually related to your server issues hence the reason my colleague recommended that you get in touch with your host provider.

    It could also be that your Checkout page is corrupted, you may want to delete that page and create a new one. While creating a new checkout page and just put this shortcode on it [woocommerce_checkout] or reassign it under Woocommerce > Settings > Advance > Checkout page.

    If this issue persists also check if your PHP timeouts occur and if a single PHP process runs for longer than the max_execution_time or max_input_time set in the PHP configuration on your server.

    As for the server credentials please send us the FTP credentials of your site for more checking on this as well.

    We really look forward to helping you.

    Thank you.

    Thank you very much for your help. Finally the purchase flow is working correctly.
    The problem as you indicated in the previous comment has been solved by deleting the page and assigning a new one.
    Thank you very much again.


    We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind us asking, could you please leave us a review (if you haven’t already) on about your overall experience with Rank Math? We appreciate your time and patience.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Error 502’ is closed to new replies.