Skip to content
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

bug: Fail to download dependency when use protocol 'git://' #587

Closed
zong-zhe opened this issue Jan 16, 2025 · 0 comments · Fixed by #589
Closed

bug: Fail to download dependency when use protocol 'git://' #587

zong-zhe opened this issue Jan 16, 2025 · 0 comments · Fixed by #589
Assignees
Labels
bug Something isn't working

Comments

@zong-zhe
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Use the following command to add dependency

kcl mod add --git git://github.com/kcl-lang/flask-demo-kcl-manifests.git --tag v0.1.0 

2. What did you expect to see? (Required)

Adding the dependency successfully.

3. What did you see instead (Required)

An error raised:

cloning 'git://github.com/kcl-lang/flask-demo-kcl-manifests.git' with tag 'v0.1.0'
error downloading 'git://github.com/kcl-lang/flask-demo-kcl-manifests.git?ref=v0.1.0': /usr/bin/git exited with 128: Cloning into '/var/folders/yt/9fs5v0ls7_q4kn7dq3k6nz3h0000gp/T/2114308516/git'...
fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=Operation timed out

4. What is your KCL components version? (Required)

The main branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant