I have deployed flyte binary helm chart and have e...
# ask-the-community
a
I have deployed flyte binary helm chart and have enabled ingress. when i try to register workflows I am getting the following errors. I am able to access the flyte console through my host name. I am also able to register workflows by port-forwarding. when my endpoint is endpoint: dns:///flyte.local
Copy code
Failed with Unknown Exception <class 'RuntimeError'> Reason: Failed to get signed url for fast49e1fe5d398711833031517ae9770090.tar.gz, reason: SYSTEM:Unknown: error=None, cause=<_InactiveRpcError of RPC that terminated with:
        status = StatusCode.UNAVAILABLE
        details = "failed to connect to all addresses; last error: INTERNAL: ipv4:192.168.9.14:443: Trying to connect an http1.x server"
        debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2024-06-01T02:16:06.238626131+05:30", grpc_status:14, grpc_message:"failed to connect to all addresses; last error: INTERNAL: ipv4:192.168.9.14:443: Trying to connect an http1.x server"}"
when my endpoint is endpoint: dns///flyte.local80
Copy code
Failed with Unknown Exception <class 'RuntimeError'> Reason: Failed to get signed url for fast49e1fe5d398711833031517ae9770090.tar.gz, reason: SYSTEM:Unknown: error=None, cause=<_InactiveRpcError of RPC that terminated with:
        status = StatusCode.UNKNOWN
        details = "Received http2 header with status: 308"
        debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"Received http2 header with status: 308", grpc_status:2, created_time:"2024-06-01T02:12:45.385602288+05:30"}"
Any help to debug this will be a great help
it worked once i manually added this annotation
<http://nginx.ingress.kubernetes.io/backend-protocol|nginx.ingress.kubernetes.io/backend-protocol>: "GRPC"
to the grpc ingress. not sure why it was not applied by helm
this was my values file
Copy code
ingress:
  # tls:
  #   - hosts:
  #     - "flyte.local"
  #     secretName: flytetls
  create: true
  ingressClassName: nginx
  httpAnnotations:
  <http://nginx.ingress.kubernetes.io/app-root|nginx.ingress.kubernetes.io/app-root>: /console
  grpcAnnotations:
  <http://nginx.ingress.kubernetes.io/backend-protocol|nginx.ingress.kubernetes.io/backend-protocol>: GRPC
  host: flyte.local
e
Cc: @David Espejo (he/him)
d
@Aswanth Krishnan I wonder if it has to do with indentation. If it's like what you show, most likely Helm won't apply the annotations correctly
a
Oh that might be the case. @David Espejo (he/him) do you use any tools to format and correct helm values? thanks you your inputs