• Resolved eightnight

    (@eightnight)


    Hello Jetpack team,

    I’m having issues when I try to change any Jetpack settings.

    Jetpack Error message :
    Error updating settings. Unexpected token < in JSON at position 0

    Chrome Error console :
    Forbidden
    You don’t have permission to access /wp-json/jetpack/v4/settings on this server.

    Even on a fresh clean install of WP (Twenty Seventeen + Jetpack), I still have this issue.

    I’m running PHP v7.0 and Mysql v5.5 on a mutualised server.

    The communication between my Jetpack site and account (worpdress.com) works fine.
    The xmlrpc.php file returns : XML-RPC server accepts POST requests only.

    Permalinks are set to “Post name”
    I have tried several times to change permalinks settings (save/ and reverse etc.)
    I have also tried to delete .htaccess file etc.

    And I still have the error.

    Thank you for your help,

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support KokkieH

    (@kokkieh)

    Hi there,

    The xmlrpc.php file on your site appears fine, yes, but it looks like something is still blocking our requests via XML-RPC.

    One possibility is the maintenance mode plugin you have active, or it could be another plugin that’s blocking requests, so try disabling your plugins one at a time to determine which one might be causing the problem.

    Let me know how it goes.

    Thread Starter eightnight

    (@eightnight)

    Hi,
    Thank you for the answer.
    I have already try to switch every plugins on/off and it didn’t fix anything.
    The problem also happened on a fresh/clean install of WP with just Jetpack turn on (without any maintenance / coming soon mode enable).

    Again, thank you.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Looking at your site, I see that access to some of the WordPress REST API endpoints is restricted. Here is an example:
    https://www.viseart.com/wp-json/wp/v2/users

    Do you use a plugin or service to do so? What happens when you deactivate this feature?

    Thread Starter eightnight

    (@eightnight)

    No, I don’t.
    Again, this error was already active on my startup install (without any other plugin).

    I did managed to desactivate some Jetpack features using this panel :
    /wp-admin/admin.php?page=jetpack_modules

    But I still have the error using i/o buttons here :
    wp-admin/admin.php?page=jetpack#/dashboard

    Thank you

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    No, I don’t.
    Again, this error was already active on my startup install (without any other plugin).

    Thanks for the extra details.

    That means that something on your server is limiting access to some of the resources on your site. By default the endpoint I linked to above is publicly accessible. Here is how it looks on my own site for example:
    https://jeremy.hu/wp-json/wp/v2/users

    Could you reach out to your hosting provider and ask them if they currently restrict access to WordPress REST API endpoints on your site?

    Let us know what they say!

    Thread Starter eightnight

    (@eightnight)

    I guess, they’re not answering as quickly as you did.

    I keep you posted

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Jetpack settings problems’ is closed to new replies.