Developing a REST API with Go and Cloud Run Rezensionen

Developing a REST API with Go and Cloud Run Rezensionen

15008 Rezensionen

仁壱 隠. · Vor etwa eine Stunde überprüft

Mythili P. · Vor etwa 4 Stunden überprüft

shital k. · Vor ein Tag überprüft

I got this problem when I try to deploy. Revision 'rest-api-00001-778' 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. Logs URL: Open Cloud Logging For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start

Taweechok L. · Vor ein Tag überprüft

Jeffrey H. · Vor ein Tag überprüft

Gianmarco B. · Vor ein Tag überprüft

Patrick L. · Vor 2 Tage überprüft

Vadim Z. · Vor 2 Tage überprüft

Varnita M. · Vor 2 Tage überprüft

Nathaniel J. · Vor 2 Tage überprüft

Both deployments failed. I have emailed support about this. Also, the Cloud Console did not let me select a region for my database, so I had to use the command line to create it, and then when I was told to create a new endpoint, it contained the string "[hash]". The second deployment failed just like the first one, there was never a service listening on port 8080. At least the checks did not take that into account and I was able to finish the lab, but this lab is so broken it is hard to derive any useful knowledge from it.

Gabriela S. · Vor 3 Tage überprüft

Emre D. · Vor 3 Tage überprüft

Prathamesh S. · Vor 3 Tage überprüft

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. · Vor 4 Tage überprüft

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. · Vor 4 Tage überprüft

Maxi F. · Vor 4 Tage überprüft

pooja j. · Vor 4 Tage überprüft

Arul Sahaya Selvam J. · Vor 4 Tage überprüft

Mohamad Ridwan M. · Vor 4 Tage überprüft

Leonard S. · Vor 4 Tage überprüft

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. · Vor 5 Tage überprüft

Yemi F. · Vor 5 Tage überprüft

VINOD H. · Vor 5 Tage überprüft

Saudagar S. · Vor 5 Tage überprüft

Ashish N. · Vor 5 Tage überprüft

Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.