"Updating failed" error

I’m trying to publish and the “updating failed” error appears. I’ve already cleared the cache and deactivated all plugins but the error persists, does anyone know how to resolve it?

It could be due to a lot of reasons.
What is the domain?

Do you use Cloudflare with Flexible SSL? I believe it tends to cause this issue. Switching to Full SSL would solve that: