Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
64 views

Cloud Run installs JS Modules every call

I have a cloud run function in python, and some JS files. The python code calls the JS code via processes. For some reason every time I call the cloud run function it seems to install jsdom which ...
Ahmed Zaidan's user avatar
0 votes
0 answers
30 views

Network issue in Cloud Run Service

I have a Cloud Run service that does the following: Starts a change stream for a monogdb collection Batches the changes and publsihes them to pubsub every 1 second Stores resume token every 5 minutes ...
SAR_90's user avatar
  • 71
0 votes
0 answers
19 views

Http streams breaking issues after shifting to http2

So in my application i have to run alot of http streams so in order to run more than 6 streams i decided to shift my server to http2. My server is deployed on google cloud and i enabled http2 from the ...
Mohammad Aosaf's user avatar
0 votes
3 answers
99 views

Google Cloud Run Next.js build gives error "invalid Node.js version specified: failed to resolve version matching: 22.*.*."

I have created a Netxt.js Hello World application using the following: npx create-next-app@latest I have uploaded all files to a GitHub repo and in Google Cloud Run I have created a service with ...
Europa's user avatar
  • 1,328
0 votes
2 answers
40 views

Deploying Revision. Resource readiness deadline exceeded

I have several cloud run + triggers connected to github. Everything run fine until yestersay, today if I commit and the trigger starts de deploy of the new version, it takes between 30-60min and then ...
Emaborsa's user avatar
  • 2,890
0 votes
0 answers
38 views
+100

Firebase App Hosting deployment failed with Traffic Routing Error

I am using Firebase App Hosting. If I make a clean deployment, everything goes fine. If I try to redeploy, I get the error: An error occurred in your rollout generic::failed_precondition: Revision '...
Evorlor's user avatar
  • 7,548
0 votes
0 answers
32 views

Python Google Cloud Function issue with "requested_run_time"

I have a process in GCP that can be summarized as: a log sink checks the logs for a specific log (daily GA4 table is added to the dataset) when sink gets the log, a pub/sub message is sent to trigger ...
Merijn Dimmendaal's user avatar
0 votes
0 answers
17 views

Laravel Reverb on Google Cloud Run

I'm currently building a real-time notifications feature for my Flutter web app. Everything works fine in my local development environment, but I'm now preparing for production deployment and I'm not ...
Shahrul Syazwan's user avatar
0 votes
1 answer
21 views

Getting 403 Forbidden when calling private GCP Cloud Function via API Gateway

I'm trying to expose a private GCP Cloud Function using API Gateway. The function is written in Node.js and deployed with --ingress-settings=internal-and-gclb, and it works fine when called internally ...
Ariyan Ashfaque's user avatar
0 votes
1 answer
67 views

When the Cloudsql restarted, all the Cloudrun service stops working

When the Cloudsql restarted, all the Cloudrun services linked to the Cloudsql(Database version is MySQL 8.4.4) stops working. with below error Fatal error: Uncaught mysqli_sql_exception: Access denied ...
arvindwill's user avatar
  • 2,004
0 votes
0 answers
35 views

firebase hosting rewrites to gcp cloud run, but lost header Authorization

{ "target": "xxx", "public": "dist", "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], "rewrites&...
Nicholas's user avatar
0 votes
0 answers
93 views

How to save a file to a cloud storage bucket from a cloud run function

I am super new to using google cloud and a very novice coder. I am trying to create an automated system that saves a graph as a jpeg in a cloud storage bucket (this will be a cloud run function that ...
Amy Lock's user avatar
-1 votes
0 answers
29 views

google.api_core.exceptions.PermissionDenied: 403 Not allowed, access denied for permission serviceusage.services.use

I am trying to create a Cloud Run Function - it reads csv file from GCS Bucket, call DLP API to de-identify the columns and then save it to Bigquery. File size is not big, it is only few mbs and ...
Meenakshi Luthra's user avatar
0 votes
2 answers
69 views

Firebase Functions v2 onCall returns 401 Unauthorized despite "auth: VALID" in logs

I'm encountering a persistent issue with Firebase Callable Functions (v2, Node.js 20 runtime) where calls from my React frontend consistently fail with a 401 Unauthorized error, even though the server-...
Mars M's user avatar
  • 1
0 votes
1 answer
49 views

How do I run a single, one time run file in cloudrun, I do not care about web at all

Sorry for posting this. I'm trying to run a single file, as a one time executable job, I do not care about the web, I don't care about ports for users to hit, there are no user there is nothing to hit....
lando2319's user avatar
  • 1,842
0 votes
1 answer
43 views

What does a triggering event for testing a (1st gen) Firestore triggered Cloud Function look like?

I have a (1st gen) Cloud (Run) Function that is triggered by a document being created in Firestore. I want to test this function with the TESTING functionality that is built into the Google Cloud ...
Frank van Puffelen's user avatar
0 votes
3 answers
75 views

401 unauthorized response when calling a Cloud Function using google-auth-library

I'm calling a private http Cloud Function using the google-auth-library in Node.js. This works locally both when authenticated as myself and when impersonating the Cloud Run service account. However, ...
Matt Kocak's user avatar
0 votes
0 answers
22 views

Can custom headers be added to automatically generated Cloud Logging logs in Cloud Run?

A similar question was asked nearly two years ago, but there was no confirmed answer. Is it now possible to add custom attributes to the automatically generated logs in Cloud Run? I’m not referring to ...
code_taco's user avatar
0 votes
0 answers
41 views

FoundryVTT instance crashing with error "EPERM: operation not permitted, utime '/data/Config/options.json.lock'" - Google Cloud Run/Storage

I'm attempting to deploy an instance of FoundryVTT as a container on Cloud Run. I've set it up to mount a Cloud Storage bucket as a volume so that its data will persist when it restarts. The app ...
splatman73's user avatar
0 votes
1 answer
39 views

Firebase Functions, does waiting for external API to respond count towards billable CPU time?

Mobile app -----> Firebase Function | ------------------> External API | waiting... | CPU billed? | ...
Gazihan Alankus's user avatar
0 votes
1 answer
47 views

Google Cloud Run assigned URL unexpectedly changed

My Google Cloud Run assigned URL unexpectedly changed from: https://xxxxx-yyyyy-dt.a.run.app to: https://xxxxx-yyyyy-an.a.run.app This happened without any deployments or updates on my part. Is this ...
H.H's user avatar
  • 366
0 votes
1 answer
33 views

Register Firebase Functions v2 by endpoint

I'm running Firebase Functions v2 with Express and I'm looking forward to understanding how I could register all endpoints so I can collect metrics independently. Hope I can get my self clear with the ...
guarinex's user avatar
  • 122
0 votes
1 answer
91 views

How to get the URL of a Cloud Run Function from within a Cloud Run Function

I have a python cloud run function and I want to get the URL of another cloud run function programatically. I want to avoid hard coding the URL if possible. I need the URL so that I can create a task ...
yambo's user avatar
  • 1,860
2 votes
0 answers
42 views

Support CONNECT flask server

I am trying to build a basic proxy server thats accessible form the internet to forward requests but also log them to firebase database. I deployed my code on Google Cloud Run by creating an instance ...
Ahmed Zaidan's user avatar
0 votes
1 answer
39 views

svelteKit hooks.ts when deployed on cloudrun

When running the sveltekit app locally hooks.ts: import { redirect, type Handle } from '@sveltejs/kit'; export const handle: Handle = async ({ event, resolve }) => { const { pathname } = event....
Riël's user avatar
  • 1,331
1 vote
0 answers
45 views

Firebase rewrite to run service leading to "not found" page

When I try to call a rewrited route to a Run Container I got a not found page. If I call this Run Container from it's URL it's working fine so I think it's something I'm missing or maybe a bug with ...
luicfrr's user avatar
  • 1,800
1 vote
0 answers
42 views

Stop Scrapers hitting GCP Load Balancer -> CloudRun Service

I have a GCP Load Balancer connecting to GCP CloudRun which is running an express app. The express app has basic authentication and the CloudRun service only allows calls from the Load Balancer. ...
Asif Alam's user avatar
0 votes
0 answers
46 views

Django session cookies not persisting

I have a Django API which upon successful login, uses the Set-Cookie Response Headers to set a sessionId and CSRF Token in the cookies. I had it working and all of a sudden it stopped, the cookies no ...
Acheese's user avatar
  • 101
0 votes
1 answer
57 views

Passing --args to cloud run jobs

I'm trying to pass argument to cloud run jobs in this way: gcloud run jobs execute aa-hello-world --args="--test1","hello","--test2","world" (In local works as ...
jrgito89's user avatar
0 votes
1 answer
58 views

Temporary staled cached page in Next.js App returned after serverless cold start

I have a Next.js app deployed to GCP Cloud Run as a serverless website. Its home page is a server component of a list of "Cards". It fetches data of the "Cards" from Firestore and ...
Q. Jing's user avatar
  • 13
0 votes
0 answers
35 views

How to log the authenticated user or service account in Cloud Run request logs?

I have a FastAPI application deployed on Cloud Run, and I'm trying to capture the user or service account that made a request in the Cloud Run logs. Currently, the logs only show standard Python ...
code_taco's user avatar
0 votes
2 answers
119 views

Cloud Build Trigger Fails with PERMISSION_DENIED: Permission 'cloudbuild.builds.create' denied Despite Correct IAM Setup

Problem: I am trying to set up a CI/CD pipeline in Google Cloud Platform using Cloud Build with a GitHub trigger. However, when I attempt to trigger the build using the Cloud Build trigger, I get the ...
William Lin's user avatar
0 votes
0 answers
55 views

Error: 13 INTERNAL: Internal error encountered when updating Cloud Run service with GPU

I'm trying to update a cloud run service using the NodeJs client library (@google-cloud/run). For a service without GPU the request succeeds, but when I attach a GPU (using pulumi/terraform) I'm no ...
Ole Håkon Ødegaard's user avatar
0 votes
0 answers
60 views

How to prevent Cloud Run 429 too many requests going to the PubSub dead letter queue

Problem We use Cloud Run to process upload events, where a user can upload hundreds of images at once. This causes high usage spikes, and since we are limited to 25 Cloud Run instances, many Pub/Sub ...
Michiel's user avatar
  • 1,853
0 votes
1 answer
71 views

Cloud Run deployment from Github does not execute build. No logs

I built a flask app which I am trying to deploy to Google Cloud Run. My code base is on Github in a private repository. However, the following error occurs: "Cloud Build trigger was created, but ...
timbeau's user avatar
  • 21
1 vote
0 answers
97 views

How to deploy Celery workers to GCP Cloud Run?

This is my first time attempting to deploy Celery workers to GCP Cloud Run. I have a Django REST API that is deployed as a service to cloud run. For my message broker I'm using RabbitMQ through ...
Acheese's user avatar
  • 101
0 votes
1 answer
312 views

Unable to mount bucket to cloud run service using gcsfuse

I'm trying to mount a bucket to an existing cloud run service using volume mounts. The service runs just fine when there is no volume mount. I followed the examples and reviewed the documentation yet ...
TechnoWise's user avatar
0 votes
1 answer
42 views

Connect to Cloud SQL in another project and VPC using Cloud Run and Serveless VPC Access

I'm trying to access a cloud sql that is in another vpc with cloud run. I peered the vpc but I can't. What should I do so that cloud run sees cloud sql? cloud run is in project A and cloud sql is in ...
Marcelo Silva 's user avatar
0 votes
1 answer
41 views

Module not found when running a dockerized Nestjs app on Cloud run

I am trying to deploy my nestjs application on google cloud platform using Cloud run, I have implemented the continuous deployment method by connecting my github repository to cloud run, up to this ...
Alvaro J Vanegas's user avatar
0 votes
1 answer
47 views

OAuth2 "Invalid JWT Signature." error after a month for non-expired key

There is an app that acts like an API, deployed in Google Cloud Run as a Service. It was set up to require authentication: Another app calls this API using Google service account key for ...
Avorthoren's user avatar
0 votes
0 answers
33 views

Google Application Default Credentials on GCE/Cloud Run with impersonification/delegated API calls

I have trouble getting working ADC on Cloud Run with Google APIs like Directory or Gmail API which need to have target user set as createDelegated(targetUser) on credential. When I use ...
user3686724's user avatar
0 votes
0 answers
56 views

laravel reverb + next js deployed to Google Cloud Run is missing events?

in a test purpose, created below: Route::get('/test-item/{subId}', function ($subId) { // Retry logic: Retry 3 times with 3 seconds delay between attempts $maxRetries = 3; $retryDelay = 3; // in ...
Edmon's user avatar
  • 118
0 votes
1 answer
87 views

Google Cloud Run weird behaviour only for path /healthz

I'm deploying a container on Google Cloud Run, the container serves formally an Express server (NestJS). In my application I declared 2 routes (and I tried with several names). Every route responds to ...
OtaconKiko's user avatar
0 votes
0 answers
23 views

2nd gen linked bitbucket cloud repository returning same branch multiple times

I set up a connection towards my Bitbucket cloud workspace. 2 tokens: admin + read as requested. When I select a pattern, the result matches 5 times the same branch (yes, the branch is unique) Might ...
OtaconKiko's user avatar
1 vote
1 answer
49 views

Configure uptime check via trigger cloudbuild YAML

I'm trying to set this up during my deploy YAML (inline in the trigger). I can't find the right command to run I tried the gcloud.run.services.update, but it errors with "unrecognized arguments&...
OtaconKiko's user avatar
0 votes
0 answers
46 views

How to get ordered logs using GCP Pub/Sub

I am using the GCP Pub/Sub to get real-time google logs into my Python application. I have created a log Sink that routes specific cloud run job logs into a Pub/Sub topic and I am subscribing to that ...
72mins's user avatar
  • 90
0 votes
1 answer
33 views

ray.init() called, but ray client is already connected error in a cloud run

I have this code running in a Cloud Run container in GCP import os import sys import logging import json import time import ray import google.protobuf.json_format from flask import Flask, request, ...
Juan Lozano's user avatar
1 vote
1 answer
168 views

How to fetch real-time google cloud run job logs?

I am building a CI/CD kind of tool which is actually a web app. The stack is django-rest-framework on the backend and React (Vite) on the frontend. Currently the pipeline running and the actions from ...
72mins's user avatar
  • 90
0 votes
0 answers
51 views

Cloud Run Fails to Import Custom Package from Artifact Registry (Terraform Deployment)

I'm deploying a Cloud Run function using Terraform, and the function depends on a custom Python package that we uploaded to Google Artifact Registry using Twine. However, the deployment fails with the ...
Daniel's user avatar
  • 5,401
0 votes
1 answer
84 views

On Google Run how does a service know to be invoked by Google Pub/Sub if the endpoint has a different URL?

Hi this is mainly a Question on how Pub/Sub can invoke a service on google run while not having an identical subscription endpoint to the service. Going to post the image of a url of a Google Run URL ...
Jualston's user avatar

1
2 3 4 5
63