Temporal cli gives context deadline exceeded. Tctl does not
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- go, helm, kubernetes
- 领域
- api, cli, networking
调研方向
首先,使用 issue 中描述的 Kubernetes、Helm 和 Istio 设置,复现 temporal CLI 和 tctl 连接到同一 backend FQDN 的过程。比较它们的 gRPC 和 TLS 行为;完成的标准是 temporal 能够连接到 frontend,且不返回 context deadline exceeded。
由索引模型根据 Issue 内容生成。
描述
What are you really trying to do?
Use temporal to connect to the frontend via gRPC.
Describe the bug
Using temporal to talk to the frontend gives context deadline exceeded. Using tctl is fine.
Here it is working with tctl:

Here it is NOT working with temporal:

It is going to the SAME backend FQDN. I am showing env to illustrate that I do not have any TEMPORAL_ env vars set.
Minimal Reproduction
Install temporal like how I did on Kubernetes of 1.33.3-gke.1136000
helm install temporal temporalio/temporal --version 0.65.0
Install istio for ingress. DO NOT add the sidecar injection into the namespace. We do not want the mesh feature. Ingress only.
./istioctl install --set profile=minimal -y
Set up ingress gateway:
helm upgrade --install istio-ingressgateway --namespace istio-system istio-official/gateway --version 1.27.0 --values ingress-gateway.yaml
My ingress-gateway.yaml looks like this:
name: istio-ingressgateway
service:
loadBalancerIP: $MY_INTERNAL_IP
annotations:
cloud.google.com/load-balancer-type: Internal
networking.gke.io/internal-load-balancer-subnet: internal1
ports:
- name: status-port
port: 15021
protocol: TCP
targetPort: 15021
- name: http2
port: 80
protocol: TCP
targetPort: 80
- name: https
port: 443
protocol: TCP
targetPort: 443
- name: temporal
port: 7233
protocol: TCP
targetPort: 7233
autoscaling:
maxReplicas: 10
targetCPUUtilizationPercentage: 75
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
memory: 1Gi
cpu: "1"
Once it is up (you will need to have your TLS certs) for Gateway and Virtualservice:
gateways:
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: web-temporal-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers:
- hosts:
- web-temporal.mycompany.com
port:
name: temporal-mutual
number: 443
protocol: HTTPS
tls:
credentialName: istio-ingressgateway-tls
mode: SIMPLE
---
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: backend-temporal-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers:
- hosts:
- backend-temporal.mycompany.com
port:
name: backend-temporal-mutual
number: 7233
protocol: HTTPS
tls:
credentialName: istio-ingressgateway-tls
mode: MUTUAL
Environment/Versions
- OS and processor: M1 Mac 15.6.1
- Temporal Version: 1.28.1
- Using Kubernetes
Additional context
tctl version 1.18.0
temporal version 1.4.1 (Server 1.28.0, UI 2.39.0)
- 主要语言
- Go
- 星标
- 390
- 派生
- 123
- 平均合并
- 2 天 9 小时
- 30 天内合并 PR
- 13
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
temporalio/cli 的其他 Issue
-
enhancement
难度 1/5 1 小时以内 新手友好度 70/100
temporalio/cli#776 ·
维护者通常 1 天内回复
-
[Feature Request] Option to disable metrics in server start-dev可能已有人在做 @shafiktanbir 于 11 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 67/100
temporalio/cli#1274 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 58/100
temporalio/cli#1249 · 1 条评论 ·
维护者通常 1 天内回复
-
[Feature Request] Decode workflow histories concurrently with remote codec servers可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭enhancement
难度 4/5 3-5 天 新手友好度 65/100
temporalio/cli#1193 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 38/100
temporalio/cli#1178 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
seriousm4x/UpSnap#1786 ·
-
bug feedback ui/ux
难度 2/5 1-3 小时 新手友好度 67/100
peasant-labs/peasant#1307 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
connectrpc/conformance#1211 ·
维护者通常 1 天内回复
-
bug effort:s impact:med raised-by:desk risk:low
难度 2/5 1-3 小时 新手友好度 75/100
medici-finance/assay#8342 · 1 条评论 ·
维护者通常 1 天内回复
-
hardening
难度 2/5 1-3 小时 新手友好度 82/100
inference-sim/inference-sim#2821 ·
维护者通常 1 天内回复