Jetpack feature activation failure – 404 + permissions error?
-
Hi, I’m attempting to install Jetpack 4.5 on WordPress 4.7.2. The installation is new, without any other plugins, but with a good bit of site content built up already. I am getting the basic error message at the top, “Recommended features failed to activate. Error.” Searching for other people with the same problem hasn’t seemed to help me.
If I look at the script console, I see these error messages:
https://public-api.wordpress.com/rest/v1undefined?http_envelope=1 Failed to load resource: the server responded with a status of 404 ()
http://[…%5D/wp-json/jetpack/v4/connection/url Failed to load resource: the server responded with a status of 404 (Not Found)
http://[…%5D/wp-json/jetpack/v4/updates/plugins Failed to load resource: the server responded with a status of 404 (Not Found)
http://[…%5D/wp-json/jetpack/v4/plugins Failed to load resource: the server responded with a status of 404 (Not Found)
http://[…%5D/wp-json/jetpack/v4/module/stats/data?range=day Failed to load resource: the server responded with a status of 404 (Not Found)
http://[…%5D/wp-json/jetpack/v4/module/protect/data Failed to load resource: the server responded with a status of 404 (Not Found)
http://[…%5D/wp-json/jetpack/v4/module/akismet/data Failed to load resource: the server responded with a status of 404 (Not Found)
http://[…%5D/wp-json/jetpack/v4/site Failed to load resource: the server responded with a status of 404 (Not Found)
http://[…%5D/wp-json/jetpack/v4/jumpstart Failed to load resource: the server responded with a status of 404 (Not Found)If I follow the request URLs, however, what I get is not 404s, but basic JSON responses indicating 403 permissions errors:
{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}
The Jetpack directory and all subdirectories are correctly set to 755. I have Jetpack running on another site on the same shared hosting account (on Bluehost), so it’s not a general administrative privileges issue. Does anyone have any insight?
- This topic was modified 7 years, 2 months ago by LonelyPilgrim.
-
Do you receive a message when you visit site-url/xmlrpc.php ? It should return “XML-RPC server accepts POST requests only.” If not, you need to contact your host.
What happens when you try to activate modules individually?
I recently began getting module activation errors for one of my sites. Other sites on the same server have no issue. The message I receive is “[module name] failed to activate. Error: No route was found matching the URL and request method“. XMLRPC is accessible and receives POST requests.
I suspect in my case that another plugin is interfering with Jetpack’s operation but won’t know for sure until I begin working through them one-by-one. You say you have no plugins installed so most likely a host issue for you.
If your error message is the same as mine then you and I might have a related problem (in which case it may not be plugin related).
http://[…]/wp-json/jetpack/v4/connection/url Failed to load resource: the server responded with a status of 404 (Not Found)
This would indicate that a plugin on your site is blocking access to the REST API, or that your site is not configured properly.
Could you post your site URL here, so I can have a closer look?
If you want it to remain private, you can also contact us via this contact form:
http://jetpack.com/contact-support/Could you also let me know what other plugins are currently active on your site?
Thanks!
I realized why this happened to my site. My cache plugin was set to correct URLs to always include a trailing slash. Not the first time this has happened to me on this particular site; I had just forgotten about that.
@lonelypilgrim, hope you finally resolved the issue in your case too.
@leehodson Thanks for the update, that’s good to know!
You are welcome, Jeremy.
I have the same problem.
I cloned my stie to mysite/dummy and proceded to disable ALL my plugins.
Reconnect to jetpack – failure with [404] error
tried the /xmlrpc.php at end and came back with “XML-RPC server accepts POST requests only.”
Took off the to correct URLs to always include a trailing slash and still same error message.
Am darned if I know what the problem is…I reckon I have got every error message regarding this. Have tried from Jetpack connecting to my site and vice versa.
Have tried creating a new account and same error message.
Am going to try disabling the theme now to see if that works…
Nope – same error message when I tried to activate the 2012 theme.
Ok, so how what? Have no idea what the problem could be.
Any help would be much appreciated please.
- The topic ‘Jetpack feature activation failure – 404 + permissions error?’ is closed to new replies.