Jetpack: NetworkError/’Failed to fetch’ on subdomains in multisite
-
I have Jetpack installed on two multisites networks. On each network the same setup applies:
- All plugins (including Jetpack) are network enabled, so the plugin setup is the same for all sites
- There is one site on the main domain (mysite.net) and one on a subdomain (sub.mysite.net)
- Both sites are linked to the same WordPress.com account in Jetpack (also applies across networks)
On the subdomain-site on both of these networks I am currently seeing the following error message whenever I try to enable any part/feature of Jetpack (the message displays slightly differently in Firefox and Chrome):
Firefox:
[X] failed to activate. TypeError: NetworkError when attempting to fetch ressourceChrome:
[X] failed to activate. TypeError: Failed to fetchWhere X is Carousel/Photon/etc. I get the same message for all attempted features.
The sites on the main domains – which due to network activation have the exact same plugin setup as the problem sites – do not have this problem. I am able to enable features without errors.
Under Network admin / JP / Settings, ‘Sub-site overrides’ are checked (allowed) on one of the networks but not the other. Under Network admin / JP / Sites, the scenario is the same, though: Only the problem site is listed and the interface only allows for connect/disconnect actions, not add/remove ones. Despite this Jetpack shows up just fine in the admin of the non-problem sites. Using either the Network admin / JP / Sites administration or the problem-site’s own JP settings I can connect/disconnect to WordPress.com all I want. It does not resolve the issue.
My current WordPress install started out as 4.5 back in April of last year and has been updated regularly ever since, most recently to 4.7. I probably haven’t tried enabling new JP features since the initial install so I can’t say when in the intervening time this started happening. Jetpack version is 4.4.2. OS is Ubuntu 16.04, php is 7.0.8.
- The topic ‘Jetpack: NetworkError/’Failed to fetch’ on subdomains in multisite’ is closed to new replies.