Error: Connection Info: [Endpoint: dns:///<my-endpoint>, InsecureConnection?: true, AuthMode: ClientSecret]: rpc error: code = Unavailable desc = connection closed before server preface received
I’ve noticed the ingress I’ve set up by following the GCP instructions only exposes the console ports `8031033/TCP,44331779/TCP`… Does GRPC need another port?
t
tall-lock-23197
08/11/2023, 7:25 AM
@adventurous-van-8963, could you please search in https://discuss.flyte.org? When I searched for "connection closed before server preface received" error, I've come across a handful of threads.
👀 1
tall-lock-23197
08/11/2023, 7:26 AM
Let us know if you find the threads helpful.
a
adventurous-van-8963
08/14/2023, 11:34 AM
Found a solution by searching through the link above thanks!
For the record, I’ve changed the
admin:
# For GRPC endpoints you might want to use dns:///flyte.myexample.com
endpoint: dns:///<HOSTNAME>
authType: Pkce
insecure: false
insecureSkipVerify: true # only required if using a self-signed cert. Caution: not to be used in production
logger:
show-source: true
level: 6
storage:
type: stow
stow:
kind: google
config:
json: ""
project_id: <YOUR-GCP-PROJECT> # GCP Project ID
scopes: <https://www.googleapis.com/auth/devstorage.read_write>
container: <YOUR-GCS-BUCKET> # GCS Bucket Flyte is configured to use
Side note: the above works I’ve turned off the Cloudflare’s proxy