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

Subhash Kumar Singh

03/08/2024, 3:28 PM
Hello everyone, I am trying to build the flyte project but getting the error: "server gave HTTP response to HTTPS client" I am using
flyte-sandbox-buildkit
by envd context and hoping it will push the image to
flyte-sandbox-docker-registry
that comes as part of
flytectl demo start
. Please let me know if I am missing any configuration or prerequisite.
t

Troy Howard

03/08/2024, 4:38 PM
Hi! We've seen other users run into this before, but I don't see a solution posted. @Alykhan Tejani and @L godlike do you have any insight here? Did you ever get this working? If so, what did you do? reference: https://flyte-org.slack.com/archives/CP2HDHKE1/p1704224298173729
s

Subhash Kumar Singh

03/08/2024, 5:22 PM
Please, I appreciate your help
l

L godlike

03/09/2024, 1:13 AM
Can you help me try remote registry?
envd has bug for local registry months ago, (not because of flyte)
s

Subhash Kumar Singh

03/09/2024, 11:10 AM
@L godlike is it possible to use local insecure registry
l

L godlike

03/09/2024, 11:11 AM
I think maybe not, can test it next week
s

Subhash Kumar Singh

03/09/2024, 11:14 AM
Sure I will try to use remote registry, somehow in my setup is not allowed to push the image outside. I will check and let you know update
l

L godlike

03/09/2024, 11:26 AM
Ok, thank you!
It's doable in local registry
for insecure registry, I am not sure. Can you help me test this?
Copy code
"1. Install flytekitplugins-envd using: pip install flytekitplugins-envd\n"
"2. If you plan to use a local registry, ensure you create your envd context. For example:\n"
"envd context create --name flyte-sandbox --builder tcp --builder-address localhost:30003 --use"
and specify your local registry
for example somthing like this.
Copy code
ImageSpec(
    name="basic",
    registry="localhost:30000",
    packages=["pandas"],
    apt_packages=['git'],
)
s

Subhash Kumar Singh

03/11/2024, 1:41 PM
Hello @L godlike, tried using
flyte-sandbox-docker-registry
which comes as part of demo cluster but it dint work, any suggestion. If I understand correctly it is insecure registry
@L godlike could you please help, stuck here 🙂