https://flyte.org logo
#ask-the-community
Title
# ask-the-community
d

Drew OConnor

08/17/2023, 6:24 PM
Hello community! Wondering if anyone has any insight into this error I'm seeing with the CLI:
Copy code
❯ flytectl get project --config=flyteconfig.yaml
Error: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: NO_ERROR
The error is:
NO_ERROR
😅
y

Yee

08/17/2023, 7:17 PM
paste the config?
d

Drew OConnor

08/17/2023, 7:32 PM
@Yee
Copy code
❯ cat flyteconfig.yaml
admin:
  endpoint: dns:///p-flyte-grpc.a.com:8089
  # endpoint: tcp///p-flyte.a.com:443
  insecure: true
  insecureSkipVerify: true
  authType: ClientSecret
  clientId: flytepropeller
  clientSecretEnvVar: FLYTE_CLIENTSECRET
console:
  endpoint: <http://p-flyte.a.com>
 ~
y

Yee

08/17/2023, 7:38 PM
why is it 8089?
add this too
Copy code
logger:
  show-source: true
  level: 5
maybe flytectl will print out a bit more.
d

Drew OConnor

08/17/2023, 7:52 PM
@Yee It's 8089 because this is setup on GKE and I'm exposing the grpc via an internal network load balancer on that port
Copy code
❯ flytectl get project --config=flyteconfig.yaml
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [storage] updated. No update handler registered.","ts":"2023-08-17T12:52:53-07:00"}
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [root] updated. No update handler registered.","ts":"2023-08-17T12:52:53-07:00"}
{"json":{"src":"viper.go:400"},"level":"debug","msg":"Config section [admin] updated. Firing updated event.","ts":"2023-08-17T12:52:53-07:00"}
{"json":{"src":"client.go:63"},"level":"info","msg":"Initialized Admin client","ts":"2023-08-17T12:52:53-07:00"}
{"json":{"src":"auth_interceptor.go:86"},"level":"debug","msg":"Request failed due to [rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: NO_ERROR]. If it's an unauthenticated error, we will attempt to establish an authenticated context.","ts":"2023-08-17T12:52:54-07:00"}
Error: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: NO_ERROR
{"json":{"src":"main.go:13"},"level":"error","msg":"rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: NO_ERROR","ts":"2023-08-17T12:52:54-07:00"}
 ~
5 Views