temporalio / temporalio/samples-java

io.grpc.StatusRuntimeException: UNAVAILABLE: io exception

オープン
#595 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug
主要言語
Java
スター
258
フォーク
189
平均マージ
6日 4時間
マージ済み PR(30日)
4

説明

When i try to connect temporal server from the worker class which is in my spring boot application i am getting below error message and worker is not able to connect with temporal server
i am using the below line to get the service stub

WorkflowServiceStubs service = WorkflowServiceStubs.newLocalServiceStubs();

io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
Caused by: io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: /xxx.x.x.x:7233

Both of my worker(spring boot application) and temporal server are deployed in my local Docker Desktop.
But if i launch both of them in locally (i.e not in Docker), i am able to connect each other and process the workflows.

Any clue on why only when i deployed this on docker and not in locally

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Start with the WorkflowServiceStubs.newLocalServiceStubs() call in the worker and compare its endpoint with the Docker deployment configuration. Run the worker and Temporal server together while checking connectivity to port 7233; done means the worker connects successfully and processes workflows in Docker.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, java, spring-boot
領域
backend, devops, networking
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。