3,144 questions
1
vote
1
answer
33
views
Go terraform unrecognized import path from GCP Artifact Registry
I get an error when trying to download private go dependencies from artifact registry via terraform:
│ Error: Error waiting to create function: Error waiting for Creating function: Error code 3, ...
Advice
0
votes
0
replies
22
views
Google Cloud Run job needs extra disk space
In the app I’m building, I want to run ml inference with Google cloud run jobs. The problem I’m having is the size of the models. There are several models, the largest is 22GB, and the total size is ...
3
votes
0
answers
69
views
Cloud Run POST request fails with CORS preflight 405 (FastAPI backend)
I have a FastAPI backend deployed on Google Cloud Run and a Vite + React frontend. I am calling a POST endpoint /rag from the frontend.
The first problem is that Swagger UI in FastAPI is showing an ...
0
votes
0
answers
21
views
Listing the google cloudrun revision using command line problem
Previously, the following command works fine, but right now it returns 0 items (There are cloudrun revisions on the google cloud console web UI) ?
$ gcloud run revisions list
Listed 0 items.
0
votes
0
answers
67
views
Firebase Gen 2 Cloud Function (Node.js) Fails with PERMISSION_DENIED on Secret Manager Access despite Correct IAM
I am running a Firebase Gen 2 (Node.js) Cloud Function and attempting to access a secret from Secret Manager. Despite confirming all recommended IAM roles, the function execution fails with a ...
0
votes
1
answer
100
views
How to run nsjail on Google Cloud Run without prctl() errors?
Summary
I'm trying to deploy a Python code execution service using nsjail for sandboxing on Google Cloud Run, but nsjail fails with `prctl(PR_SET_SECUREBITS)` errors even with minimal configuration. ...
Advice
1
vote
0
replies
52
views
Billing during idle time
Service details
Scaling: Auto (Min: 0, Max: 1)
Billing: Request-based
the chrome browser was able to run during the idle time of the instance
app = Flask(__name__)
driver = None
@app.route("/&...
-1
votes
1
answer
111
views
Why is my outbound connection being refused?
I deployed the following app as a Google Cloud Run service:
package main
import (
"io"
"net/http"
)
func main() {
http.HandleFunc("/", func(w http....
0
votes
0
answers
87
views
Is it reasonable to use Cloud storage for async webhook processing on Cloud Run
I'm processing webhooks on Cloud Run (Django) that need async handling because processing takes 30+ seconds but the webhook provider times out at 30s.
Since Cloud Run is stateless and spins up per-...
0
votes
0
answers
78
views
Use Grpc-web with Cloud Endpoints gRPC for Cloud Run with ESPv2
I am creating a GRPC service that should be accessible from the web but have found no working guides for getting grpc-web to work with cloud-endpoints and ESPv2. I have used this guide to set ...
0
votes
0
answers
81
views
Google Cloud Run service fails to connect to Cloud SQL despite all correct configurations and successful network tests
I'm facing a persistent deployment issue with a standard n8n application on Cloud Run and would appreciate any insights. My service consistently fails to deploy, with the container exiting due to a ...
1
vote
0
answers
74
views
How to get geo location headers (country, region, city) in Cloud Run Gen2 like App Engine headers?
Previously, I was using Cloud Functions (Gen1), and I could access App Engine–specific headers such as:
X-Appengine-Country X-Appengine-Region X-Appengine-City X-Appengine-Citylatlong
These were ...
0
votes
0
answers
52
views
Cloud Run Worker Pools: secrets volume mount not working despite in docs?
I'm trying to use the new worker pools on cloud run. I need to volume mount some secrets (like I successfully do on jobs and services). According to the docs this is supported: https://cloud.google....
0
votes
1
answer
82
views
Environment Variables not getting picked
I am trying to deploy a Vite based react application on the cloud run through the github repo which uses the below docker file. Although I have kept environment variable in the deployment ...
0
votes
1
answer
56
views
Cloud Run Spring Boot App fails to connect to Cloud SQL (PostgreSQL) via Proxy: Connection refused [closed]
I'm deploying a Spring Boot application ( forestplus-back ) to Google Cloud Run ( europe-southwest1 ) and trying to connect it to a Cloud SQL PostgreSQL instance ( forsest-plus-db , also in europe-...