<#3129 [BUG] Uploading workflows during workflow t...
# flyte-github
a
#3129 [BUG] Uploading workflows during workflow tutorial has issues when running locally. Issue created by kannon92 Describe the bug When following https://github.com/flyteorg/flyte-conference-talks/tree/main/pydata-global-2022 for the local setup, I am getting grpc connection refused when uploading workflows. I am able to run the example workflow using python but I can't upload packages to my local flyte server.
Copy code
(flyte) Kevins-MBP:pydata-global-2022 kevinhannon$ flytectl register files --project flytesnacks --domain development --archive flyte-package.tgz --version v0
 --------------------------------------------------------------------- -------- ------------------------------------------------------- 
| NAME                                                                | STATUS | ADDITIONAL INFO                                       |
 --------------------------------------------------------------------- -------- ------------------------------------------------------- 
| /tmp/register3914406486/00_workflows.example_00_intro.get_data_1.pb | Failed | Error registering file due to rpc error: code =       |
|                                                                     |        | Unavailable desc = connection error: desc =           |
|                                                                     |        | "transport: Error while dialing dial tcp [::1]:30081: |
|                                                                     |        | connect: connection refused"                          |
 --------------------------------------------------------------------- -------- ------------------------------------------------------- 
1 rows
Error: Connection Info: [Endpoint: localhost:30081, InsecureConnection?: true, AuthMode: Pkce]: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp [::1]:30081: connect: connection refused"
{"json":{"src":"main.go:13"},"level":"error","msg":"Connection Info: [Endpoint: localhost:30081, InsecureConnection?: true, AuthMode: Pkce]: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp [::1]:30081: connect: connection refused\"","ts":"2022-12-03T11:02:04-05:00"}
Expected behavior I expect that my workflows are uploaded and I can view them in the UI. Additional context to reproduce
uname -a
Darwin Kevins-MBP 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 004726 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T8101 arm64 Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte