使用gRPC响应服务的Google Cloud Endpoints Sample for Go失败

时间:2019-05-04 13:25:51

标签: go grpc google-cloud-endpoints-v2

我是使用云平台的新手。我试图使用go和grpc部署服务。我找到了本教程https://github.com/GoogleCloudPlatform/golang-samples/tree/master/endpoints/getting-started-grpc,在我必须致电该服务之前,一切都已成功完成。

当我使用客户端调用服务时,会出现此错误:

could not greet: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 35.199.74.154:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

我想知道是否有人可以帮助我解决这个问题。

0 个答案:

没有答案