kestra-io / kestra-io/plugin-gcp

The timeout provided, PT0.000472574S, was too small. This stub requires a minimum remaining timeout of PT0.005S for each request.

Open
#534 0 comments 0 reactions 0 assignees View on GitHub
area/plugin good first issue
Dominant language
Java
Stars
15
Forks
27
Avg merge
1d 48m
Merged PRs (30d)
11

Description

### Describe the issue

I have a simple task that runs only 1 stored procedure

Image
Today, I got an error

```
Execution failed! Last error was: io.kestra.plugin.gcp.bigquery.BigQueryException: Bigquery Errors
[ - BigQueryError{reason=invalidQuery, location=q, message=domain: “cloud.helix.ErrorDomain” code: “CONNECTION_ERROR” debug_info: “[CONNECTION_ERROR] message=com.google.net.rpc3.client.RpcClientException: APPLICATION_ERROR;google.internal.cloud.resourcemanager/ResourceCache.GetProjectIdMapping;The timeout provided, PT0.000472574S, was too small. This stub requires a minimum remaining timeout of PT0.005S for each request.; RetryingStub: Previous backend response: RPC::DEADLINE_EXCEEDED: Deadline=299.235911615s; Channel_1684{reachable=true, securely_reachable=true, lameduck=false, channel_buffer=current buffer size: 0, max buffer size: 65536};AppErrorCode=4;StartTimeMs=1758270003534;unknown;Deadline(sec)=299.433784558;ResFormat=uncompressed;NoServerTime;LogBytes=256;Non-FailFast;EffSecLevel=none;ReqFormat=uncompressed;ReqID=c367dcb31f753cb5;GlobalID=0 errorProto=code: "CONNECTION_ERROR"\n\n\tat com.google.cloud.helix.common.Exceptions$Public.connectionError(Exceptions.java:773)\n\tat com.google.cloud.helix.common.Exceptions.fromCanonicalCode(Exceptions.java:1815)\n\tat com.google.cloud.helix.common.Exceptions.fromRpcCanonical(Exceptions.java:1798)\n\tat com.google.cloud.helix.common.Exceptions.fromRpcCanonical(Exceptions.java:1806)\n\tat com.google.cloud.helix.common.ElysiumHfaClient.translateRpcException(ElysiumHfaClient.java:350)\n\tat com.google.cloud.helix.common.ElysiumHfaClient.lambda$translatePossibleRpcException$0(ElysiumHfaClient.java:334)\n\tat java.base/java.util.Optional.map(Unknown Source)\n\tat com.google.cloud.helix.common.ElysiumHfaClient.translatePossibleRpcException(ElysiumHfaClient.java:334)\n\tat com.google.cloud.helix.common.ElysiumHfaClient.lambda$buildProjectReference$0(ElysiumHfaClient.java:305)\n\tat com.google.common.util.concurrent.AbstractCatchingFuture$AsyncCatchingFuture.doFallback(AbstractCatchingFuture.java:207)\n\tat com.google.common.util.concurrent.AbstractCatchingFuture$AsyncCatchingFuture.doFallback(AbstractCatchingFuture.java:194)\n\tat com.google.common.util.concurrent.AbstractCatchingFuture.run(AbstractCatchingFuture.java:136)\n\tat com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)\n\tat com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1007)\n\tat com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:767)\n\tat com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:516)\n\tat com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:108)\n\tat com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)\n\tat com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1007)\n\tat com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:767)\n\tat com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:516)\n\tat com.google.net.rpc3.client.AbstractRpcFuture.failure(AbstractRpcFuture.java:125)\n\tat com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher$1.runInContext(RpcStub.java:888)\n\tat io.grpc.Context.run(Context.java:536)\n\tat com.google.common.context.ContextCallback.runInInheritedContext(ContextCallback.java:56)\n\tat com.google.common.context.ContextRunnable.run(ContextRunnable.java:74)\n\tat com.google.common.context.ContextRunnable.runInContext(ContextRunnable.java:83)\n\tat io.grpc.Context.run(Context.java:536)\n\tat com.google.common.context.ContextCallback.runInInheritedContext(ContextCallback.java:56)\n\tat com.google.common.context.ContextRunnable.run(ContextRunnable.java:74)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\n\tSuppressed: java.lang.Exception: Including call stack from HelixFutures\n\t\tat com.google.cloud.helix.common.HelixFutures.getHelixException(HelixFutures.java:76)\n\t\tat com.google.cloud.helix.common.HelixFutures.get(HelixFutures.java:42)\n\t\tat com.google.cloud.helix.common.cdpush.ProjectConfigListener.getProjectConfigInfo(ProjectConfigListener.java:1004)\n\t\tat com.google.cloud.helix.common.cdpush.ProjectConfigClient.getProjectConfigInfo(ProjectConfigClient.java:38)\n\t\tat com.google.cloud.helix.server.rosy.GetRoutineImpl.process(GetRoutineImpl.java:70)\n\t\tat com.google.cloud.helix.server.rosy.AuthorizedStorageStubby.getRoutine(AuthorizedStorageStubby.java:219)\n\t\tat com.google.cloud.helix.proto2.Storage$ServiceParameters$64.handleBlockingRequest(Storage.java:4751)\n\t\tat com.google.cloud.helix.proto2.Storage$ServiceParameters$64.handleBlockingRequest(Storage.java:4749)\n\t\tat com.google.net.rpc3.impl.server.RpcBlockingApplicationHandler.handleRequest(RpcBlockingApplicationHandler.java:28)\n\t\tat com.google.net.rpc3.impl.server.RpcServerInterceptor2Util$RpcApplicationHandlerAdaptor.handleRequest(RpcServerInterceptor2Util.java:82)\n\t\tat com.google.net.rpc3.impl.server.AggregatedRpcServerInterceptors.interceptRpc(AggregatedRpcServerInterceptors.java:100)\n\t\tat com.google.net.rpc3.impl.server.RpcServerInterceptor2Util$InterceptedApplicationHandlerImpl.handleRequest(RpcServerInterceptor2Util.java:67)\n\t\tat com.google.prod.fireaxe.filters.FireaxeRpcServerInterceptorImpl.interceptRpc(FireaxeRpcServerInterceptorImpl.java:68)\n\t\tat com.google.net.rpc3.impl.server.RpcServerInterceptor2Util$InterceptedApplicationHandlerImpl.handleRequest(RpcServerInterceptor2Util.java:67)\n\t\tat com.google.cloud.helix.common.isolation.IsolationServerInterceptor.checkIsolationThrottlingAndContinueHandling(IsolationServerInterceptor.java:248)\n\t\tat com.google.cloud.helix.common.isolation.IsolationServerInterceptor.lambda$interceptRpc$1(IsolationServerInterceptor.java:176)\n\t\tat com.google.common.context.ContextRunnable.runInContext(ContextRunnable.java:83)\n\t\tat io.grpc.Context.run(Context.java:536)\n\t\tat com.google.common.context.ContextCallback.runInInheritedContext(ContextCallback.java:56)\n\t\tat com.google.common.context.ContextRunnable.run(ContextRunnable.java:74)\n\t\tat com.google.cloud.helix.common.isolation.IsolationServerInterceptor.lambda$interceptRpc$2(IsolationServerInterceptor.java:181)\n\t\tat com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.doTransform(AbstractTransformFuture.java:255)\n\t\tat com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.doTransform(AbstractTransformFuture.java:245)\n\t\tat com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:126)\n\t\t… 7 more\nCaused by: com.google.net.rpc3.client.RpcClientException: APPLICATION_ERROR;google.internal.cloud.resourcemanager/ResourceCache.GetProjectIdMapping;The timeout provided, PT0.000472574S, was too small. This stub requires a minimum remaining timeout of PT0.005S for each request.; RetryingStub: Previous backend response: RPC::DEADLINE_EXCEEDED: Deadline=299.235911615s; Channel_1684{reachable=true, securely_reachable=true, lameduck=false, channel_buffer=current buffer size: 0, max buffer size: 65536};AppErrorCode=4;StartTimeMs=1758270003534;unknown;Deadline(sec)=299.433784558;ResFormat=uncompressed;NoServerTime;LogBytes=256;Non-FailFast;EffSecLevel=none;ReqFormat=uncompressed;ReqID=c367dcb31f753cb5;GlobalID=0\n” at [sp_OverallSkanBP:6:10]}
]
```

### Environment

- Kestra Version: 0.24.4

Contributor guide

No contributing guide indexed for this repository

Research direction

The report names no repository file or test; begin by reproducing the single stored-procedure task on Kestra 0.24.4 and inspect the BigQuery failure at sp_OverallSkanBP:6:10. Compare the timeout and deadline details with the plugin's BigQuery execution path; done should be a confirmed root cause and a scoped fix or documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, java
Domain
backend, cloud, databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.