Hi guys,
I’m trying to start temporal server (I’m using example https://github.com/temporalio/samples-server/tree/main/extensibility/authorizer to implement a custom authorizer) but I’m facing the following issue:
when I use the web ui the following error will be showed:
14 UNAVAILABLE: failed to connect to all addresses. method: getVersionInfo, req: undefined
By looking inside server log the only erro I see is:
{"level":"error","ts":"2021-12-09T16:31:46.090+0100","msg":"Error looking up host for shardID","service":"history","component":"shard-controller","address":"127.0.0.1:7234","error":"Not enough hosts to serve the request","operation-result":"OperationFailed","shard-id":1,"logging-call-at":"controller_impl.go:351","stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Error\n\t/home/administrator/go/pkg/mod/go.temporal.io/server@v1.13.1/common/log/zap_logger.go:142\ngo.temporal.io/server/service/history/shard.(*ControllerImpl).acquireShards.func1\n\t/home/administrator/go/pkg/mod/go.temporal.io/server@v1.13.1/service/history/shard/controller_impl.go:351"}
In configuration file I used this set for history:
history:
rpc:
grpcPort: 7234
membershipPort: 6934
bindOnLocalHost: true
I’m not able to understand the issue.
Please could you help me to understand?
thanks
Regards