Kittaneh
Kittaneh

Reputation: 38

Grails cloudfoundry plugin error

I am trying to connect to my account , every cf-* script I run , i face the following error :

error running script cf-info: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://api.cloudfoundry.com/users/*/tokens":api.cloudfoundry.com; nested exception is java.net.UnknownHostException: api.cloudfoundry.com

Upvotes: 0

Views: 118

Answers (1)

Scott Frederick
Scott Frederick

Reputation: 5105

"api.cloudfoundry.com" is the URL for the hosted Cloud Foundry v1, which no longer exists.

The Cloud Foundry Grails plugin has not been updated to support CF v2 yet. You should use the "cf" CLI to interact with CF instead of the Grails plugin scripts. See http://docs.cloudfoundry.com/docs/using/managing-apps/cf/index.html and http://docs.cloudfoundry.com/docs/using/deploying-apps/jvm/index.html.

Upvotes: 1

Related Questions