-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs] Causing errors when using --remote #5663
Comments
Thank you for opening your first issue here! 🛠 |
The error you're encountering is likely due to a misconfiguration in the Flyte setup, specifically related to the MinIO service endpoint. According to this GitHub issue, the error "Failed to establish a new connection" often occurs when the MinIO service is not accessible from the client. To resolve this, ensure that your admin:
endpoint: dns:///flyte.myexample.com:30081
authType: Pkce
insecure: true
logger:
show-source: true
level: 0
storage:
connection:
access-key: minio
auth-type: accesskey
disable-ssl: true
endpoint: http://minio.flyte.svc.cluster.local:9000
region: us-east-1
secret-key: miniostorage
type: minio
container: "my-s3-bucket"
enable-multicontainer: false Would you like more details on configuring Flyte or troubleshooting this issue? Sources: This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not. Mention @RunLLM to ask follow-up questions. See runllm.com for more! |
I have changed the config-sandbox.yaml file, but still getting the same error |
@Prageeth-Wickramaarachchi Could you share your config file? |
@pingsutw this is the contents of the two configuration files config.yaml config-sandbox.yaml |
@eapolinario can you help to resolve this? |
@Prageeth-Wickramaarachchi, could you remove the storage config and try it again? I think it should work. storage:
connection:
endpoint: http://localhost:30002/
access-key: minio
secret-key: miniostorage |
@pingsutw I tried by removing it when I run the command flytectl demo start it again change the config file |
@Prageeth-Wickramaarachchi , I couldn't repro this yet. Can you confirm that the k3s cluster is active and all pods in the |
@Prageeth-Wickramaarachchi how did you install Flyte? Is it just |
I have same issue, (1) (2)
(3) k8s is healthy (checked logs in Lens and everything is OK with MinIO)
(4) local IP translation is set
(5)
At first glance, it looks like the client is not passing credentials to MinIO as expected. |
Repro should be straight forward, e.g setup fresh k3s cluster and follow this guide. |
@akkolyth thanks for providing info. Could you try removing the |
Description
I am new to this, when I try to run this locally using following command following error occured.
pyflyte run --remote -p my-project -d development hello_world.py hello_world_wf
HTTPConnectionPool(host='minio.flyte.svc.cluster.local', port=9000): Max retries exceeded with url: /my-s3-bucket/my-project/development/VZ4A4GREPN5DV2WDST5LW4PCHQ%3D%3D%3D%3D%3D%3D/script_mode.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio%2F20240816%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240816T015639Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=content-md5%3Bhost%3Bx-amz-meta-flytecontentmd5&X-Amz-Signature=69c39070f6cdf8d10847564682eebdb2f149832fcb8098bee0b5e47b15bb2cc6 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2fcf713c0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: