Hi folks! Just getting started with the Flyte 2 De...
# flyte-v1-support
b
Hi folks! Just getting started with the Flyte 2 Devbox, I'm able to register and run tasks without issue, however when I try to serve an application I'm getting a DNS error when the bundle is being downloaded from RustFS:
Copy code
GenericError: Generic S3 error: Error performing HEAD <http://rustfs.flyte:9000/flyte-data/uploads/flytesnacks/development/UP7YFHXZHWAKZEMGOQV4VUZJFI%3D%3D%3D%3D%3D%3D/fasted9093529269a3674ea395c464883d33.tar.gz> in 18.744430729s, after 3 retries, max_retries: 3, retry_timeout: 180s  - HTTP error: error sending request

Debug source:
Generic {
    store: "S3",
    source: RetryError(
        RetryErrorImpl {
            method: HEAD,
            uri: Some(
                <http://rustfs.flyte:9000/flyte-data/uploads/flytesnacks/development/UP7YFHXZHWAKZEMGOQV4VUZJFI%3D%3D%3D%3D%3D%3D/fasted9093529269a3674ea395c464883d33.tar.gz>,
            ),
            retries: 3,
            max_retries: 3,
            elapsed: 18.744430729s,
            retry_timeout: 180s,
            inner: Http(
                HttpError {
                    kind: Connect,
                    source: reqwest::Error {
                        kind: Request,
                        source: hyper_util::client::legacy::Error(
                            Connect,
                            ConnectError(
                                "dns error",
                                Custom {
                                    kind: Uncategorized,
                                    error: "failed to lookup address information: Name or service not known",
                                },
                            ),
                        ),
                    },
                },
            ),
        },
    ),
}
I've tried deleting and restarting the Devbox but it doesn't seem to help. I'm just using the Plain Python Server example from here - https://www.union.ai/docs/v2/flyte/user-guide/build-apps/single-script-apps/#plain-python-http-server
f
cc @square-magazine-5075 / @echoing-account-76888 do you guys know
is the dns correct?
cc @wide-vegetable-51116 fyi
e
Hi @breezy-plumber-33737, which version are you using? Let me try on my side
I'm getting the same error, looking into it
Seems like the rustfs endpoint is incorrect, should be
<http://rustfs-svc.flyte:9000>
f
Nary this is a config and probably wrong for apps today
e
yup! just update the helm and trying. Will have a PR out
b
Ah I suspected as much, but I'm quite new to K8s so wasn't sure which name was supposed to line up. That's awesome, thanks for the quick fix!
🙌 2
Sweet, I started the Devbox with the latest image and it's working! Just a small follow-up, is there any support for exposing hosted apps to other servers or do I just need to run a reverse proxy for now?
m
are you running DevBox as a "server" of sorts?
IE - on a large EC2 instance?
b
Indeed I am, not on EC2 but a large GPU enabled VM in our local environment for testing purposes. The server is headless so I need a way to access deployed applications from other servers on our internal network
👍 1
I wasn't sure if that would be supported by the DevBox, or if I need to wait for the production backend, in which case I just need some workaround to continue prototyping our use cases