thingsboard / thingsboard-ce-k8s

ThingsBoard Community Edition Kubernetes scripts and docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TB Edge won't connect to TB deployed in GKE

rbarberop opened this issue · comments

I've deployed TB in GKE and TB Edge following the instructions on the official website, but Edge won't connect:

2022-11-18 16:53:28,542 [main] INFO o.t.edge.rpc.EdgeGrpcClient - [287b07ab-d594-49c1-04e1-1f8b4da7dc5b] Sending a connect request to the TB!
2022-11-18 16:53:52,097 [cloud-manager-reconnect-52-thread-1] INFO o.t.s.s.cloud.CloudManagerService - Trying to reconnect due to the error: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception!
2022-11-18 16:53:52,105 [cloud-manager-reconnect-52-thread-1] INFO o.t.edge.rpc.EdgeGrpcClient - [287b07ab-d594-49c1-04e1-1f8b4da7dc5b] Sending a connect request to the TB!
2022-11-18 16:53:55,097 [cloud-manager-reconnect-52-thread-1] INFO o.t.s.s.cloud.CloudManagerService - Trying to reconnect due to the error: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception!

I suspect that it has to be with the deployment config files, since tb-node container defines port 7070, but then there is no service listening on that port. only 8080.

https://github.com/thingsboard/thingsboard-ce-k8s/blob/master/gcp/microservices/tb-services.yml#L135

Am I missing anything?