Alykhan Tejani
01/02/2024, 7:38 PMImageSpec
example using the flytectl demo start
cluster and the local docker registry. When I try to build my image I'm getting the following error:
http: server gave HTTP response to HTTPS client\n'
I was following steps here https://github.com/flyteorg/flytesnacks/pull/1001/files#diff-561282794975e27f309bfc7785042fff3c3861109b31b1e4385cb7d18e0b95b6 to start buildkitd and set envd to use the local registryr. Has anyone had this issue before?Alykhan Tejani
01/02/2024, 7:40 PMpandas_image_spec = ImageSpec(
base_image="<http://ghcr.io/flyteorg/flytekit:py3.8-1.6.0|ghcr.io/flyteorg/flytekit:py3.8-1.6.0>",
packages=["pandas", "numpy"],
registry="172.17.0.3:30000")
Kevin Su
01/02/2024, 7:47 PMAlykhan Tejani
01/02/2024, 7:48 PMKevin Su
01/02/2024, 7:48 PMAlykhan Tejani
01/02/2024, 7:50 PMdial tcp 127.0.0.1:30000: connect: connection refused\n
I changed my ImageSpec Registry to localhost:30000
as well as the envd bootstrap --registry localhost:30000 --use-http
commandAlykhan Tejani
01/02/2024, 7:50 PMKevin Su
01/02/2024, 8:43 PMAlykhan Tejani
01/02/2024, 9:56 PMKevin Su
01/02/2024, 9:58 PMAlykhan Tejani
01/02/2024, 10:00 PMdial tcp 127.0.0.1:30000: connect: connection refused\n'
Kevin Su
01/02/2024, 10:04 PMKevin Su
01/02/2024, 10:34 PMenvd context create --name flyte-sandbox --builder tcp --builder-address localhost:30003 --use
L godlike
01/02/2024, 10:41 PMenvd context ls
to check if your setting is correct.Alykhan Tejani
01/03/2024, 8:32 AMAlykhan Tejani
01/03/2024, 8:45 AMFailed with Unknown Exception <class 'Exception'> Reason: failed to run command envd build --path /tmp/flyte-96a_n1vh/sandbox/local_flytekit/cf34c3c907fdbc269aff15229d3bd6c4 --platform linux/amd64 --output type=image,name=localhost:30003/flytekit:d24uVLQEr2GwW_vG9HrMAA..,push=true with error b'error: failed to push localhost:30003/flytekit:d24uVLQEr2GwW_vG9HrMAA..: failed to do request: Head "<http://localhost:30003/v2/flytekit/blobs/sha256:00168748a4c817f49bf47994065927cc5aea59397938da1cd8538b63b57997ff>": net/http: HTTP/1.x transport connection broken: malformed HTTP response "\\x00\\x00\\x06\\x04\\x00\\x00\\x00\\x00\\x00\\x00\\x05\\x00\\x00@\\x00"\n'
L godlike
01/03/2024, 9:30 AML godlike
01/03/2024, 9:30 AMDre Olgiati
01/10/2024, 2:39 PMDre Olgiati
01/10/2024, 2:39 PM➜ flows envd context ls
CONTEXT BUILDER BUILDER ADDR RUNNER RUNNER ADDR
default docker-container docker-container://envd_buildkitd docker
flyte-sandbox (current) tcp tcp://localhost:30003 docker
Dre Olgiati
01/10/2024, 2:40 PMDre Olgiati
01/10/2024, 2:41 PMhttp: server gave HTTP response to HTTPS client\n'
Dre Olgiati
01/10/2024, 2:41 PMDre Olgiati
01/10/2024, 2:41 PMtls: first record does not look like a TLS handshake