Fatal error: Uncaught GuzzleHttp

#870946
  • Resolved Mohammad Fattahi
    Rank Math free

    hi there

    I have a problem with rank math and instant index plugin. When I update the products, most of the time I get an error like the following error
    In another ticket, one of the esteemed supporters of Rank math like posted a link, but that link is private:

    In the following ticket:
    https://support.rankmath.com/ticket/intant-index-error/?nsl_bypass_cache=cb6b5335a66210a0d4e506352ffee9e9

    They posted the following link:
    https://support.rankmath.com/ticket/your-site-is-experiencing-a-technical-issue-8/

    And that’s why I couldn’t solve the problem
    Thank you for your guidance

    the error is:

    Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 52: Empty reply from server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://indexing.googleapis.com/batch in /home/hostdig6/domains/medadtala.com/public_html/wp-content/plugins/fast-indexing-api/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210 Stack trace: #0 /home/hostdig6/domains/medadtala.com/public_html/wp-content/plugins/fast-indexing-api/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(158): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 /home/hostdig6/domains/medadtala.com/public_html/wp-content/plugins/fast-indexing-api/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(110): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 /home/hostdig6/domains/medadtala.com/public_html/wp-content/plugins/fast-indexing-api/vendor/guzzlehttp/guzzle/src/Handler/ in /home/hostdig6/domains/medadtala.com/public_html/wp-content/plugins/fast-indexing-api/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 210

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

    We apologize for the issue you are facing with the Rank Math and Instant Index plugin. The error message you provided indicates a connection issue with the Google Indexing API, specifically a cURL error 52: Empty reply from server. This can happen due to various reasons, such as server configuration issues, firewall settings, or temporary connectivity problems.

    Here are a few steps you can take to troubleshoot this issue:

    1. Check Server Status: Ensure that your server is running properly and is not experiencing downtime. You can check your website’s status using tools like httpstatus.io.
      Check website status with httpstatus tool

    2. Firewall Settings: Make sure that your server’s firewall is not blocking requests to the Google Indexing API. You may need to whitelist the IP addresses used by the API.

    3. Plugin Conflicts: Sometimes, other plugins can conflict with the functionality of Rank Math. Try deactivating other plugins temporarily to see if the issue persists.

    4. Server Configuration: If you have access to your server settings, ensure that cURL is properly configured and that there are no restrictions on outgoing connections.

    5. Contact Hosting Provider: If you’re unable to resolve the issue, it may be beneficial to reach out to your hosting provider for assistance, as they can provide insights into server-level issues.

    If these steps do not resolve the problem, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for your understanding, and we appreciate your patience as we work to resolve this issue!

    Sources:
    Why Am I Getting "API Error: HTTP 400" Error » Rank Math

    Hello,

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

    The error you’ve shared is a cURL error so there’s no issue with our plugin.

    This happens because the library that is used to make the HTTP requests (Guzzle HTTP) is not able to complete the request to the server before the connection fails.

    Most of the time this is an intermittent issue and it only occurs when the server is under a huge load so the request cannot be completed.

    If this was an issue with the requests made by the plugin the error would be different and would present itself as a cURL error.

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    If this was an issue with the requests made by the plugin, the error would be different and would present itself as a cURL error.

    Do you mean by the above message that this error is not from your plugin? Because the error is from the side of fast-indexing-api or instant index plugin

    Hello,

    Yes, the error is related to the server connection, not the Rank Math or Instant Indexing plugin itself. The issue is with the cURL library (used by the fast-indexing API) not being able to complete the request due to server-side constraints, often caused by server load or configurations.

    You may want to contact your hosting provider to check the server load or network stability.

    Let us know if you need further assistance.

    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 - 1 through 4 (of 4 total)

The ticket ‘Fatal error: Uncaught GuzzleHttp’ is closed to new replies.