# \#grpc

**URL:** https://community.temporal.io/tag/grpc/157.md

[Latest](https://community.temporal.io/latest.md) · [Categories](https://community.temporal.io/categories.md) · [Tags](https://community.temporal.io/tags.md)

---

## [Workflow or Activity polling fails due to a gRpc error - Not enough hosts to serve the request](https://community.temporal.io/t/workflow-or-activity-polling-fails-due-to-a-grpc-error-not-enough-hosts-to-serve-the-request/12186)

<div class="topic-metadata">

**Author:** [@karnati\_harish](https://community.temporal.io/u/karnati_harish)\
**Replies:** 6\
**Last updated:** [December 15, 2025, 10:14am UTC](https://community.temporal.io/t/workflow-or-activity-polling-fails-due-to-a-grpc-error-not-enough-hosts-to-serve-the-request/12186 "2025-12-15T10:14:22Z")

</div>

Hi, worker service in our application fails to come up properly and it fails while polling activity queue and workflow queue with gRPC errors: We are using java temporal-sdk version 1.0.7 with temporal server version 1…

---

## [ISSUE: Error: 13 INTERNAL: Received RST\_STREAM with code 2 (Internal server error)](https://community.temporal.io/t/issue-error-13-internal-received-rst-stream-with-code-2-internal-server-error/16459)

<div class="topic-metadata">

**Author:** [@kishore\_kumar](https://community.temporal.io/u/kishore_kumar)\
**Replies:** 3\
**Last updated:** [February 26, 2025, 1:06pm UTC](https://community.temporal.io/t/issue-error-13-internal-received-rst-stream-with-code-2-internal-server-error/16459 "2025-02-26T13:06:00Z")

</div>

Hey when we are trying to query workflows via code we are facing the following issue Error: 13 INTERNAL: Received RST\_STREAM with code 2 (Internal server error) Any idea, what is causing the issue

---

## [Temporal 101 with Java trouble executing first practice assignment](https://community.temporal.io/t/temporal-101-with-java-trouble-executing-first-practice-assignment/12517)

<div class="topic-metadata">

**Author:** [@ssivaprasad](https://community.temporal.io/u/ssivaprasad)\
**Replies:** 9\
**Last updated:** [June 17, 2024, 11:14pm UTC](https://community.temporal.io/t/temporal-101-with-java-trouble-executing-first-practice-assignment/12517 "2024-06-17T23:14:57Z")

</div>

I get the following runtime warning and error executing the first practice assignment. I am trying to start the Worker This is the command I execute. mvn compile exec:java -D"exec.mainClass"=“helloworkflow.HelloWorkfl…

---

## [Running into problems when setting RAILS\_ENV=production](https://community.temporal.io/t/running-into-problems-when-setting-rails-env-production/12731)

<div class="topic-metadata">

**Author:** [@pabss](https://community.temporal.io/u/pabss)\
**Replies:** 4\
**Last updated:** [September 4, 2024, 8:48pm UTC](https://community.temporal.io/t/running-into-problems-when-setting-rails-env-production/12731 "2024-09-04T20:48:04Z")

</div>

We have a rails app that uses temporal which we are moving to production and whenever we set RAILS\_ENV=production we are getting the following error: RuntimeError: grpc cannot be used before and after forking unless the…

---

## [Unable to add auth token for my grpc script](https://community.temporal.io/t/unable-to-add-auth-token-for-my-grpc-script/12136)

<div class="topic-metadata">

**Author:** [@Ramesh](https://community.temporal.io/u/Ramesh)\
**Replies:** 0\
**Last updated:** [May 16, 2024, 5:22am UTC](https://community.temporal.io/t/unable-to-add-auth-token-for-my-grpc-script/12136 "2024-05-16T05:22:38Z")

</div>

This is my code I need to oauth header for this - I have tried many ways but nothing worked package com.endpoints.exampletest import com.endpoints.examples.PE.{ Request} import com.github.phisgr.gatling.grpc.Predef.{g…

---

## [Struggling to get ingress working for frontend gRPC service](https://community.temporal.io/t/struggling-to-get-ingress-working-for-frontend-grpc-service/4018)

<div class="topic-metadata">

**Author:** [@Sam\_Sokolin](https://community.temporal.io/u/Sam_Sokolin)\
**Replies:** 9\
**Last updated:** [May 14, 2024, 11:34am UTC](https://community.temporal.io/t/struggling-to-get-ingress-working-for-frontend-grpc-service/4018 "2024-05-14T11:34:45Z")

</div>

I’ve deployed Temporal on K8s and I’m not able to connect to the frontend gRPC service from outside the cluster. The ingress I’ve set up works for the web service, but I can’t seem to get it to work for gRPC. I’m using t…

---

## [Temporal Workers not able to access Temporal Cluster deployed in HTTP based front door](https://community.temporal.io/t/temporal-workers-not-able-to-access-temporal-cluster-deployed-in-http-based-front-door/10929)

<div class="topic-metadata">

**Author:** [@Hanumesh](https://community.temporal.io/u/Hanumesh)\
**Replies:** 8\
**Last updated:** [February 14, 2024, 12:29pm UTC](https://community.temporal.io/t/temporal-workers-not-able-to-access-temporal-cluster-deployed-in-http-based-front-door/10929 "2024-02-14T12:29:36Z")

</div>

We are using temporal for Microservices orchestration and we have two different cluster environments Hashi based cluster (latest micro services) Legacy cluster (few legacy micro services) Temporal server is deployed i…

---

## [Closed Workflow Executions Request builder doesn't allow both status filter and type filter](https://community.temporal.io/t/closed-workflow-executions-request-builder-doesnt-allow-both-status-filter-and-type-filter/9251)

<div class="topic-metadata">

**Author:** [@saifxhatem](https://community.temporal.io/u/saifxhatem)\
**Replies:** 4\
**Last updated:** [August 21, 2023, 9:29am UTC](https://community.temporal.io/t/closed-workflow-executions-request-builder-doesnt-allow-both-status-filter-and-type-filter/9251 "2023-08-21T09:29:59Z")

</div>

I’m trying to get a list of Closed workflows that have failed, of a specific type of workflow, with a certain time filter. This is what I have: ListClosedWorkflowExecutionsRequest closedWorkflowExecutionsRequest = List…

---

## [Dynatrace's showing waiting time at GrpcRetryer class](https://community.temporal.io/t/dynatraces-showing-waiting-time-at-grpcretryer-class/7629)

<div class="topic-metadata">

**Author:** [@Pape](https://community.temporal.io/u/Pape)\
**Replies:** 3\
**Last updated:** [March 21, 2023, 8:01pm UTC](https://community.temporal.io/t/dynatraces-showing-waiting-time-at-grpcretryer-class/7629 "2023-03-21T20:01:34Z")

</div>

Hello, We are doing some performance testing sending workflow execution requests to a self-hosted temporal cluster using newUntypedWorkflowStub.startWorkflow(). Dynatrace is showing some waiting time and on the distrib…

---

## [Errors in frontend and hisotry](https://community.temporal.io/t/errors-in-frontend-and-hisotry/4171)

<div class="topic-metadata">

**Author:** [@madhu](https://community.temporal.io/u/madhu)\
**Replies:** 26\
**Last updated:** [April 9, 2022, 7:11am UTC](https://community.temporal.io/t/errors-in-frontend-and-hisotry/4171 "2022-04-09T07:11:17Z")

</div>

i see my frontend filled with these logs {"level":"error","ts":"2022-03-14T07:20:31.078Z","msg":"history client encountered error","service":"frontend","error":"sql: no rows in result set","service-error-type":"servicee…

---

## [gRPC health checks for the worker node and custom API creation](https://community.temporal.io/t/grpc-health-checks-for-the-worker-node-and-custom-api-creation/3769)

<div class="topic-metadata">

**Author:** [@ridwan.santoso](https://community.temporal.io/u/ridwan.santoso)\
**Replies:** 4\
**Last updated:** [March 18, 2022, 3:30pm UTC](https://community.temporal.io/t/grpc-health-checks-for-the-worker-node-and-custom-api-creation/3769 "2022-03-18T15:30:22Z")

</div>

Hi, We are doing testing for Temporal (in Openshift Pod) deactivation / termination and activation back to serve requests. Is there gRPC health checks for the worker node? I found this posting: Temporal Server Health …

---

## [io.grpc.StatusRuntimeException: UNKNOWN: shard closed](https://community.temporal.io/t/io-grpc-statusruntimeexception-unknown-shard-closed/3779)

<div class="topic-metadata">

**Author:** [@Vikas\_NS](https://community.temporal.io/u/Vikas_NS)\
**Replies:** 4\
**Last updated:** [January 21, 2022, 8:14pm UTC](https://community.temporal.io/t/io-grpc-statusruntimeexception-unknown-shard-closed/3779 "2022-01-21T20:14:16Z")

</div>

When ever we run performance test we observer the below error. Questions Could you please help us understand the cause of this error.? What should we scale to fix this? Unable to start the workflow:\\nio.tempora…

---

## [Rust SDK Starter](https://community.temporal.io/t/rust-sdk-starter/3117)

<div class="topic-metadata">

**Author:** [@tmacx](https://community.temporal.io/u/tmacx)\
**Replies:** 8\
**Last updated:** [December 1, 2021, 7:42am UTC](https://community.temporal.io/t/rust-sdk-starter/3117 "2021-12-01T07:42:59Z")

</div>

Is it possible to use the Rust SDK to add a starter to my application? I have a Go application and a Rust application but I would like to start the workflow on the go app from the rust end. How would I go about doing th…

---

## [Consume workflow in C#](https://community.temporal.io/t/consume-workflow-in-c/3490)

<div class="topic-metadata">

**Author:** [@Eswar\_Varanasi](https://community.temporal.io/u/Eswar_Varanasi)\
**Replies:** 8\
**Last updated:** [November 29, 2021, 12:12am UTC](https://community.temporal.io/t/consume-workflow-in-c/3490 "2021-11-29T00:12:09Z")

</div>

Hello Support, we are trying to consume workflows in C#, I dont see any direct support for C#.net for Temporal.io.Is there any REST apis I can use to consume them in c#.net.

---

## [executionContext using gRPC API](https://community.temporal.io/t/executioncontext-using-grpc-api/2825)

<div class="topic-metadata">

**Author:** [@tidharz](https://community.temporal.io/u/tidharz)\
**Replies:** 11\
**Last updated:** [August 31, 2021, 7:09pm UTC](https://community.temporal.io/t/executioncontext-using-grpc-api/2825 "2021-08-31T19:09:44Z")

</div>

Hi, Is there a way to maintain execution context for the workflow tasks, similar to the executionContext in SWF, and if so, how to read/write using the gRPC API? Thanks!

---

## [Terminating a completed run gRPC error code is NOT\_FOUND, why not ABORTED or FAILED\_PRECONDITION?](https://community.temporal.io/t/terminating-a-completed-run-grpc-error-code-is-not-found-why-not-aborted-or-failed-precondition/2565)

<div class="topic-metadata">

**Author:** [@adrien-layer](https://community.temporal.io/u/adrien-layer)\
**Replies:** 3\
**Last updated:** [July 19, 2021, 7:57pm UTC](https://community.temporal.io/t/terminating-a-completed-run-grpc-error-code-is-not-found-why-not-aborted-or-failed-precondition/2565 "2021-07-19T19:57:21Z")

</div>

Hi, At the moment understanding the NOT\_FOUND error raised when requesting a termination requires checking the workflow status before hand since it could also mean that the workflow is already completed. Is there a be…
