Відгуки: Developing a REST API with Go and Cloud Run

Відгуки: Developing a REST API with Go and Cloud Run

15006 відгуків

shital k. · Відгук надано близько 21 години тому

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. · Відгук надано близько 23 годин тому

Jeffrey H. · Відгук надано 1 день тому

Gianmarco B. · Відгук надано 1 день тому

Patrick L. · Відгук надано 1 день тому

Vadim Z. · Відгук надано 1 день тому

Varnita M. · Відгук надано 2 дні тому

Nathaniel J. · Відгук надано 2 дні тому

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. · Відгук надано 3 дні тому

Emre D. · Відгук надано 3 дні тому

Prathamesh S. · Відгук надано 3 дні тому

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. · Відгук надано 3 дні тому

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. · Відгук надано 3 дні тому

Maxi F. · Відгук надано 4 дні тому

pooja j. · Відгук надано 4 дні тому

Arul Sahaya Selvam J. · Відгук надано 4 дні тому

Mohamad Ridwan M. · Відгук надано 4 дні тому

Leonard S. · Відгук надано 4 дні тому

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. · Відгук надано 4 дні тому

Yemi F. · Відгук надано 4 дні тому

VINOD H. · Відгук надано 4 дні тому

Saudagar S. · Відгук надано 5 днів тому

Ashish N. · Відгук надано 5 днів тому

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

Pradip G. · Відгук надано 5 днів тому

Maxwell A. · Відгук надано 5 днів тому

Ми не гарантуємо, що опубліковані відгуки написали клієнти, які придбали продукти чи скористалися ними. Відгуки не перевіряються Google.