• Good Day,

    I’m running Query Monitor on my sharedhope.org site, and I’ve noticed a failing http request coming from duplcate-page-and-post plugin..

    this call to cloud-wp.org is running, and failing with a timeout error after 2 seconds (

    GET
    https://cloud-wp.org/api/v1/update
    ?url=https%3A%2F%2Fsharedhope.org%2Fwp-admin%2Fplugins.php
    &ip=127.0.0.1
    &user_agent=Mozilla%2F5.0+%28Windows+NT+6.1%3B+Win64%3B+x64%3B+rv%3A56.0%29+Gecko%2F20100101+Firefox%2F56.0

    and.. here is the call stack:

    run_duplicate_page_and_post()
    wp-content/plugins/duplicate-page-and-post/duplicate-page-and-post.php:41
    Duplicate_Page_And_Post->__construct()
    wp-content/plugins/duplicate-page-and-post/includes/duplicate-page-and-post.php:70
    Duplicate_Page_And_Post->define_admin_hooks()
    wp-content/plugins/duplicate-page-and-post/includes/duplicate-page-and-post.php:146
    Duplicate_Page_And_Post_Admin->__construct()
    wp-content/plugins/duplicate-page-and-post/admin/duplicate-page-and-post.php:61
    Duplicate_Page_And_Post_Admin->init()
    wp-content/plugins/duplicate-page-and-post/admin/duplicate-page-and-post.php:272
    wp_remote_get()
    wp-includes/http.php:170
    WP_Http->get()
    wp-includes/class-http.php:612
    WP_Http->request()
    wp-includes/class-http.php:223

    seems like a waste of a call.. would you help squash this in a future release? Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m having similar issues. For me every page request, ajax request and cron job are checking cloud-wp.org which is adding approximately 2 seconds for each request. Due to the large time increase I deactivated Duplicate Page and Post to return stability. Hopefully this can be resolved so I can continue using your plugin.

    As a workaround you can comment out line 272 in /duplicate-page-and-post/admin/duplicate-page-and-post.php like this:

    //$response = wp_remote_get( $request_url, array( 'timeout' => 2 ) );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘http GET request to cloud-wp.org? using DP&P 2.1.1’ is closed to new replies.