简体   繁体   中英

Can't use bx plugin repo-add

When I try this:

bx plugin repo-add CF-Community http://plugins.cloudfoundry.org

I get:

FAILED
An error occurred when obtaining plug-ins from the repository.
Error response from server. Status code: 404; message: 404 page not 
found

Try again later.

I also tried:

bx plugin install http://plugins.cloudfoundry.org/cf-download

I don't think you can add cloud foundry plugins that way:

$ BLUEMIX_TRACE=true bx plugin repo-add CF-Community https://plugins.cloudfoundry.org

REQUEST: [2017-07-10T19:02:31+01:00]
GET /bx/list HTTP/1.1
Host: plugins.cloudfoundry.org
...

Notice the GET request is to GET /bx/list . This makes me think the bx plugin repositories are incompatible with cf plugin repositories.

You could try:

bx cf add-plugin-repo CF-Community https://plugins.cloudfoundry.org

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM