Nov06

Tagged in:Comments:

google cloud run 503 “service unavailable”

503 google cloud run error

Recently I have been deploying PHP service on a google cloud run and I have encountered a 503 service unavailable error.

 

Problem

On the first execution, there is a 503 error, however, any other request after the first one works fine.

 

Solution

After investigation, I have seen that if you are using an image from “webdevops/php-apache” then you will see this error.

I have replaced the image with the original version “php:7.4-apache”

This has resolved the issue and I do not see the initial 503 errors anymore.

Post a Comment

You must be logged in to post a comment.

Back to top