temporalio / temporalio/samples-java
io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
Personne n'a encore pris cette issue.
- Langage dominant
- Java
- Étoiles
- 258
- Forks
- 189
- Merge moyen
- 6 j 4 h
- PR mergées (30 j)
- 4
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- docker, java, spring-boot
- Domaine
- backend, devops, networking
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100