Developing a REST API with Go and Cloud Run Reviews

Developing a REST API with Go and Cloud Run Reviews

15045 reviews

I was unable to complete this lab. First, I had a problem with the auth token, which I was able to fix by logging in again. Then I was able to build my project, but I was unable to deploy it, as I kept getting this error message: "ERROR: (gcloud.run.deploy) Revision 'rest-api-00001-8d9' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information." I was unable to find anything useful in the logs. I figured it might be another authorization issue, but I couldn't find what needed to be authorized or how. I tried the lab again with a different user and did not have the first auth token issue, but I was still unable to deploy the project.

Gabriela S. · Reviewed 10 days ago

The docker image is missing a glibc dependency. I needed to change the base image from gcr.io/distroless/base-debian10 to gcr.io/distroless/base-debian12 to fix the issue

Michael T. · Reviewed 10 days ago

Maxi F. · Reviewed 10 days ago

pooja j. · Reviewed 10 days ago

Arul Sahaya Selvam J. · Reviewed 10 days ago

Mohamad Ridwan M. · Reviewed 10 days ago

Leonard S. · Reviewed 11 days ago

Deployment of the container does not work. ERROR: (gcloud.run.deploy) Revision 'rest-api-00006-vp2' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.

Robert B. · Reviewed 11 days ago

Yemi F. · Reviewed 11 days ago

VINOD H. · Reviewed 11 days ago

Saudagar S. · Reviewed 11 days ago

Ashish N. · Reviewed 11 days ago

Deployment was always failing in both version. Log or troubleshooting guidelines were not clear.

Pradip G. · Reviewed 12 days ago

Maxwell A. · Reviewed 12 days ago

Boris-Wilfried N. · Reviewed 12 days ago

Amilcar Javier I. · Reviewed 12 days ago

deploy failed because docker image(debian10) is out dated. debian12 seemed ok.

友一 松. · Reviewed 12 days ago

Ramachandran V. · Reviewed 13 days ago

wrong version glib in cloud run . Need to change go build instruction in tutorial to `go build -tags netgo,osusergo .` `

Brian F. · Reviewed 13 days ago

Vitalii Z. · Reviewed 13 days ago

Kalaiarasan S. · Reviewed 13 days ago

Dmitry P. · Reviewed 13 days ago

Rohit K. · Reviewed 14 days ago

Ilham H. · Reviewed 14 days ago

Marco M. · Reviewed 14 days ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.