Hi, I currently encountered issues when trying to ...
# ask-the-community
w
Hi, I currently encountered issues when trying to run flyte. I followed the guide’s section “How to setup dev environment for flyteidl, flyteadmin, flyteplugins, flytepropeller, datacatalog and flytestdlib?” from Contributing to Flyte - Flyte After executing
Copy code
POD_NAMESPACE=flyte ./flyte start --config flyte-single-binary-local.yaml
I kept failing to connect to the flyte console (http://localhost:30080/console), which displays error message “`upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: delayed connect error: 111`" when trying to connect from browser. Below is a fraction of the output logs from flyte start:
Copy code
{"json":{"src":"entrypoint.go:56"},"level":"info","msg":"Started propeller webhook","ts":"2024-02-07T02:25:48+08:00"}
{"json":{"src":"composite_workqueue.go:88"},"level":"debug","msg":"Subqueue handler batch round","ts":"2024-02-07T02:25:48+08:00"}
{"json":{"src":"composite_workqueue.go:98"},"level":"debug","msg":"Dynamically configured batch size [-1]","ts":"2024-02-07T02:25:48+08:00"}
{"json":{"src":"composite_workqueue.go:129"},"level":"debug","msg":"Exiting SubQueue handler batch round","ts":"2024-02-07T02:25:48+08:00"}
{"json":{"src":"composite_workqueue.go:88"},"level":"debug","msg":"Subqueue handler batch round","ts":"2024-02-07T02:25:49+08:00"}
{"json":{"src":"composite_workqueue.go:98"},"level":"debug","msg":"Dynamically configured batch size [-1]","ts":"2024-02-07T02:25:49+08:00"}
{"json":{"src":"composite_workqueue.go:129"},"level":"debug","msg":"Exiting SubQueue handler batch round","ts":"2024-02-07T02:25:49+08:00"}
{"json":{"src":"composite_workqueue.go:88"},"level":"debug","msg":"Subqueue handler batch round","ts":"2024-02-07T02:25:50+08:00"}
{"json":{"src":"composite_workqueue.go:98"},"level":"debug","msg":"Dynamically configured batch size [-1]","ts":"2024-02-07T02:25:50+08:00"}
{"json":{"src":"composite_workqueue.go:129"},"level":"debug","msg":"Exiting SubQueue handler batch round","ts":"2024-02-07T02:25:50+08:00"}
{"json":{"src":"composite_workqueue.go:88"},"level":"debug","msg":"Subqueue handler batch round","ts":"2024-02-07T02:25:51+08:00"}
I’m developing on WSL2, and I wonder if anyone has encountered similar issues before?
s
hey @L godlike, sorry for looping you in, but do you have any context here?
l
hi, @WCHsu did you start
flytectl demo start --dev
first?
w
@L godlike Yeah I did, the http://localhost:30080/console works fine when --dev wasn't specified.
l
if you want to use single binary mode
you have to use
dev
flag first
then cd flyte make compile; POD_NAMESPACE=flyte ./flyte start --config flyte-single-binary-local.yaml
w
@L godlike Yeah, I followed the guide but it seems not able to connect to the user console.
l
would you like to try this video?
I am the recorder

https://youtu.be/V-KlVQmQAjE?si=hvQjOH4j6TVX6Hn3

Actually I didn't face the problem you've met
and actually your logs are correct, I don't see anything weird