2
votes

Google Cloud Platform is raising an error like: Error: Server Error The server encountered a temporary error and could not complete your request. Please try again in 30 seconds.

We have GCP, CDN and Google Cloud Load Balancing with GCP.

How can we fix this server error?

2
FWIW, the error is rather a generic one and sometimes can be misleading as the root cause might not actually be a transient condition. But you'll need to provide a lot more info to clarify the context. GCP is a whole family of products. - Dan Cornilescu

2 Answers

3
votes

Try changing instance type to backend instances to increase the request timeout. Frontend instances have a timeout of ~60 seconds. Here is a detailed list of errors in GCP docs

1
votes

There is a detailed status message in the HTTP Load Balancer logs.

Also, I suggest that you confirm from Developers Console that the corresponding backends are healthy.