magento2 – 503 only on detail pages of products with images

I'm using Magento 2.2.7
I can not visit the product detail pages or edit them if an image was added to the product.

Also when I log in to the administrator part and enter Content – Settings – Edit topic. Page loading infinitely. I have tried all the browsers and I have also tried to change the theme in the database.


I think this could be related to the Magento update or the installation of the ssl certificate.

I could not find any useful information in the records. They have tried to delete the extensions. They have tried to empty the cache. I have even tried to restore the backup website.