Temporal cli gives context deadline exceeded. Tctl does not
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- go, helm, kubernetes
- 領域
- api, cli, networking
調査の方向性
まず、issue に記載されている Kubernetes、Helm、Istio のセットアップを使い、同じ backend FQDN に対する temporal CLI と tctl の接続を再現します。両者の gRPC と TLS の動作を比較します。完了条件は、temporal が context deadline exceeded を返さずに frontend に接続することです。
索引モデルが 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時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 65/100
temporalio/cli#1193 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 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 日以内に返信
-
Reformat test names for single-protocol tests to start with Protocol/, i.e. gRPC/ or Websocket/オープン
難易度 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 日以内に返信