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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 views

How do I make my Cloud Run Job last indefinitely?

I have a Job in Cloud Run that ingests data from an external source, and writes that data into Firebase Firestore. I want this job to run indefinitely - 365 days per year, 24 hours per day. As I ...
Evorlor's user avatar
  • 7,321
0 votes
2 answers
38 views

How do I make a Dockerfile for Cloud Run?

I am deploying and running Python Jobs to Cloud Run. I can successfully deploy and run my jobs, and they behave as expected. I am adding import requests to my job, and it is giving me the error: ...
Evorlor's user avatar
  • 7,321
1 vote
1 answer
26 views

Cloud Run and Cloud SQL Proxy Do Not Seem To Work Together

The service account used by cloud run has more than enough permissions. Cloud SQL Admin, Cloud Run Admin among many others not relevant here and I can give it full on Project Owner permissions and it ...
Nathan McKaskle's user avatar
-4 votes
0 answers
31 views

Why my app is running lokal without any issues in my codebase( + http//localhost:5173), and in google cloud it have some issues? [closed]

lokally all works well and in cloud run I get some. Also one cors error. another error says that cant read property from id, but lokal this line of code all good and defined. I try to fetch datas from ...
Michel Kowal's user avatar
1 vote
1 answer
35 views

Why do I get an `npm ERR!` when running the Python quick start tutorial in Cloud Run?

I am building my first job in Cloud Run. I am using Python. I am following the Quickstart. I am able to successfully deploy and run the job from source, but the logs show me npm ERR!s that make no ...
Evorlor's user avatar
  • 7,321
0 votes
1 answer
66 views

Google Cloud Run Jobs logging splits Exception MESSAGES with multiple lines into multiple log entries

Several days ago, a Python RuntimeError was raised in one of my company's Cloud Run jobs which stopped it. Cloud Run's logging, unfortunately, handled that RuntimeError in a bad way. It correctly put ...
HaroldFinch's user avatar
0 votes
0 answers
14 views

Google Cloud Run unauthorized when pushing docker image from docker hub

I'm trying to push a docker image from hub.docker.com to google cloud run but i will always get the unauthorized error before it completes the task. My steps are (in the google cloud shell): docker ...
backwashphili's user avatar
0 votes
0 answers
7 views

How can I have a managed wordpress website receive from "mydomain.com" and have a cloud run application receive requests for "app.mydomain.com"?

Currently I own a domain say "mydomain.com". This domain is hosted by managed WordPress servers. The nameservers point to the Wordpress servers and all the DNS records are on the wordpress ...
JYang's user avatar
  • 1
0 votes
0 answers
14 views

Using gradio with http2, due to google cloud run request size limit

I have an application which runs as a service in google cloud run. The app is written in python and uses gradio for its interface. The app allows the user to upload videos for some purposes but I ...
Danielle's user avatar
0 votes
0 answers
20 views

GCP-Cloud run Webhook and non webhook url

I have two endpoints in a cloud run java application as below 1) https://<serviceName>-<projectHash>-<region>.run.app/v1/blah 2) https://<serviceName>-<projectHash>-<...
Satarupa's user avatar
0 votes
0 answers
31 views

Cloud Run Cloud SQL VPC Connector

I am trying to connect the VPC that I created in my Gcloud, to connect Cloud Run with Cloud SQL. However, when connecting Cloud Run to the VPC, the connection menu is not visible.enter image ...
Breno Ribeiro's user avatar
0 votes
1 answer
33 views

Experiencing high latency in GCP Redis memory store

while getting the data from Redis in the cloud run. I notice a high latency in it. it takes around 4 mins to get the data from Redis. how many concurrent calls can GCP Redis handle? do I need to ...
Habaek's user avatar
  • 11
1 vote
0 answers
46 views

OpenIddict: How to update the openid-configuration endpoint uri

I am building the authentication server using OpenIddict and Net core 7.0, but when I deploy the server to Google Cloud run service, the endpoints of the authentication server are using HTTP. I want ...
Vũ Hoàng's user avatar
1 vote
1 answer
86 views

What means attempt_deadline in Google Scheduler if in Google Cloud Run jobs I want a trigger a long job

Let's make this case: I set a Google Cloud Run job with a timeout of, for example, 4 hours. And I want to trigger it using Google Cloud Scheduler in a cronjob with a attempt_deadline parameter of 120 ...
Víctor M's user avatar
  • 317
0 votes
0 answers
63 views

Request to Metadata service is failed on minikube with Cloud Code for VS Code

I'm a beginner of Cloud Run and k8s. Now I'm developing with Node.js to use Cloud Run and trying to use SecretManager to save secrets. But, it's never successful because the request to Metadata ...
Daisuke Takamizawa's user avatar
0 votes
1 answer
26 views

Google Cloud Function vs Run vs App Engine for stateless latex render?

I have been away from developing cloud based application for years and now I am confused by the many many options. I need to cloud provider (Google?) to fire up a virtual machine/container/process in ...
Penelope's user avatar
  • 291
0 votes
0 answers
20 views

Does Google Cloud Run allow non-standard HTTP methods?

I created a HTTP API on that uses the non-standard QUERY method. It works fine locally but on Google Cloud Run, every QUERY request gets a 502 response. Making the exact same request with POST works ...
jfhr's user avatar
  • 830
0 votes
0 answers
18 views

Response times long for multiple users in Cloud Run for a Django application

I have a Django Rest Framework application which is hosted in Cloud Run. The normal response times for requests are around 100-200ms but no matter what I try I cannot get the same response times for ...
austrafin's user avatar
1 vote
2 answers
36 views

How to use Cloud Deploy with Cloud Run without completely resetting service

When following the quick start to deploy a cloud run service using Google cloud deploy, everything works fine. I can't figure out, however, how to not have the cloud run service have all of its ...
Bernard Allotey's user avatar
0 votes
1 answer
24 views

Revision '<SERVICE_NAME>-00037-hep' does not exist or is deleted. Update all traffic to route to currently available revisions

I was creating a past revision in Cloud Run and received the following error message. Error Message Revision '<SERVICE_NAME>-00037-hep' does not exist or is deleted. Update all traffic to route ...
Coichiro Aso's user avatar
0 votes
0 answers
31 views

Metric to count number of 2xx requests to cloud run for past 28 days

I'm looking for a way to count the number of successful requests to my cloud run service for the past 28 days. Cloud run exposes the request_count metric, but this is sampled every 60 seconds. I would ...
JPFrancoia's user avatar
  • 4,906
0 votes
0 answers
28 views

Deploy flask paddleocr to Google Cloud Run error

Anybody have experience deploy a flask paddleocr app to google cloud run? I encounter Service Unavailable when opening the url. In cloud run console: "ImportError: libssl.so.1.1: cannot open ...
solidus's user avatar
1 vote
1 answer
25 views

Learning Simple HTML Google Cloud Run Deployment

I am trying to use GCP Cloud Run to deploy a Docker image to the web. Using the graphical interface: I Create a Service Enter my image as follows: docker.io/phillymontana/test:v1.0 - no problems here....
Philly's user avatar
  • 31
0 votes
0 answers
22 views

React Native mobile app socket.io - cannot restart connection after couple hours of inactivity

I've been working on a React Native mobile app which talks to the back-end using socket.io. If my app stays "inactive" (background mode, not killed) for a while (at least couple hours), it ...
Victor Yurkin's user avatar
0 votes
1 answer
125 views

Why isn't Google Cloud Run performing the startup probe after scaling?

I have written a Rust server that runs inside a Docker container on Google Cloud Run. The server receives infrequent requests and immediately responds with a 200 status code acknowledgement. It then ...
Chris's user avatar
  • 1,525
1 vote
0 answers
44 views

abort Cloud Run request that is already running

note: I see there is a question that has a similar title here but my situation is different from this OP I have a Cloud Run that executes a process for 20+ minutes. Sometimes I need to abort this ...
kyuden's user avatar
  • 240
1 vote
0 answers
71 views

How to read env environment with type .env file when deploy nestjs on cloud run

I use nestjs and use cloud run google platform. My project have .env file with .env.dev(Dev) , stg (staging) and .env.prod (product). When i read document of google , cloud run when deploy support ...
BaoTrung Tran's user avatar
0 votes
0 answers
20 views

Firebase cloud functions gen2 (python) versus flask

Firebase has released functions generation 2 which support python natively. Theses functions are deployed to cloud run, so I am wondering is there any benefit of using flask with cloud run now that ...
Kevin's user avatar
  • 1,125
0 votes
2 answers
32 views

Google Cloud Run CLI inserting a whitespace in the beginning of my command

I created a docker container with a python script to execute using the Cloud Run Job from GCP. My script runs a code like this: python3.9 extract_parquet.py --table_name users I used the Google Run ...
Guilherme Noronha's user avatar
2 votes
1 answer
44 views

google cloud function times out, apparently during database access

I've written a 2nd gen Google Cloud Function in Python that pulls data from an external API and should write it to a PostgreSQL database hosted in Google Cloud SQL. When I try to run the function, it ...
Tenocticatl's user avatar
0 votes
1 answer
21 views

Weaviate img2vec-neural Google Cloud Run

I'm currently playing around with weaviate. The goal is to make an image search engine for similar product images. I am now running it locally on docker desktop and everything works great. Weaviate ...
backwashphili's user avatar
0 votes
1 answer
42 views

COPY failed: file not found in build context or excluded by .dockerignore: stat requirements.txt: file does not exist ERROR

I am able to build my docker image and run it locally. But when I am trying to deploy same docker image on cloud run its getting failed during code build and giving below error. Step 9/11 : COPY ...
iamabhaykmr's user avatar
  • 1,823
0 votes
1 answer
47 views

How to deploy nestjs into cloud run use mutiple env

I use nestjs and docker deploy into cloud run. My project have multiple env : .env.dev (develop) , .env.stg(staging) and .env.prod(prouct). Now i want when i deploy into staging i use .env.stg because ...
BaoTrung Tran's user avatar
0 votes
0 answers
41 views

Cloud Run gRPC via Rust Tonic

I'm trying to build 2 Google Cloud Run containers that will communicate via gRPC using Tonic. The problem I'm running into is the "error trying to connect: invalid peer certificate: UnknownIssuer&...
wspeirs's user avatar
  • 1,331
0 votes
2 answers
46 views

Cloud run logs in GCP shows that web app is running successfully but the generated domain name is never reachable

I have followed documentation instructions and have been able to deploy a django app connected to a postgresql database. The issue is that the deployment does result a success, and looking at the ...
Samir Ahmane's user avatar
0 votes
1 answer
43 views

How to get list of Revision tags via gcloud for a particular Service?

I want to use the gcloud CLI to get a list of all the tags assigned to a specific Cloud Run Service. I've been taking a look at the Run Describe CLI, however this doesn't return the Tags https://cloud....
fuzzi's user avatar
  • 1,987
0 votes
1 answer
47 views

What is libinjection, and why does it only catch things on prod?

I have a backend python app running on Google Cloud Run. There are also a few sql injection rules placed in my load balancer / network security. Here was my original WAF rule: evaluatePreconfiguredWaf(...
funtkungus's user avatar
-1 votes
0 answers
12 views

Keep Getting Port Listening Error for ES6 App on Cloud Run Build [closed]

It's been a while since I've actively worked in NodeJS, but I'm building an ES6 module to manage subscription flow for my media company. I'm looking to take a webhook from Patreon, parse the JSON data,...
JacobNWolf's user avatar
1 vote
1 answer
64 views

Optimal PostgreSQL connection method with Python in serverless environment?

I have developed a Cloud Run service using Python with Flask that accepts incoming HTTP requests. Once a request is made, the payload is send to a class with a context manager. In that class, upon ...
Nuxurious's user avatar
1 vote
1 answer
27 views

Can I expose a spark master in Google Dataproc to another service running on Cloud Run?

I have my application deployed as Cloud Run service and one of its features is submitting spark jobs to a spark master using a url in the form of spark://<spark-master-url>:7077 that can be ...
Da Mike's user avatar
  • 457
1 vote
1 answer
38 views

Google Cloud Run - Create Services not working

I've just started using Google Cloud Run for a work project. I'm trying to use API calls to spawn services on demand. I'm able through a simple python code to list the services my project has, but now ...
Fl0k1's user avatar
  • 11
0 votes
0 answers
40 views

Cloud Run fails with SSL errors or uncaught signal errors when queueing tasks to cloud task

Service Description I am trying a service architecture to be implemented in one of my services but Cloud Run is failing with strange errors for me. I have a web portal based on backstage that supports ...
Muhammad Magdi Youssif's user avatar
0 votes
1 answer
40 views

Are TsunamiSecurityScanner queries on cloud run instances an attack or Google check?

During the night, all my cloud run instances on the same project (there are python and node.js instances) received numerous requests with the tag TsunamiSecurityScanner (see attached image) ? Is this ...
dmicha02's user avatar
0 votes
1 answer
30 views

Regional blocking on cloud run external api calls

I have a scraper in cloud run job that makes different calls to external APIs. The external server started to block by region, it only accepts IPs from Chile and my scraper stopped working. I directly ...
pcortez's user avatar
  • 366
0 votes
1 answer
36 views

google cloud error reporting not able to collect errors properly from cloud run

by default all errors on cloud run is collected by cloud error reporting and it's working for me. but the traceback is not full. by digging in the log from cloud run, i am able to get the full error ...
Suraj Shrestha's user avatar
0 votes
1 answer
38 views

Is there a way to prevent url decoding on firebase hosting?

I'm using Firebase hosting to connect my domain with a cloud-run service. The configuration is really simple: { "hosting": { "rewrites": [{ "source": &...
MK.'s user avatar
  • 1
0 votes
1 answer
30 views

How can I stream logs from a cloud run service to my terminal?

Is it possible to stream logs from my Cloud Run service into my terminal? I have found a query that works using gcloud logging read ... but it takes about 20 seconds to run and it exits after printing ...
Alex Flint's user avatar
  • 6,102
0 votes
1 answer
29 views

CORS policy blocked when using google cloudrun

I have a web app that sends HTTP requests to an API (using Flask) that I hosted on google cloud run (hosted separately). When hosting the API and web app locally, it was working and sending requests ...
belbel's user avatar
  • 1
0 votes
1 answer
34 views

IAM authority lacks the permission 'clientauthconfig.clients.list' for action AppIdentityClientAuthConfigService-ListClients on resource 'brands/XXX'

We are currently hosting a Docker container in Google Cloud's Cloud Run. We're trying to initialize a revision to Cloud Run (Manually and via an authenticated pipeline). It's complaining that it doesn'...
Jose A's user avatar
  • 10.1k
0 votes
1 answer
49 views

Running python Flask app with maven-like folder structure on Google Cloud Run

How to configure Google Cloud Run to be able to run (via gcloud run deploy) a python Flask app with the following source code structure? root │ ├── src │ └── app │ └── main.py │ ├── ...
St.'s user avatar
  • 521

1
2 3 4 5
53