temporalio / temporalio/samples-java
io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 258
- Fork
- 189
- Merge trung bình
- 6 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 4
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker, java, spring-boot
- Lĩnh vực
- backend, devops, networking
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100