Error: Connection Info: [Endpoint: dns:///flyte.<myurl>.com, InsecureConnection?: false, AuthMode: Pkce]: rpc error: code = Unknown desc = unexpected HTTP status code received from server: 0 (); malformed header: missing HTTP content-type
I have flyte binary deployed and confirmed the HTTPS works (i can see https://flyte.<myurl>.com) in the browser. Any idea why I'd be getting such a status code?
g
gray-ocean-62145
08/08/2023, 1:31 PM
I had this issue, it was due to using AWS ALB - are you using that?
c
calm-zoo-68637
08/08/2023, 1:35 PM
nah I'm on Azure, my problem was that I was missing a grpcAnnotation:
Copy code
ingress:
create: true
commonAnnotations:
<http://nginx.ingress.kubernetes.io/ssl-redirect|nginx.ingress.kubernetes.io/ssl-redirect>: "false"
# TODO - once "ingressClassName" support lands, delete this
<http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: nginx
grpcAnnotations:
<http://nginx.ingress.kubernetes.io/backend-protocol|nginx.ingress.kubernetes.io/backend-protocol>: GRPC
👍🏽 1
👍 1
f
flat-exabyte-79377
08/11/2023, 9:32 PM
@calm-zoo-68637 I’m curious: do you also have issues running nginx without TLS? I’m in a dev environment and have to do port forwarding because nginx doesn’t seem to support HTTP2 without TLS
https://github.com/kubernetes/ingress-nginx/issues/6736
flat-exabyte-79377
08/11/2023, 9:34 PM
Even with a self-signed certificate it didn’t work for me (flytectl get projects). Wondering if I’m doing something wrong