pyflyte run failing with below error code Failed w...
# flytekit
v
pyflyte run failing with below error code Failed with Unknown Exception <class 'RuntimeError'> Reason: Failed to get signed url for script_mode.tar.gz, reason: SYSTEMUnknown error=None, cause=<_InactiveRpcError of RPC that terminated with: status = StatusCode.UNKNOWN details = "Received http2 header with status: 0" debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"Received http2 header with status: 0", grpc_status:2, created_time:"2024-07-23T012309.614250271+05:30"}" How should i debug this ?? any inputs ?
a
@victorious-jelly-28729 I guess we'll need a little more info to help you better • How did you install Flyte? • Are you using SSL/TLS or self-signed certs? • Can you share your local
config.yaml
?
v
@average-finland-92144, I found the problem and resolved it. we were using kong as gateway for grpc, but didnt added proper annotations due to which grpc communication is broken. After adding required annotations in both ingress and service yaml everything is working :)
šŸ™ŒšŸ½ 1
šŸ™Œ 1
s
@victorious-jelly-28729 could you please share what did you configure?
v
@some-solstice-93243, sure give me a min i will share the required config
@some-solstice-93243 Ingress - under annotations add konghq.com/protocols: grpc,grpcs Service - under annotations add konghq.com/protocol: grpc Also i separated out grpc and http protocols into two different services.
s
@victorious-jelly-28729 thanks for answering! Regarding two separate services, do you mean that you have created a second service for flyteadmin?
v
yes