temporalio / temporalio/samples-java

io.grpc.StatusRuntimeException: UNAVAILABLE: io exception

Abierto
#595 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

bug
Lenguaje dominante
Java
Estrellas
258
Forks
189
Merge medio
6 d 4 h
PR fusionados (30 d)
4

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
docker, java, spring-boot
Área
backend, devops, networking
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.