Developing a REST API with Go and Cloud Run Reviews

Developing a REST API with Go and Cloud Run Reviews

14995 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 حوالي 13 ساعة 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 حوالي 15 ساعة ago

Maxi F. · Reviewed حوالي 17 ساعة ago

pooja j. · Reviewed حوالي 21 ساعة ago

Arul Sahaya Selvam J. · Reviewed حوالي 23 ساعة ago

Mohamad Ridwan M. · Reviewed يوم واحد ago

Leonard S. · Reviewed يوم واحد 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 يوم واحد ago

Yemi F. · Reviewed يوم واحد ago

VINOD H. · Reviewed يوم واحد ago

Saudagar S. · Reviewed يومان ago

Ashish N. · Reviewed يومان ago

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

Pradip G. · Reviewed يومان ago

Maxwell A. · Reviewed يومان ago

Boris-Wilfried N. · Reviewed يومان ago

Amilcar Javier I. · Reviewed 3 أيام ago

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

友一 松. · Reviewed 3 أيام ago

Ramachandran V. · Reviewed 4 أيام ago

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

Brian F. · Reviewed 4 أيام ago

Vitalii Z. · Reviewed 4 أيام ago

Kalaiarasan S. · Reviewed 4 أيام ago

Dmitry P. · Reviewed 4 أيام ago

Rohit K. · Reviewed 4 أيام ago

Ilham H. · Reviewed 5 أيام ago

Marco M. · Reviewed 5 أيام ago

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