Openshift rhc setup "The OpenShift server is not responding correctly."

Jakub picture Jakub · Dec 22, 2014 · Viewed 7.1k times · Source

I would like to setup access to my open shift application. I have rhc client installed and wanted to run

rhc setup

I'm asked about providing server hostname:

Enter the server hostname: |openshift.redhat.com|

so I enter the hostname of my application: http://blog-trampkiwpodrozy.rhcloud.com

Unfortunately, I'm getting the following error message:

The OpenShift server is not responding correctly. Check that 'http://blog-trampkiwpodrozy.rhcloud.com/broker/rest/api' is the correct URL for your server. The server may be offline or misconfigured

Any ideas how to deal with this?

Answer

user2879327 picture user2879327 · Dec 22, 2014

You need to accept the default server hostname, run rhc setup again and use openshift.redhat.com not your application url.