Api Error

#32675
  • Resolved Linkhood
    Rank Math free

    API Error: cURL error 28: Operation timed out after 20001 milliseconds with 0 bytes received

    How can I fix this issue?

    • This topic was modified 4 years, 2 months ago by Linkhood.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Todd
    Rank Math free

    Hi,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    Please talk to your web hosting provider and ask them to either whitelist our API or increase your timeout limit so the Analysis has enough time to give you the results you need.

    Rank Math's IP: 104.20.193.153

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

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

    Thank you.

    Please help to correct the issue.
    Thanks.

    Hello,

    Thank you for contacting Rank Math today.

    I’ve edited the following plugin file:
    /includes/modules/seo-analysis/class-seo-analyzer.php

    I changed the following line (line number 358):
    $request = wp_remote_get( $api_url, [ 'timeout' => 20 ] );

    I increased the timeout value to 60:
    $request = wp_remote_get( $api_url, [ 'timeout' => 60 ] );

    The SEO analysis is now working as expected.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thanks.

    Todd
    Rank Math free

    Hi,

    We are so glad to be of help. We are always here if you need us in the future.

    Hey, if it isn’t too much to ask for – would you mind leaving us a review here?

    https://s.rankmath.com/reviewrm

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us.

    Thank you.

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

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