Split: API Error: Invalid server response.

#53795
  • Resolved Sun Star SEO
    Rank Math free

    API Error: Invalid server response. Please make sure to whitelist the IP is whitelisted. This is on all of our sites. It worked once then it gave us the error. Even when we were on the rm site and did the analyzer it showed score than Oops! That just happened
    Invalid server response.

Viewing 4 replies - 16 through 19 (of 19 total)
  • So explain something to me. After that last post on the Facebook forum, you posted from Alberto. Well, all of a sudden it shows up as the last remark. With that being said you I did run rm analyzer and still the same issue. Did you run a check?

    I added and changed the code and it’s still getting error Invalid Server Response, I also clear the cache in RM and my history. Changed the timeout. What next?

    // Rank Math change: “timeout” from 30 to 60
    $request = wp_remote_get( $api_url, [ ‘timeout’ => 60 ] );
    if ( is_wp_error( $request ) ) {
    $this->api_error = strip_tags( $request->get_error_message() );
    return false;
    }

    I’m still getting the same issue after making the change. What next? My login is open for another 24 hours so you can check it out.

    Hi,

    I have investigated this issue and as my colleague pointed out, it is a timeout problem. The timeout error occurs when our API server is trying to reach your site to do the analysis, so it cannot be fixed on your side, that is why editing the plugin code didn’t solve the issue.

    There are two solutions for this:

    A. We increase the timeout limit on our API server, which is set to 15 seconds at the moment. Unfortunately, for security and performance reasons, we cannot raise this limit.

    B. You increase the loading speed of your site, to make sure it can be loaded in less than 15 seconds.

    I would advise you to use cache, try a different hosting provider, or look for any other solution to make your website load faster, especially the homepage. Loading speed is important for good user experience, and it is an essential SEO factor as well.

    Hope that helps. If you have any question, please feel free to ask. 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 4 replies - 16 through 19 (of 19 total)

The ticket ‘Split: API Error: Invalid server response.’ is closed to new replies.