• Resolved Duke

    (@dukessa)


    Hello,

    my backend keeps timing out because it takes more than 10s to load anything.
    The issue is with this type of calls:

    eg.
    https://www.site.com/wp-json/jetpack/v4/jitm?message_path=wp%3Aedit-product%3Aadmin_notices&query=post_type%253Dproduct%252Clang%253Dit%252Cadmin_bar%253D1&_wpnonce=44c1beb051

    Provided this looks like a Jetpack issue, it would be great if we could EASILY and fully disable everything we don’t need.
    Also, JSON (as well as most of the modules) has already been disabled through Jetpack modules debug page.

    I dont need the API, nor JSON, nor XML RPC and I would like to disable them ALL.

    Help?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor James Huff

    (@macmanx)

    Volunteer Moderator

    /wp-json/ is part of WordPress’s REST API.

    Jetpack needs both XML-RPC and the API to communicate with your site. Without the API, it will not function properly, and without XML-RPC, it will not function at all.

    With that said, a 10-second slowdown is definitely not expected. What is the URL of the site with the problem?

    Thread Starter Duke

    (@dukessa)

    Any link of this type:
    https://www.site.it/wp-json/jetpack/v4/jitm?message_path=wp%3Aedit-product%3Aadmin_notices&query=post_type%253Dproduct&_wpnonce=3a98711683
    When the loading time is acceptable, it still takes 3s for this to load.
    At worst around 8-10s.

    WPEngine is the hosting, which is usually amazing even on medium-large sites.
    Especially slow when saving/viewing WC products, from backend, but a problem across the whole backend really. Frontend is fine.

    All Jetpack tests look good.
    JSON and XML-RPC also working fine.

    What is this call for anyway? Why do I need Jetpack to be called for anything inside posts, or anything really, in the backend? Isn’t this a little too invasive?

    I don’t really use any other module besides Stats, Shortcodes, Widget Visibility and Protection (the others are fully de-activated from Jetpack full module list).

    • This reply was modified 5 years ago by Duke.
    • This reply was modified 5 years ago by Duke.
    Plugin Contributor James Huff

    (@macmanx)

    Volunteer Moderator

    The JITM items are notifications from Jetpack.

    They definitely shouldn’t be running that slow, and we’ll look into that, but once they appear you should be able to dismiss them (and each one you dismiss won’t load again for a while).

    They also will only appear for admins in the backend and won’t affect the frontend.

    Thread Starter Duke

    (@dukessa)

    @macmanx thank you for your reply!
    However, I don’t understand what they are for… I don’t see any notification, anywhere, about Jetpack in the backend… so I’m a little confused as to their purpose.

    Plugin Support KokkieH

    (@kokkieh)

    Hi there,

    JITMs are for any message that Jetpack, or any plugin, needs to send to you as a site admin, for example but not limited to, notifying you of an important update, announcing new features, warning of coming changes that might affect how you run your site, etc. This appears as a message in its own frame at the top of the WP-Admin page you’re viewing, and can be dismissed by clicking an x to the right of the frame. You won’t be seeing them all the time, but only if and when Jetpack needs to notify you of something that requires your attention, and once you dismiss a particular message you won’t see it again for some time.

    Here’s an example of a JITM that appears on the themes page in WP-Admin if you’re using Jetpack:

    https://cldup.com/nmvmbJj2Hn-3000×3000.png

    Many plugins make use of these types of notifications. WooCommerce uses them as well.

    Thread Starter Duke

    (@dukessa)

    @kokkieh thank you for the clarification.
    I can then confirm, that the call is made constantly, at every page load (backend) no matter the content/screen and that 99% of the times, there are no Jetpack, or any, notification at the top.
    Is this normal?? shouldnt there be a limit? doesnt seem very efficient, nor useful like this.

    Plugin Contributor James Huff

    (@macmanx)

    Volunteer Moderator

    My only guess something must be preventing the call from completing.

    Do you have the same issue if Jetpack is the _only_ active plugin?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Jetpack JSON admin errors. Backend timing out.’ is closed to new replies.