Description
I am unable to configure GRCP with TLS Security, I am attempting to use AWS load balancer notations and am able to connect using the secure_grcp: False flag, but adding annotations for TLS make it fail. I can’t find guidance anywhere on how to configure GRPC with TLS security.
Server Setup Information
- Weaviate Server Version: 1.25.6
- Deployment Method: Helm/k8s/AWS
- Multi Node? No
- Client Language and Version: Python v4
- Multitenancy?: No
Any additional Information
grpcService:
enabled: true
name: weaviate-grpc
ports:
- name: grpc
protocol: TCP
port: 50051
type: LoadBalancer
loadBalancerSourceRanges:
clusterIP:
annotations:
service. beta. kubernetes. io/aws-load-balancer-type: internal
service. beta. kubernetes. io/aws-load-balancer-internal: “true”
service. beta. kubernetes. io/aws-load-balancer-subnets: ${subnets}
I have tried adding the following to add TLS, and control the ALPN policy:
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: ${acm_certificate_arn}
service.beta.kubernetes.io/aws-load-balancer-alpn-policy: HTTP2Preferred
Error I receive with TLS cert on the end point:
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = “failed to connect to all addresses; last error: UNKNOWN: ipv4:10.219.217.106:50051: Cannot check peer: missing selected ALPN property.”
debug_error_string = “UNKNOWN:Error received from peer {created_time:“2024-07-24T14:18:48.657627534-07:00”, grpc_status:14, grpc_message:“failed to connect to all addresses; last error: UNKNOWN: ipv4:10.219.217.106:50051: Cannot check peer: missing selected ALPN property.”}”