• Resolved mcdeth

    (@mcdeth)


    hi, suddenly started noticing big amount of requests from

    /wp-json/jetpack/v4/sync/spawn-sync

    IP is my servers ip

    User agent WordPress/6.6.1;

    Most requests end with 499 Client Closed Request

    Opening the url says "DEDICATED SYNC OK"

    I dont remember instaling this plugin, maybe 2 years ago. It’s not on plugin list. I got in my cron:

    jetpack_sync_full_cron

    jetpack_sync_cron

    jetpack_clean_nonces

    jetpack_v2_heartbeat
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mcdeth

    (@mcdeth)

    Disabling cron for an hour


    define('DISABLE_WP_CRON', true);

    didn’t bring any help

    I also get a lot of these in logs:

    [29-Aug-2024 13:12:56 UTC] PHP Fatal error:  Uncaught TypeError: Automattic\WooCommerce\Utilities\ArrayUtil::get_value_or_default(): Argument #1 ($items) must be of type array, int given, called in /home/public_html/wp-content/plugins/woocommerce/src/Internal/Features/FeaturesController.php on line 935 and defined in /home/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php:95
    Stack trace:
    #0 /home/public_html/wp-content/plugins/woocommerce/src/Internal/Features/FeaturesController.php(935): Automattic\WooCommerce\Utilities\ArrayUtil::get_value_or_default()
    #1 /home/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Features\FeaturesController->filter_plugins_list()
    #2 /home/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #3 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/class-functions.php(453): apply_filters()
    #4 [internal function]: Automattic\Jetpack\Sync\Functions::get_plugins()
    #5 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/modules/class-callables.php(257): call_user_func()
    #6 [internal function]: Automattic\Jetpack\Sync\Modules\Callables->get_callable()
    #7 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/modules/class-callables.php(240): array_map()
    #8 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/modules/class-callables.php(481): Automattic\Jetpack\Sync\Modules\Callables->get_all_callables()
    #9 /home/public_html/wp-includes/class-wp-hook.php(324): Automattic\Jetpack\Sync\Modules\Callables->maybe_sync_callables()
    #10 /home/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #11 /home/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/class-sender.php(598): do_action()
    #13 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/class-sender.php(487): Automattic\Jetpack\Sync\Sender->do_sync_for_queue()
    #14 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/class-sender.php(362): Automattic\Jetpack\Sync\Sender->do_sync_and_set_delays()
    #15 /home/public_html/wp-includes/class-wp-hook.php(324): Automattic\Jetpack\Sync\Sender->do_sync()
    #16 /home/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #17 /home/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #18 /home/public_html/wp-includes/load.php(1280): do_action()
    #19 [internal function]: shutdown_action_hook()
    #20 {main}
    thrown in /home/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php on line 95
    • This reply was modified 2 months, 3 weeks ago by mcdeth.
    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @mcdeth,

    Could you please post your site URL here so that we can have a look? If you want it to remain private, you can also contact us via contact form. If you choose to reach out directly, please include a link to this thread. Thanks!

    Thread Starter mcdeth

    (@mcdeth)

    Hi, the site URL of my client is whybaby.pl. During these API calls, I noticed messages about a database upgrade and thumbnail regeneration. I’m not sure why it forced the regeneration of thumbnails, especially since none of the “force regenerate thumbnails” plugins were active at the time.

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @mcdeth,

    Thanks a lot for sharing the site URL. The good news is that Jetpack appears to be working beautifully, which is a great place to start.

    The?/wp-json/jetpack/v4/sync/spawn-sync?entries you’re noticing in your server logs are essential to Jetpack’s sync functionality. This mechanism ensures your website’s content remains synchronized with the?WordPress.com?cloud, a crucial aspect for many Jetpack features to operate effectively.

    A 409 error generally suggests that the requesting party, in this scenario, your website, has severed the connection prior to the server completing the request. This can occur from several factors, including timeouts, network-related problems, or a server setting disrupting the connection.

    The initial step I suggest is to request your hosting provider to add Jetpack’s IP addresses to their allowlist, according to the instructions provided in this guide:?https://jetpack.com/support/how-to-add-jetpack-ips-allowlist/.

    <span style=”box-sizing: border-box; margin: 0px; padding: 0px;”>The fatal Error you reported seems related to the WooCommerce plugin, so our?dedicated Woo suppo</span>rt team?should be able to better address it. The database update and the thumbnail regeneration reports made me think the two things are related, so I’d recommend mentioning both of them.

    Hope that helps! Let us know how it goes with the 409 errors!

    Thread Starter mcdeth

    (@mcdeth)

    Alright, thanks a lot for detailed help!

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hey @mcdeth,

    You’re very welcome! Let us know if that helped you solve the Jetpack problem, and I wish you a speedy resolution with the WooCommerce one ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.