Request to Disable External HTTP API Calls in Aiomatic Plugin Dashboard

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 2 replies, 2 voices, and was last updated 1 week ago by Szabi – CodeRevolution.

Viewing 2 reply threads
  • Author
    Posts
    • #11825


      comprosulting
      Participant
      Post count: 1

      Hello CodeRevolution Support Team,

      I hope you are well. I am writing regarding performance issues we are experiencing with the Aiomatic Automatic AI Content Writer plugin on our WordPress site. We have observed that upon loading the dashboard, the plugin makes external HTTP API GET requests to the following URLs:

      https://wpinitiate.com/custom-feeds/items.xml
      https://coderevolution.ro/feed/

      These calls are significantly delaying the dashboard load time, and we have attached a screenshot for your reference.

      Additionally, our logs indicate the following related events:

      GET Request (First Feed):
      URL: https://wpinitiate.com/custom-feeds/items.xml
      Result: cURL error 28 (Operation timed out after 1000 milliseconds with 810 out of 1532 bytes received)
      Process: Involves WP_SimplePie_File->__construct() and subsequent feed fetching functions, eventually calling CodeRevoDashboard->show_dashboard_widget() in plugin-dash.php at line 32.

      GET Request (Second Feed):
      URL: https://coderevolution.ro/feed/
      Result: 304 Not Modified
      Process: Similarly processed through WP_SimplePie_File->__construct() and culminating in CodeRevoNewsDashboard->show_dashboard_widget() in plugin-dash.php at line 136.

      These external API calls are adversely affecting our site’s performance. Could you please advise if there is an option, setting, or filter available to disable these HTTP API GET requests? If there is a patch or upcoming update that addresses this issue, I would appreciate any details you can share.

      Thank you for your prompt attention to this matter. I look forward to your assistance.

      Best regards,
      M. Hoffmann

      Attachments:
      You must be logged in to view attached files.
    • #11828


      comprosulting
      Participant
      Post count: 1

      I blocked it by:

      function disable_aiomatic_external_requests( $pre, $args, $url ) {
      if (
      strpos( $url, ‘wpinitiate.com/custom-feeds/items.xml’ ) !== false ||
      strpos( $url, ‘coderevolution.ro/feed/’ ) !== false
      ) {
      return new WP_Error( ‘blocked’, ‘External request blocked for performance reasons’ );
      }
      return $pre;
      }
      add_filter( ‘pre_http_request’, ‘disable_aiomatic_external_requests’, 10, 3 );

    • #11829


      Szabi – CodeRevolution
      Keymaster
      Post count: 4756

      Hello,

      First of all, thank you for your purchase.

      Thank you for reporting this issue, it will be solved in the next public update, coming next week.

      Regards,
      Szabi – CodeRevolution.

Viewing 2 reply threads

You must be logged in to reply to this topic.