Moderator
t-p
(@t-p)
The 503 service unavailable error occurs when your web server is unable to get a proper response from a PHP script. This PHP script could be a WordPress plugin, a theme, or a misbehaving custom code snippet.
I have disabled all of my plugins and changed themes to Twenty Twenty and I still experience this problem.
If these methods fail to resolve the error, then try contacting your hosting provider.
Also review http://www.wpbeginner.com/wp-tutorials/how-to-fix-503-service-unavailable-error-in-wordpress/
Thank you. I really can’t find any plugin or theme that could be causing it, or custom code.
You really don’t think it has to anything to do with the Gallery component itself? When there is a Gutenberg gallery of considerable size, that is the only time this happens, and as soon as I revert to the Classic Editor the problem goes away.
A 503 error is a server error. You need to look at the error logs on the server to find out what the error actually is. Without that information, you’re just guessing.
Update: I checked the error logs on the server and nothing jumped out at me. Although I’m not sure what i’m looking for. However, I did notice that if I disconnect my site from Cloudflare and have my domain just point straight to the GoDaddy host, I no longer experience the issue.
I need Cloudflare for the site to perform well, but perhaps that insight will help. Going to try to reach out to them to see if they have any ideas.
This definitely has something to do with the SSL settings / forwarding in Cloudflare. HTTP works just fine with Gutenberg, but HTTPS does not for some reason. Which is strange because I’ve had these settings all the same for months but this error just started up.
-
This reply was modified 5 years, 11 months ago by
eaaronross.
I don’t use Cloudflare, but check in their WAF rules after you get the failure. If they have something blocking it, then perhaps you can disable that rule or bypass the cache for wp-json requests.
Basically, ask Cloudflare. You can pretty definitively show that something on their end is causing the issue, so they would be the only ones to know how to fix it.