Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Cloud Run - Error with Deployment #524

Open
lion62923 opened this issue Jan 28, 2024 · 0 comments
Open

Google Cloud Run - Error with Deployment #524

lion62923 opened this issue Jan 28, 2024 · 0 comments

Comments

@lion62923
Copy link

Please help. Uploaded all the files with the appropriate keys to google coud run. I try to depoy the service on google cloud run but get an error:

Build [gcr.io/chatgptbot-412208/chatgptbot] succeeded
Executing Gcloud Run Deploy
Running gcloud command: run deploy chatgptbot --project chatgptbot-412208 --image gcr.io/chatgptbot-412208/chatgptbot --client-name Cloud Code for VS Code --client-version 2.2.0 --platform managed --region us-central1 --allow-unauthenticated --port 8080 --cpu 1 --memory 256Mi --concurrency 80 --timeout 300 --clear-env-vars
Deploying container to Cloud Run service [chatgptbot] in project [chatgptbot-412208] region [us-central1]
Deploying new service...
Setting IAM Policy.............done
Creating Revision..........done

Deployment failed
ERROR: (gcloud.run.deploy) Revision 'chatgptbot-00001-ng9' 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: https://console.cloud.google.com/logs/viewer?project=chatgptbot-412208&resource=cloud_run_revision/service_name/chatgptbot/revision_name/chatgptbot-00001-ng9&advancedFilter=resource.type%3D%22cloud_run_revision%22%0Aresource.labels.service_name%3D%22chatgptbot%22%0Aresource.labels.revision_name%3D%22chatgptbot-00001-ng9%22
For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant