All Questions
35 questions
0
votes
0
answers
56
views
Google Cloud HTTP target task - How to validate OIDC token in the task handler
I'm using this sample code to create an HTTP target task that has an OIDC token set on it:
import com.google.cloud.tasks.v2.CloudTasksClient;
import com.google.cloud.tasks.v2.HttpMethod;
import com....
0
votes
1
answer
106
views
Random 503 / 504 Errors in Google Cloud Run (Java)
We are currently running a Java 17 app on Cloud Run and have encountered an unusual issue. While the service usually operates smoothly, a small percentage of requests (both GET and POST) fail ...
0
votes
1
answer
423
views
Response body truncated. 504 timeout Google cloud
I have two services implemented on Cloud Run. In the first service, called 'A', I'm making a request to the second service, called 'B'. When I make a specific call, such as https://A/revisions/...
0
votes
1
answer
116
views
504 The request has been terminated because it has reached the maximum request timeout GCP
I have two Google Cloud Run services called 'A' that make client rest calls to another service 'B' to get information from a MongoDB database. The strange thing is that the request made https://A/...
1
vote
1
answer
1k
views
Google Cloud Run - Random 504 Http Errors
We're currently running a Java 11 application on Cloud Run with Jetty 10 and have encountered an unusual issue. While the service generally operates smoothly, we've noticed that a small fraction of ...
-1
votes
1
answer
160
views
How can I discover the GCP project my Cloud Run service is in?
I have a Java service running in Cloud Run. I have prod and stage GCP projects, and I want to be able to query other resources from the correct project at runtime, but having to add an environment ...
0
votes
1
answer
329
views
Google-cloud-run will not run Paketo Buildpacks built Springboot web image
I cannot run a spring-boot web image built with Paketo Buildpacks by spring-maven-plugin. Error says:
Deploying container to Cloud Run service [bff] in project [merchantloans] region [us-central1]
X ...
0
votes
0
answers
181
views
How to deploy java springboot project on google cloud run
I am trying to deploy java project as an API via github to google cloud run but I keep getting permission denied. Here is the error I keep getting:
*Buildpack": Failure: (ID: dc066188) executing ...
2
votes
1
answer
1k
views
Cloud Run Random restarts issue
I'm building a monitoring application on GCP. At the moment I have 3 microservices, built with Spring Boot. For the monitoring part, I have a scheduler microservice, that creates a dynamic cron ...
0
votes
1
answer
532
views
How I can deploy Quarkus on GCP?
I have a big problem, I want to send my backend to Google Cloud Run however, I get the following error when I follow this tutorial for the jvm part: https://quarkus.io/guides/deploying-to-google-cloud#...
0
votes
1
answer
904
views
Deploy a docker image on Google Cloud Run
I am trying to deploy a Java Socket application that will serve incoming requests on some port over TCP. The image is building fine and the container is running as expected locally.
However when ...
0
votes
2
answers
4k
views
How to upload files >32mb via Google Cloud Run
I implemented a Cloud Run process in Java with Spring Boot which consumes file uploads via HTTP. The uploaded files are sometimes over 32 MB in size. I know that 32mb is the fixed single-request limit ...
0
votes
1
answer
761
views
Failed to init Reactor's debug agent at org.springframework.boot.reactor.DebugAgentEnvironmentPostProcessor
I am using webflux and trying to host on GCP cloud run and getting the error below
java.lang.RuntimeException: Failed to init Reactor's debug agent
at org.springframework.boot.reactor....
2
votes
2
answers
783
views
Is there a way to monitor to Java app running in Docker container in Google Cloud Run with Java JMX Stackdriver plugin?
I'm trying to collect metrics with DropWizard metrics library and export them through JMX.
On Google Cloud Engine it's easy to export these metrics with JMX plugin for Stackdriver (https://cloud....
0
votes
0
answers
381
views
GCP Cloud Run service-to-service Authentication using multiple Token
I want to build a Cloud Run to Cloud Run communication and use this how-to:
https://cloud.google.com/run/docs/authenticating/service-to-service
I generate a id token and add them to the Authorization: ...