Open buddhika-ranasinghe opened 6 months ago
TL;DR; Replace 192.168.1.18:7933
with 192.168.1.18:7833
in your code.
In your code, you are using thrift2proto
layer which is a helper to communicate with cadence server using proto/grpc pair, but destination port is the default TChannel port in development.yaml, default gRPC port is set to 7833
Cadence CLI by default is using TChannel transport and your address matches your configuration, that's why cadence CLI command succeeds.
❯ ./cadence -h
<...>
--transport value, -t value optional argument for transport protocol format, either 'grpc' or 'tchannel'. Defaults to tchannel if not provided [$CADENCE_CLI_TRANSPORT_PROTOCOL]
<...>
Describe the bug I am getting the below error while running the Hello World code shared on the blog post.
Getting below error.
To Reproduce Is the issue reproducible?
Steps to reproduce the behavior: Run code below.
Expected behavior Expectation is to start worker
Started Worker. {"worker": "test-worker"}
Screenshots If applicable, add screenshots to help explain your problem.
Additional context I am not sure if this is because I am running this worker on a remote node and my backend is running on a different node. But I can check the domain existance with below command