1 回答
- 最新
- 投票最多
- 评论最多
0
【以下的回答经过翻译处理】 您正在将目标组配置为HTTPS,这可能是您收到此错误的原因。您可以将目标组配置为HTTP,这样应该可以成功连接:
HubTargetGroup:
Type: "AWS::ElasticLoadBalancingV2::TargetGroup"
Properties:
Port: 50051
Protocol: HTTP #从HTTPS更改而来
ProtocolVersion: GRPC
HealthCheckEnabled: true
HealthCheckPath: "/grpc.health.v1.Health/Check"
HealthCheckPort: "traffic-port"
HealthCheckProtocol: HTTP
TargetType: ip
Matcher:
GrpcCode: 0
VpcId: !Ref VpcId
仅供参考,此博客文章与您描述的设置非常相似,但是通过控制台进行操作:https://aws.amazon.com/blogs/aws/new-application-load-balancer-support-for-end-to-end-http-2-and-grpc/
相关内容
- AWS 官方已更新 3 个月前