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

Slow responses using Using Google Cloud Run, FastAPI and the Meta Whatsapp API

This is quite a sepcific problem but I'm wondering if anyone else has encountered it. I'm using the Whatsapp Cloud API (https://developers.facebook.com/docs/whatsapp/cloud-api/) for a question-answer chatbot. These messages are received by an LLM…
millsy
  • 362
  • 2
  • 3
  • 9
0
votes
0 answers

Terraform 403 forbidden error when deploying docker image to GCP artifact registry

For context, I am trying to deploy a containerized (via Docker) R application to GCP's cloud run service. As part of my stack, I wanted to use Terraform to manage and provision all necessary infrastructure. I am running into a 403 forbidden error…
0
votes
1 answer

Terraform - replace bunch of blocks with for_each

Problem looks like very trivial but unfortunatelly I was not able to find solution. So, I'm reading kv2 secret from vault and creating google cloudrun service by google_cloud_run_service resource. I want to dynamically inject entire secret fetched…
0
votes
1 answer

Best way to add environment variables to an Angular app during Google Build?

I am new to Angular and deployment in general. I use Google Build and Google Run to build and deploy an Angular app. I've set up a trigger for continuous development with a Cloud Build configuration file (yaml). When I push my code to the GitHub…
0
votes
0 answers

Google cloud run egress traffic to cloud VPN

I'm tryinng to call an api that is only reachable through my VPN, i setup a VPC connector but i think my nat is redirecting it to the internet intead of the vpn, Is there any way to route the egress traffic from cloud run to my cloud VPN? VPN…
0
votes
0 answers

Google Cloud Run - Cloudinary Integration for File Upload

I have a node.js service running in google cloud using Cloud Run provided by them. Where I am using Cloudinary for File upload. It was working fine until recently but now it has stopped working. The code seems to work fine on local and Render (Cloud…
0
votes
1 answer

Best way to handle MySQL PROTOCOL_CONNECTION_LOST in Fastify - GCP hosted

I'm getting a couple of PROTOCOL_CONNECTION_LOST error codes in production for one of my projects when running SQL queries. What is the best way to handle this in Fastify? I've searched Stackoverflow but there doesn't appear to be definitive answer…
Dally
  • 1,281
  • 4
  • 18
  • 37
0
votes
0 answers

How to follow PoLP with a cloud run application and multiple services without tight coupling

Imagine the following situation: We have a gcp cloud run backend application running. Authentication is required and the ingress is set to "Internal + Load Balancing". Other services are accessing the application via REST. Each service has it's…
0
votes
1 answer

Google Cloud Functions: Error when migrating a Gen1 to Gen2 function

I am trying to move a test function from Gen1 to Gen2. I deleted it through the console, and used the following command (through Github actions) to deploy. I get the error at the bottom, which doesn't make sense since I'm not specifying any memory…
0
votes
0 answers

Latency between 2 Google Cloud run Instances

I have 2 Google Cloud run instances communicating using REST API calls. One micro-service is in NodeJS (lets call this as MS1) and the other is in python (lets call this as MS2). MS1 uses axios POST call to send the data to MS2, upon reception of…
KK2491
  • 451
  • 1
  • 8
  • 25
0
votes
0 answers

Jenkins repeating initial setup again and again

Jenkins is being run by me in Google Cloud Run, a serverless service, with a configuration of 8 GB and 2 CPU. I'm having trouble with the initial setup. I can run Jenkins's initial setup and sign in to the dashboard, but after a short while, it…
0
votes
0 answers

My TFIve Model is deployed as a Flask API for training. It enters the model, as per my logging, but do not complete it! Works fine in local and docker

I have designed my ML model app as a Flask API. I am running my TFive model in "/train" route. In my local, I have dockerized my application and its working fine. While deployed as a Cloud Run in GCP, It enters the model training function, but do…
0
votes
0 answers

Puppeteer can run on Docker locally, but not on Cloud Run (Puppeteer + Cloud Run)

I am running Puppeteer to convert a template HTML to PDF to be saved on Google Cloud Storage. This is my code snippet to do that. const puppeteer = require('puppeteer') const fs = require('fs') const path = require('path') static async…
Richard
  • 7,037
  • 2
  • 23
  • 76
0
votes
2 answers

Unable to connect to Private CloudSql postgres DB from CloudRun

I have followed the steps mentioned in the below stackoverflow url and tried to connect my java application which is running on CloudRun to CloudSQL postgres DB. Stackoverflow reference But getting the below error when the db has private…
0
votes
1 answer

Python session on Google Cloud Run automatically logs out

I am running a website on Google Cloud Run that I have written in Python. The site runs in a Docker image that uses python:latest. The code works, however after some time the user is logged out and I dont know why the session does not…
Europa
  • 974
  • 12
  • 40