io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- docker, java, spring-boot
- Ambito
- backend, devops, networking
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Java
- Stelle
- 258
- Fork
- 189
- Merge medio
- 6g 4h
- PR unite (30g)
- 4
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di temporalio/samples-java
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
temporalio/samples-java#770 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
temporalio/samples-java#749 ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
temporalio/samples-java#687 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
temporalio/samples-java#635 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
temporalio/samples-java#606 · 4 reazioni ·
Tutte le issue di temporalio/samples-java
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
elastic/gradle-plugins#157 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
cryptomator/hub#497 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
johanhaleby/occurrent#1120 ·