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

Plugin install by name fails, but succeeds by URL #189

Open
jaydoane opened this issue Oct 21, 2022 · 1 comment
Open

Plugin install by name fails, but succeeds by URL #189

jaydoane opened this issue Oct 21, 2022 · 1 comment

Comments

@jaydoane
Copy link

I was unable to install the container-registry (or any other) plugin directly, getting an error like:

❯ ibmcloud plugin install container-registry
Looking up 'container-registry' from repository 'IBM Cloud'...
Plug-in 'container-registry[cr] 1.0.2' found in repository 'IBM Cloud'
Attempting to download the binary file...
FAILED
Unable to download the plug-in binary from the URL https://download.clis.cloud.ibm.com/ibm-cloud-cli-plugin/container-registry/1.0.2/container-registry-darwin-arm64-1.0.2.
Error: Get "https://download.clis.cloud.ibm.com/ibm-cloud-cli-plugin/container-registry/1.0.2/container-registry-darwin-arm64-1.0.2": dial tcp [2600:1406:1400::b818:9a0a]:443: connect: no route to host
Try again later.

returned 1

Is it possible that it's trying to access this plugin via IPv6 and failing?

If I use the URL from the above error message however, plugin installation succeeds:

❯ ibmcloud plugin install https://download.clis.cloud.ibm.com/ibm-cloud-cli-plugin/container-registry/1.0.2/container-registry-darwin-arm64-1.0.2
Attempting to download the binary file...
 12.40 MiB / 12.40 MiB [======================================================================================================================================] 100.00% 10s
13000274 bytes downloaded
Installing binary...
OK
Plug-in 'container-registry 1.0.2' was successfully installed into /Users/jay/.bluemix/plugins/container-registry. Use '/usr/local/bin/ibmcloud plugin show container-registry' to show its details.

Any thoughts on why this might be happening?

@steveclay
Copy link
Collaborator

I'm unable to recreate the scenario. What version of the CLI are you using?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants