Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

io.grpc.StatusRuntimeException: UNAVAILABLE: io exception #595

Open
pjonnlagadda opened this issue Mar 6, 2024 · 0 comments
Open

io.grpc.StatusRuntimeException: UNAVAILABLE: io exception #595

pjonnlagadda opened this issue Mar 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pjonnlagadda
Copy link

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

@pjonnlagadda pjonnlagadda added the bug Something isn't working label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant