Questions tagged [google-cloud-run]

Cloud Run is a managed compute platform that enables you to run stateless containers that are invocable via HTTP requests, providing comprehensive servicefull systems where responsibilities can be outsourced to a specialist service provider.

Cloud Run is a managed compute platform that enables you to run stateless containers that are invocable via HTTP requests.

Official sites:

2585 questions
0
votes
1 answer

Cloud Run Jobs with tasks from database?

I am looking into Cloud Run Jobs, but I'm having trouble with the documentation and (rare) examples for the product. I want to create a Cloud Run Job that runs on a Cloud Schedule. The number of tasks depends on the number of items in a table. I…
Patrick
  • 7,903
  • 11
  • 52
  • 87
0
votes
1 answer

Can cloud run restart my container every time it hit 504 error?

I'm working with backend with nodejs project, and this is my first deployment project. I notice the "it work on my computer" kind of error, when I try my API in localhost it always work, but when I dockerize and deploy to Cloud Run, I found that it…
0
votes
1 answer

Google cloud platform: http different http error for the same problem

I'm working with Cloud Run and I've checked that when the request is rejected because there are not enough instances available Cloud run is returning two different HTTP error codes. The error is "The request was aborted because there was no…
Rafael
  • 185
  • 1
  • 4
  • 14
0
votes
1 answer

Is the egress IP address of a cloud run mapped custom domain service pulled from the A/AAAA records set during the mapping process?

We are trying to build a Salesforce API integration for our platform that will be called from a service in Cloud Run. The client has asked us for the range of IP addresses that the service will be called from, as their Salesforce account has…
0
votes
0 answers

Error on werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server

I'm trying to run a Flask app into Google Cloud RUn using gunicorn, but i'm getting this error when i try to access the '/' page in Cloud Run (but it's working well in localhost). How can I fix this? Traceback (most recent call last): File…
Filipe Ferminiano
  • 8,373
  • 25
  • 104
  • 174
0
votes
2 answers

MySqlConnector.MySqlException: (0x80004005): Cannot find Unix Socket at

I have a GCP MySQL database and a Cloud Run .net webAPI web service. They communicate via a VPC on GCP. This all worked fine. I cloned the database and updated my code in the web service to use the new connection name (exactly the same as the old…
0
votes
1 answer

Is it possible to set a default service in a GCP serverless NEG with a URL mask?

I have two Cloud Run services - one named "ui" and one named "api". I'd like my serverless NEG to direct requests to the "ui" service unless they have "/api" in their path, in which case they should go to the "api" Cloud Run service. Does the url…
0
votes
1 answer

Google Cloud Run Admin API problem quota limit

i have developed 2 python function scheduled into cloud run. The first function create on demand a job: def google_cloud_create_job(job_uuid,payload_job,token): try: url =…
dev_
  • 395
  • 1
  • 3
  • 16
0
votes
1 answer

Google Cloud Scheduler failing to invoke CloudRun container

I have deployed a containerized R application to Google's CloudRun using Docker. Since I want to run the code at a regular interval (not request based), I have set up a cloud scheduler which should invoke the container via an HTTP POST request. I am…
0
votes
1 answer

GCP Cloud Run - Retrieve all revisions not serving traffic

I've been trying in vain to get all cloud run revisions not serving traffic so I can prune them. The docs don't seem to provide much help. Here's what I have: gcloud run revisions list --region --service
smitty
  • 31
  • 3
0
votes
0 answers

Troubleshooting 'did not find expected key' error in cloudbuild.yaml for Google Cloud Run

I try to use cloudbuild with yaml file and the command in the file is look like this steps: options: logging: CLOUD_LOGGING_ONLY # Build container image - name: 'gcr.io/cloud-builders/docker' args: ['build', '-t', 'gcr.io/$PROJECT_ID/backend',…
0
votes
0 answers

SSE on GCP Cloud Run results in 503 error (works locally)

I have a Remix app setup with Firebase hosting and Cloud Run to host the back end. I am not too familiar with the stack but can give more information if needed. For the firebase hosting and authorisation I used this as a guide:…
0
votes
1 answer

Rails & Google Cloud Task: ArgumentError Value 600 must be a Hash or a Google::Protobuf::Duration

We are using Rails 7.0.4.3, with some background workers, using cloudtasker (0.13.0) and redis (7). Locally everything is ok, but on Google Cloud Task, workers do not perform due to the following error message: ArgumentError: Value 600 must be a…
0
votes
1 answer

Connect to a service using TCP inside Cloud Run

I have a service written in Go that runs fine on my machine with no issues. However, when I deployed to Cloud Run, I received an EOF after connecting. Is Cloud Run blocking me from making plain TCP connections? More context: I connect to Twitch's…
Rodrigo
  • 135
  • 4
  • 45
  • 107
0
votes
0 answers

Communication issues with a Google Cloud Run microservice project using ESPv2 for http to gRPC transcoding

Stack Overflow message I am making a project on Google Cloud Run. It is a microservice architecture with different Go services communicating with each other via gRPC. The project has HTTP endpoints exposed with ESPv2 which handles the transcoding of…
MikeBird
  • 386
  • 1
  • 5
  • 17